Skip to content

Releases: Altinity/clickhouse-backup

v0.3.5

18 Jun 10:16
Compare
Choose a tag to compare

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

30 May 16:57
Compare
Choose a tag to compare

Added AWS IAM support

v0.3.3

21 May 06:59
Compare
Choose a tag to compare

BUG FIXES

  • Bug because of which the newest backups are deleted instead of the oldest ones has been fixed

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