diff --git a/packages/apps/clickhouse/Chart.yaml b/packages/apps/clickhouse/Chart.yaml index 859d30fe..b86fc70f 100644 --- a/packages/apps/clickhouse/Chart.yaml +++ b/packages/apps/clickhouse/Chart.yaml @@ -16,7 +16,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.4.1 +version: 0.5.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/packages/apps/clickhouse/README.md b/packages/apps/clickhouse/README.md index db746602..456371c9 100644 --- a/packages/apps/clickhouse/README.md +++ b/packages/apps/clickhouse/README.md @@ -1,5 +1,20 @@ # 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: +- https://itnext.io/restic-effective-backup-from-stdin-4bc1e8f083c1 + ## Parameters ### Common parameters @@ -13,9 +28,14 @@ ### Configuration parameters +| Name | Description | Value | +| ------- | ------------------- | ----- | +| `users` | Users configuration | `{}` | + +### Backup parameters + | Name | Description | Value | | ------------------------ | ---------------------------------------------- | ------------------------------------------------------ | -| `users` | Users configuration | `{}` | | `backup.enabled` | Enable pereiodic backups | `false` | | `backup.s3Region` | The AWS S3 region where backups are stored | `us-east-1` | | `backup.s3Bucket` | The S3 bucket used for storing backups | `s3.example.org/clickhouse-backups` | diff --git a/packages/apps/clickhouse/values.yaml b/packages/apps/clickhouse/values.yaml index 71c4bd78..8b230e04 100644 --- a/packages/apps/clickhouse/values.yaml +++ b/packages/apps/clickhouse/values.yaml @@ -23,6 +23,8 @@ storageClass: "" ## users: {} +## @section Backup parameters + ## @param backup.enabled Enable pereiodic backups ## @param backup.s3Region The AWS S3 region where backups are stored ## @param backup.s3Bucket The S3 bucket used for storing backups