-
Notifications
You must be signed in to change notification settings - Fork 8.3k
About backup table to s3 (Atomic database engine) #46331
Description
I have a 3 node 3 replica cluster. The uuid used when creating tables is used( Atomic database engine). I use the backup table statement to back up data to S3. The backup table creation statement is also used. When I use restore to restore, the table creation statement does not have on cluster, resulting in recovery failure
#Code: 62. DB::Exception: Received from 127.0.0.1:9000. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine: While creating table xxx. (SYNTAX_ERROR)
This problem also exists in local backup and recovery。
In other words, this backup function is only for non-clustered data?or only supports recovery to non-clustered environment?
However, the backup table creation statement is based on uuid, and it needs to be carried with (on cluster) when restoring