Replies: 2 comments
-
could you provide more context how did you execute clikchouse-backup? |
Beta Was this translation helpful? Give feedback.
-
Firs of all, just wanted to say thanks... I see your name all over the place helping out with detailed information, it's much appreciated! I managed to get this completed by first recreating all the tables schema, then doing the restore. I guess I had assumed that since the backup "appeared" to have the tables as replicatedmergetree that it would all get recreated. Is it correct then, to first recreate all the table schemas, then do the restore, or is there a better way of doing this? |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm in a dev environment and testing how to use clickhouse-backup from an existing clickhouse cluster, which is using replicatedmergetree, and restoring it to a newly created clickhouse cluster.
I've tried restoring this backup on an existing cluster (using the same backup), and it works well. But to the new cluster, it only puts the restored tables onto the node that the backup is running on. I did check the metadata of each of the table backups to be sure these are listed as replicatedmergetree and not mergetree, which they are.
Does the restore have to occur on each clickhouse node, or do the original table schemas need to be replaced or what? I haven't been able to find any answers for this particular situation. I'm also not sharding yet, so it's a pretty straightforward config.
Also, not sure if it matters or not, but the clickhouse cluster and clickhouse-back are running in containers.
thanks!
Beta Was this translation helpful? Give feedback.
All reactions