package
0.5.3
Repository: https://github.com/vadv/clickhouse-backup.git
Documentation: pkg.go.dev

# Functions

Clean - removed all data in shadow folder.
CreateBackup - create new backup of all tables matched by tablePattern If backupName is empty string will use default backup name.
No description provided by the author
No description provided by the author
FormatBytes - Convert bytes to human readable string.
Freeze - freeze tables by tablePattern.
No description provided by the author
No description provided by the author
ListLocalBackups - return slice of all backups stored locally.
LoadConfig - load config from file.
No description provided by the author
NewBackupName - return default backup name.
PrintDefaultConfig - print default config to stdout.
PrintLocalBackups - print all backups stored locally.
PrintRemoteBackups - print all backups stored on remote storage.
PrintTables - print all tables suitable for backup.
No description provided by the author
No description provided by the author
.
Restore - restore tables matched by tablePattern from backupName.
RestoreData - restore data for tables matched by tablePattern from backupName.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

BackupTimeFormat - default backup name format.
BufferSize - size of ring buffer between stream handlers.
MetaFileName - meta file name.

# Variables

ErrNotFound is returned when file/object cannot be found.
ErrUnknownClickhouseDataPath -.

# Structs

No description provided by the author
No description provided by the author
BackupPartition - struct representing Clickhouse partition.
BackupTable - struct to store additional information on partitions.
No description provided by the author
ClickHouse - provide.
ClickHouseConfig - clickhouse settings section.
Config - config file format.
No description provided by the author
COSConfig - cos settings section.
GCS - presents methods for manipulate data on GCS.
GCSConfig - GCS settings section.
GeneralConfig - general setting section.
MetaFile - structure describe meta file that will be added to incremental backups archive.
RestoreTable - struct to store information needed during restore.
S3 - presents methods for manipulate data on s3.
S3Config - s3 settings section.
Table - ClickHouse table struct.

# Interfaces

RemoteFile - interface describe file on remote storage.
RemoteStorage -.

# Type aliases

BackupTables - slice of BackupTable.
RestoreTables - slice of RestoreTable.