-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recreate table with uuid macros in zookeeper path #615
Comments
Table tried to restore with the same UUID which used for backup replace |
welcome to propose other solution |
Thank you for your quick response. Can you add an option to use the {uuid} macros? Or should I use an older version of clickhouse-backup to have this behavior? |
Could you explain? Which problem do you try to resolve? Look to add to /etc/clickhouse-server/config.yml general:
restore_schema_on_cluster: "your_cluster_name" then |
Thanks a lot, I'll try again |
Is there an option to change the 'CREATE TABLE' query in the backup to use {uuid} macro in zookeeper path?
My source tables were created with '/clickhouse/tables/{uuid}/{shard}' as zookeeper path parameter, but when I restore these tables, the uuid part is replaced with a fixed string, for example: '/clickhouse/tables/8e314902-c0a0-44a8-9938-7aadf8cccdaf/{shard}'
The text was updated successfully, but these errors were encountered: