Tool for easy ClickHouse backup and restore using object storage for backup files.
OTHER License
Bot releases are visible (Hide)
Published by github-actions[bot] over 1 year ago
IMPROVEMENTS
use_embedded_backup_restore: true
, applied ugly workaround in test to avoid https://github.com/ClickHouse/ClickHouse/issues/43971, and applied restore workaround to resolve https://github.com/ClickHouse/ClickHouse/issues/42709
clickhouse-go/v2
, fix 540, close 562
AWS_ARN_ROLE
and AWS_WEB_IDENTITY_TOKEN_FILE
, fix 563
BUG FIXES
FTP_ADDRESS
and SFTP_PORT
in Default config Readme.md section fix 668
--tables=db.materialized_view
pattern, then create/restore backup also for .inner.materialized_view
or .inner_id.uuid
, fix 613
Published by github-actions[bot] over 1 year ago
IMPROVEMENTS
CLICKHOUSE_BACKUP_MUTATIONS
and CLICKHOUSE_RESTORE_AS_ATTACH
config options to allow backup and properly restore table with system.mutations is_done=0 status. fix 529
CLICKHOUSE_CHECK_PARTS_COLUMNS
config option and --skip-check-parts-column
CLI parameter to watch
, create
and create_remote
commands to disallow backup with inconsistent column data types fix 529
BUG FIXES
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
BUG FIXES
restore_schema_on_cluster: cluster
, fix 642, error happens on 2.2.0-2.2.4Makefile
targets build-docker
and build-race-docker
for old clickhouse-server versionretries_pause
config definition in general sectionPublished by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
IMPROVEMENTS
/var/lib/clickhouse/backup/*/(upload|download).state
present, then operation will continue in background, fix 608
use_resumable_state: true
behavior for upload
and download
, fix 608
--partitions
parameter, for cases when PARTITION BY clause return hashed value instead of numeric prefix for partition_id
in system.parts
, fix 602
system.macros
values when use restore_schema_on_cluster
and replace cluster name in engine=Distributed tables, fix 574
S3_OBJECT_LABLES
and GCS_OBJECT_LABELS
to allow setup each backup object metadata during upload fix 588
clickhouse-keeper
as zookeeper replacement for integration test during reproduce 416
upload_concurrency
and download_concurrency
to round(sqrt(MAX_CPU / 2))
, fix 539
BUG FIXES
download
with --partitions
fix 606
_successful_
and _failed_
metrics counter issue, happens after 2.1.0, fix 589
Published by github-actions[bot] almost 2 years ago
IMPROVEMENTS
total_bytes
if this field presentuse_resumable_state
to config to allow default resumable behavior in create_remote
, upload
, restore_remote
and download
commands, fix 576
BUG FIXES
--watch-backup-name-template
command line parsing, overridden after config reload, fix 548
restore_schema_on_cluster: cluster_name
, fix 552
clean
command and API behavior, fix 533
--restore-database-mapping
behavior for ReplicatedMergeTree
(replace database name in replication path) and Distributed
(replace database name in underlying table) tables, fix 547
MaterializedPostgreSQL
doesn't support FREEZE, fix 550, see also https://github.com/ClickHouse/ClickHouse/issues/32902, https://github.com/ClickHouse/ClickHouse/issues/44252
create
and restore
commands will respect skip_tables
config options and --table
cli parameter, to avoid create unnecessary empty databases, fix 583
watch
unexpected connection closed behavior, fix 568
watch
validation parameters corner cases, close 569
--restore-database-mapping
behavior for ATTACH MATERIALIZED VIEW
and restore --data
corner cases, fix 559
Published by github-actions[bot] about 2 years ago
IMPROVEMENTS
clickhouse-backup-full
docker image with integrated kopia
, rsync
, restic
and clickhouse-local
, fix 507
GET /backup/kill?command=XXX
API to allow kill, fix 516
kill "full command"
in POST /backup/actions
handler, fix 516
watch
in POST /backup/actions
handler API and CLI command, fix 430
clickhouse-backup server --watch
to allow server start watch after start, fix 430
last_{create|create_remote|upload}_finish
metrics values during API server startup, fix 515
clean_remote_broken
command and POST /backup/clean/remote_broken
API request, fix 520
number_backups_remote_broken
to calculate broken remote backups, fix 530
BUG FIXES
Published by github-actions[bot] about 2 years ago
IMPROVEMENTS
remote_storage: custom
, which allow us to adopt any external backup system like restic, kopia, rsync, rclone etc. fix 383
use_embedded_backup_restore
to allow BACKUP
and RESTORE
SQL commands usage, fix 323, need 22.7+ and resolve https://github.com/ClickHouse/ClickHouse/issues/39416
timeout
to azure
config AZBLOB_TIMEOUT
to allow download with bad network quality, fix 467
storage
packagetable
parameter to tables
cli command and /backup/tables
API handler, fix 367
--resumable
parameter to create_remote
, upload
, restore_remote
, donwload
commands to allow resume upload or download after break. Ignored for remote_storage: custom
, fix 207
--ignore-dependencies
parameter to restore
and restore_remote
, to allow drop object during restore schema on server where schema objects already exists and contains dependencies which not present in backup, fix 455
BUG FIXES
compression_format: none
and remote_storage: ftp
Published by github-actions[bot] about 2 years ago
IMPROVEMENTS
BUG FIXES
Published by github-actions[bot] about 2 years ago
BUG FIXES
Published by github-actions[bot] about 2 years ago
IMPROVEMENTS
storage
package