constants

package
v0.10.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL