Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Base ¶
type Base struct {
// contains filtered or unexported fields
}
Base storage When `archivePath` is a directory, `fileKeys` stores files in the `archivePath` with directory prefix
type FTP ¶
type FTP struct { Base // contains filtered or unexported fields }
FTP storage
type: ftp path: /backups host: ftp.your-host.com port: 21 timeout: 30 username: password: tls: explicit_tls: no_check_certificate:
type FileItem ¶
type Local ¶
type Local struct { Base // contains filtered or unexported fields }
Local storage
type: local path: /data/backups
type Package ¶
type Package struct { FileKey string `json:"file_key"` FileKeys []string `json:"file_keys,omitempty"` CreatedAt time.Time `json:"created_at"` }
When `FileKeys` is not empty, `FileKey` is the directory
type PackageList ¶
type PackageList []Package
type S3 ¶
S3 - Amazon S3 storage
type: s3 bucket: vtsbackup-test region: us-east-1 path: backups access_key_id: your-access-key-id secret_access_key: your-secret-access-key max_retries: 5 storage_class: timeout: 300 force_path_style:
Click to show internal directories.
Click to hide internal directories.