Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultObjectsToKeep are the default number of objects to keep at the cloud provider bucket DefaultObjectsToKeep = 20 // SidecarBaseDir is the directory in which the sidecar puts backups or downloads backups to // this should be backed by a volume mount! SidecarBaseDir = "/backup" // BackupDir is the directory in the sidecar where the database backup contents to be archived live in BackupDir = SidecarBaseDir + "/upload/files" // UploadDir is the path where the backup files are archived in and uploaded to the backup provider UploadDir = SidecarBaseDir + "/upload" // RestoreDir is the directory in the sidecar where the database backup contents will be unarchived to RestoreDir = SidecarBaseDir + "/restore/files" // DownloadDir is the path where the backup archive will be downloaded to before it is being unarchived to the restore dir DownloadDir = SidecarBaseDir + "/restore" )
Variables ¶
View Source
var (
ErrBackupAlreadyInProgress = errors.New("a backup is already in progress")
)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.