From 8f088b2ff37e4adf9f5e47c064b3f75f38cda5f8 Mon Sep 17 00:00:00 2001 From: Nick Sherron Date: Fri, 14 Jun 2024 22:47:47 -0400 Subject: [PATCH 1/2] A few grammar fixes in ReadMe.md --- ReadMe.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ReadMe.md b/ReadMe.md index 7779acdc..101df4a0 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -70,10 +70,7 @@ GO111MODULE=on go install github.com/Altinity/clickhouse-backup/v2/cmd/clickhous ## Brief description how clickhouse-backup works -Data files is immutable in `clickhouse-server`. -During backup operation `clickhouse-backup` create file system hard-links to exists `clickhouse-server` data parts via executing `ALTER TABLE ... FREZZE` query. -During restore operation `clickhouse-backup` copy hard-links to `detached` folder and execute `ALTER TABLE ... ATTACH PART` query for each data part and each table in backup. -More detailed description available here https://www.youtube.com/watch?v=megsNh9Q-dw +Data files are immutable in the `clickhouse-server`. During a backup operation, `clickhouse-backup` creates file system hard links to existing `clickhouse-server` data parts via executing the `ALTER TABLE ... FREEZE` query. During the restore operation, `clickhouse-backup` copies the hard links to the `detached` folder and executes the `ALTER TABLE ... ATTACH PART` query for each data part and each table in the backup. A more detailed description is available here: https://www.youtube.com/watch?v=megsNh9Q-dw ## Default Config From d1e892df9ef457dacc3f405a085fdd51987e5d27 Mon Sep 17 00:00:00 2001 From: Nick Sherron Date: Fri, 14 Jun 2024 23:06:44 -0400 Subject: [PATCH 2/2] Revert format changes in ReadMe.md This just adds back the new lone for each sentence format that the previous commit changed. --- ReadMe.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ReadMe.md b/ReadMe.md index 101df4a0..4530bddc 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -70,7 +70,10 @@ GO111MODULE=on go install github.com/Altinity/clickhouse-backup/v2/cmd/clickhous ## Brief description how clickhouse-backup works -Data files are immutable in the `clickhouse-server`. During a backup operation, `clickhouse-backup` creates file system hard links to existing `clickhouse-server` data parts via executing the `ALTER TABLE ... FREEZE` query. During the restore operation, `clickhouse-backup` copies the hard links to the `detached` folder and executes the `ALTER TABLE ... ATTACH PART` query for each data part and each table in the backup. A more detailed description is available here: https://www.youtube.com/watch?v=megsNh9Q-dw +Data files are immutable in the `clickhouse-server`. +During a backup operation, `clickhouse-backup` creates file system hard links to existing `clickhouse-server` data parts via executing the `ALTER TABLE ... FREEZE` query. +During the restore operation, `clickhouse-backup` copies the hard links to the `detached` folder and executes the `ALTER TABLE ... ATTACH PART` query for each data part and each table in the backup. +A more detailed description is available here: https://www.youtube.com/watch?v=megsNh9Q-dw ## Default Config