Skip to content

Questions Regarding Backup Compression Size and Incremental Backups #1135

Answered by Slach
FeryET asked this question in Q&A
Discussion options

You must be logged in to vote

When does the backup server create a full backup instead of an incremental one? By which command I can control whether to create an incremental backup or a full backup?

look
https://github.com/Altinity/clickhouse-backup/?tab=readme-ov-file#cli-command---create_remote
and
https://github.com/Altinity/clickhouse-backup/?tab=readme-ov-file#post-backupcreate

use
--diff-from-remote=full-backup-name for CLI and diff_from_remote get parameter for incremental backup

better use POST /backup/actions similar with CLI
or even use INSERT INTO system.backup_actions(command) VALUES('create_remote --diff-from-remote=full-backup-name')

look https://github.com/Altinity/clickhouse-backup/blob/master/Exampl…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Slach
Comment options

Answer selected by Slach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants