Releases: Altinity/clickhouse-backup
Releases · Altinity/clickhouse-backup
v0.3.6
IMPROVEMENTS
- Support of the newest versions of ClickHouse was added (above 19.4.4.33)
v0.3.5
IMPROVEMENTS
- The 'list' command can print latest and penultimate of backup name. Now you can use the output of the 'list' command as parameters for another command.
For example, create new backup and upload diff:clickhouse-backup create clickhouse-backup upload --diff-from=$(clickhouse-backup list local penult) $(clickhouse-backup list local latest)
- The 'delete' command has been added. Now you can remove specific backups from local and s3.
clickhouse-backup delete local <backup_name> clickhouse-backup delete s3 $(clickhouse-backup list s3 penult)
v0.3.4
Added AWS IAM support
v0.3.3
BUG FIXES
- Bug because of which the newest backups are deleted instead of the oldest ones has been fixed
v0.3.2
BUG FIXES
- lz4 compression might cause error "lz4: invalid source or destination buffer too short". It was caused by bug in old version of github.com/pierrec/lz4. It was fixed. Please, check your backups on S3.
DEPREСATIONS
- 'dry-run' flag and 'tree' strategy were marked as deprecated
IMPROVEMENTS
- Performance of uploading and downloading was improved. See comparison table of uploading of 30GB below
+-----+---------------------+---------------------+
| | v0.3.1 | v0.3.2 |
+-----+---------------------+---------------------+
| tar | Time: 45m:58s | Time: 14m:34s |
| | Disk Usage: 70% | Disk Usage: 58% |
| | Network Util: 100Mb | Network Util: 300Mb |
+-----+---------------------+---------------------+
| lz4 | Time: 28m:47s | Time: 26m:35s |
| | Disk Usage: 30% | Disk Usage: 26% |
| | Network Util: 120Mb | Network Util: 130Mb |
+-----+---------------------+---------------------+
- Now progress bar shows counts in bytes
v0.3.1
Bug fixed:
- Some directories were being created with a wrong mode, it was fixed
v0.3.0
- Added incremental backup support for 'archive' strategy.
Use flag--diff-from
for uploading only differences between backups, like:clickhouse-backup upload <backup_name> --diff-from=<old_backup_name>
. On downloading clickhouse-backup detects required backups and downloads their automatically. - Backup format has been changed.
- Added support of environment variables. Now any option in config file can be overwritten by ENV.
v0.2.0
The 'archive' strategy was rewritten
- now tar packaging is being executing during uploading and extracting during downloading in memory
- the support of the 5 compressing formats: 'tar', 'lz4', 'bzip2', 'gzip', 'sz', 'xz' was added
- the command 'extract' was removed as it is not necessary yet
- now the command 'create' supports backup name argument
- added possibility to specify tables list for skipping in config file
v0.1.0
BROKEN CHANGES
- use 'create' instead 'freeze' now
- added commands: 'create', 'list', 'extract'
- rename commands: 'restore' to 'restore-data', 'create-tables' to 'restore-schema'
- now 'restore-schema', 'restore-data', 'upload', 'download' require a backup name
- now 'create', 'restore-schema', 'restore-data' support flag '--table' for specifying tables
- options backup_to_keep is separated for local and s3
v0.0.3
legacy release