Skip to content

Releases: Altinity/clickhouse-backup

v0.3.2

12 May 13:11
Compare
Choose a tag to compare

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

02 May 20:43
Compare
Choose a tag to compare

Bug fixed:

  • Some directories were being created with a wrong mode, it was fixed

v0.3.0

27 Apr 10:32
Compare
Choose a tag to compare
  • 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

14 Apr 13:54
Compare
Choose a tag to compare

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

29 Mar 21:18
6a5b753
Compare
Choose a tag to compare

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

12 Mar 14:56
Compare
Choose a tag to compare

legacy release

v0.0.2

01 Feb 20:29
Compare
Choose a tag to compare
fix bug with freeze partition on new method creation tables