Managed Clickhouse Service

How to restore backup:

find snapshot:

restic -r s3:s3.example.org/clickhouse-backups/table_name snapshots

restore:

restic -r s3:s3.example.org/clickhouse-backups/table_name restore latest --target /tmp/

more details:

Parameters

Common parameters

NameDescriptionValue
sizePersistent Volume size10Gi
logStorageSizePersistent Volume for logs size2Gi
shardsNumber of Clickhouse replicas1
replicasNumber of Clickhouse shards2
storageClassStorageClass used to store the data""
logTTLfor query_log and query_thread_log15

Configuration parameters

NameDescriptionValue
usersUsers configuration{}

Backup parameters

NameDescriptionValue
backup.enabledEnable pereiodic backupsfalse
backup.s3RegionThe AWS S3 region where backups are storedus-east-1
backup.s3BucketThe S3 bucket used for storing backupss3.example.org/clickhouse-backups
backup.scheduleCron schedule for automated backups0 2 * * *
backup.cleanupStrategyThe strategy for cleaning up old backups--keep-last=3 --keep-daily=3 --keep-within-weekly=1m
backup.s3AccessKeyThe access key for S3, used for authenticationoobaiRus9pah8PhohL1ThaeTa4UVa7gu
backup.s3SecretKeyThe secret key for S3, used for authenticationju3eum4dekeich9ahM1te8waeGai0oog
backup.resticPasswordThe password for Restic backup encryptionChaXoveekoh6eigh4siesheeda2quai0
resourcesResources{}
resourcesPresetSet container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if resources is set (resources is recommended for production).nano