Versions in this module Expand all Collapse all v2 v2.4.17 Dec 19, 2023 v2.4.16 Dec 19, 2023 v2.4.15 Dec 19, 2023 Changes in this version + const DefaultConfigPath + var ArchiveExtensions = map[string]string + func GetConfigPath(ctx *cli.Context) string + func PrintConfig(ctx *cli.Context) error + func ValidateConfig(cfg *Config) error + func ValidateObjectDiskConfig(cfg *Config) error + type APIConfig struct + AllowParallel bool + CACertFile string + CAKeyFile string + CertificateFile string + CompleteResumableAfterRestart bool + CreateIntegrationTables bool + EnableMetrics bool + EnablePprof bool + IntegrationTablesHost string + ListenAddr string + Password string + PrivateKeyFile string + Secure bool + Username string + type AzureBlobConfig struct + AccountKey string + AccountName string + BufferSize int + CompressionFormat string + CompressionLevel int + Container string + EndpointSchema string + EndpointSuffix string + MaxBuffers int + MaxPartsCount int + ObjectDiskPath string + Path string + SSEKey string + SharedAccessSignature string + Timeout string + UseManagedIdentity bool + type COSConfig struct + CompressionFormat string + CompressionLevel int + Debug bool + Path string + RowURL string + SecretID string + SecretKey string + Timeout string + type ClickHouseConfig struct + BackupMutations bool + CheckPartsColumns bool + CheckReplicasBeforeAttach bool + ConfigDir string + Debug bool + DiskMapping map[string]string + EmbeddedBackupDisk string + FreezeByPart bool + FreezeByPartWhere string + Host string + IgnoreNotExistsErrorDuringFreeze bool + LogSQLQueries bool + Password string + Port uint + RestartCommand string + RestoreAsAttach bool + Secure bool + SkipTableEngines []string + SkipTables []string + SkipVerify bool + SyncReplicatedTables bool + TLSCa string + TLSCert string + TLSKey string + Timeout string + UseEmbeddedBackupRestore bool + Username string + type Config struct + API APIConfig + AzureBlob AzureBlobConfig + COS COSConfig + ClickHouse ClickHouseConfig + Custom CustomConfig + FTP FTPConfig + GCS GCSConfig + General GeneralConfig + S3 S3Config + SFTP SFTPConfig + func DefaultConfig() *Config + func GetConfigFromCli(ctx *cli.Context) *Config + func LoadConfig(configLocation string) (*Config, error) + func (cfg *Config) GetArchiveExtension() string + func (cfg *Config) GetCompressionFormat() string + func (cfg *Config) SetPriority() error + type CustomConfig struct + CommandTimeout string + CommandTimeoutDuration time.Duration + DeleteCommand string + DownloadCommand string + ListCommand string + UploadCommand string + type FTPConfig struct + Address string + CompressionFormat string + CompressionLevel int + Concurrency uint8 + Debug bool + ObjectDiskPath string + Password string + Path string + SkipTLSVerify bool + TLS bool + Timeout string + Username string + type GCSConfig struct + Bucket string + ClientPoolSize int + CompressionFormat string + CompressionLevel int + CredentialsFile string + CredentialsJSON string + CredentialsJSONEncoded string + CustomStorageClassMap map[string]string + Debug bool + Endpoint string + ForceHttp bool + ObjectDiskPath string + ObjectLabels map[string]string + Path string + StorageClass string + type GeneralConfig struct + AllowEmptyBackups bool + BackupsToKeepLocal int + BackupsToKeepRemote int + CPUNicePriority int + DisableProgressBar bool + DownloadByPart bool + DownloadConcurrency uint8 + FullDuration time.Duration + FullInterval string + IONicePriority string + LogLevel string + MaxFileSize int64 + RemoteStorage string + RestoreDatabaseMapping map[string]string + RestoreSchemaOnCluster string + RetriesDuration time.Duration + RetriesOnFailure int + RetriesPause string + ShardedOperationMode string + UploadByPart bool + UploadConcurrency uint8 + UseResumableState bool + WatchBackupNameTemplate string + WatchDuration time.Duration + WatchInterval string + type S3Config struct + ACL string + AccessKey string + AllowMultipartDownload bool + AssumeRoleARN string + Bucket string + CompressionFormat string + CompressionLevel int + Concurrency int + CustomStorageClassMap map[string]string + Debug bool + DisableCertVerification bool + DisableSSL bool + Endpoint string + ForcePathStyle bool + MaxPartsCount int64 + ObjectDiskPath string + ObjectLabels map[string]string + PartSize int64 + Path string + Region string + RequestPayer string + SSE string + SSECustomerAlgorithm string + SSECustomerKey string + SSECustomerKeyMD5 string + SSEKMSEncryptionContext string + SSEKMSKeyId string + SecretKey string + StorageClass string + UseCustomStorageClass bool + type SFTPConfig struct + Address string + CompressionFormat string + CompressionLevel int + Concurrency int + Debug bool + Key string + ObjectDiskPath string + Password string + Path string + Port uint + Username string