Versions in this module Expand all Collapse all v1 v1.0.0 Jul 11, 2024 Changes in this version + const DefaultConcurrency + const DefaultDownloadChunkSize + const DefaultUploadChunkSize + const Mebibyte + var Version string + func BackupData(c *cli.Context) error + func BackupDirectory(c *cli.Context) error + func BackupDirectoryParallel(c *cli.Context) error + func BackupFile(c *cli.Context) error + func CleanupPlugin(c *cli.Context) error + func DeleteBackup(c *cli.Context) error + func DeleteDirectory(c *cli.Context) error + func GetAPIVersion(c *cli.Context) + func GetS3Path(folder string, path string) string + func InitializeAndValidateConfig(config *PluginConfig) error + func IsValidTimestamp(timestamp string) bool + func ListDirectory(c *cli.Context) error + func RestoreData(c *cli.Context) error + func RestoreDirectory(c *cli.Context) error + func RestoreDirectoryParallel(c *cli.Context) error + func RestoreFile(c *cli.Context) error + func SetupPluginForBackup(c *cli.Context) error + func SetupPluginForRestore(c *cli.Context) error + func ShouldEnableEncryption(encryption string) bool + type CustomRetryer struct + func (r CustomRetryer) ShouldRetry(req *request.Request) bool + type PluginConfig struct + ExecutablePath string + Options PluginOptions + type PluginOptions struct + AwsAccessKeyId string + AwsSecretAccessKey string + BackupMaxConcurrentRequests string + BackupMultipartChunksize string + BackupPluginVersion string + Bucket string + DownloadChunkSize int64 + DownloadConcurrency int + Encryption string + Endpoint string + Folder string + HttpProxy string + PgPort string + Region string + RemoveDuplicateBucket string + RestoreMaxConcurrentRequests string + RestoreMultipartChunksize string + UploadChunkSize int64 + UploadConcurrency int + type Scope string + const Coordinator + const Master + const Segment + const SegmentHost