Releases: Altinity/clickhouse-backup
Releases · Altinity/clickhouse-backup
2.6.42
v2.6.42
NEW FEATURES
- apply object disk key rewriting for remapped tables during restore to prevent data corruption when using
--restore-database-mappingor--restore-table-mappingwith object disks (S3/GCS/Azure), fix 1278 - add GCS customer-supplied encryption key (CSEK) support for client-side encryption where the encryption key is controlled by the user, not Google. Use
GCS_ENCRYPTION_KEYenvironment variable orgcs.encryption_keyconfig option with base64-encoded 256-bit key, fix 1316 - add TLS support for Keeper connections, allows secure connections to ClickHouse Keeper with SSL/TLS certificates, fix 1312
- add
--skip-empty-tablesoption torestoreandrestore_remotecommands to skip tables with no data during restore, available in CLI, API handlers, and server mode, fix 1265
IMPROVEMENTS
- implements batching keys deletions to improve speed of delete old backups during backup retention, fix 1066
- add ClickHouse 25.12 to test matrix
- add example for minimal grants for backup user in Examples.md
- improve GCS connection handling: properly close readers on error to prevent goroutine leaks, change retry logging from Debug to Warn level
- use partitionId directly instead of INSERT INTO temp table for ClickHouse 21.8+, improves partition handling performance, fix 1315
- refactor table column type checking to use single query before freeze operation instead of per-table queries fix 1194
- add KEEPER_TLS_ENABLES=1 by default in integration tests
- improve TestKeeperTLS, TestReplicatedCopyToDetached, and TestRestoreDistributedCluster test stability
- update GitHub Actions workflows and GOROOT configuration
- explain S3_FORCE_PATH_STYLE configuration option in documentation
BUG FIXES
- fix S3 multipart operations (upload, download, copy) to respect
S3_MAX_PARTS_COUNTinstead of hardcoded 10000 value, allows S3-compatible backends with stricter limits - fix GCS credential conflicts when multiple authentication options are provided, refactor GCS Connect to avoid conflicting client options
- fix COS upload for large files, fix 1318
- fix list status update in server mode, fix 1317
- fix TestServerAPI and TestReplicatedCopyToDetached test failures in CI/CD
- fix OpenSSL/client config parsing for Keeper TLS connections, add comprehensive integration tests
- fix partition filtering when using
--restore-database-mapping,--restore-table-mappingtogether with--partitionsoption - security: update dependencies to fix CVE-2025-61729, CVE-2025-61727
2.6.41
2.6.40
v2.6.40
IMPROVEMENTS
- add ClickHouse 25.10 and 25.11 support to CI/CD test matrix
BUG FIXES
- properly handle
operationIdincreate_remoteandrestore_remoteHTTP handlers, fix 1272 - improve
--tablesparameter to automatically adjust according to--restore-table-mappinglogic, fix 1278, fix 1302 - fix Download and Upload command proper close resumable state to avoid infinite bolt lock in server mode when upload or download command failed, fix 1304
- fix ApplyMacros behavior for Embedded backup/restore
- fix config race conditions in server mode
- fix GCS transient errors causing corruption, fix 1292
- change GCS default chunk size to 16Mb, fix 1292
- fix support for
object_disk.VersionFullObjectKey=5in ClickHouse 25.10+, fix 1290 - fix restore refreshable materialized view, fix 1271
2.6.39
2.6.38
2.6.37
2.6.36
v2.6.36
IMPROVEMENTS
- add
GCS_SA_EMAILoption to support service account authorization, fix 1246 thanks @kamushadenes - improve
--hardlink-exists-filesbehavior, will look to exists local backups for the same part to avoid download unnecessary, fix 1244 - add
S3_CHUNK_SIZEoption to allow more flexible workload for S3-compatible remote storage, fix 1248 thanks @KimDoKy
2.6.35
2.6.34
v2.6.34
IMPROVEMENTS
- add full support for backup and restore of
named collections, which can be stored inkeeperor on thelocalfilesystem. fix 961 - add
--named-collections,--named-collections-onlyflag tocreate_remoteandrestore_remotecommands. - add
named_collections_backup_alwaysoption to thegeneralconfig section. - add named collection size to the backup list output and API.
- add support for named collections parameters in API handlers.
- switch to Go 1.25.
- update default ClickHouse version to 25.8 and add it to the test matrix.
BUG FIXES