Versions in this module Expand all Collapse all v0 v0.1.40 Jun 15, 2026 v0.1.39 Jun 14, 2026 Changes in this version + type BackupRecord struct + ActualSize int64 + Comment sql.NullString + CommentStr string + CreatedAt rfc3339time.Time + FileExists bool + ID int + InstanceName string + LocalLocation sql.NullString + LocalPath string + RemoteLocation sql.NullString + RemotePath string + Size int64 + Status string + Timestamp rfc3339time.Time + type BackupStore struct + func NewBackupStore(db *sqlx.DB, dataDir string) *BackupStore + func (s *BackupStore) ClearLocalLocation(backupID int) error + func (s *BackupStore) GetBackupByID(backupID int) (*BackupRecord, error) + func (s *BackupStore) ListAllBackups() ([]BackupRecord, error) + func (s *BackupStore) ListBackups(instanceName string) ([]BackupRecord, error) + func (s *BackupStore) RecordBackup(record *BackupRecord) error + func (s *BackupStore) RemoveLocalCopy(backupID int, instanceName string) error + func (s *BackupStore) RemoveRemoteCopy(backupID int, instanceName string) error + func (s *BackupStore) UpdateLocalLocation(backupID int, localLocation string) error + func (s *BackupStore) UpdateRemoteLocation(backupID int, remoteLocation string) error