Replies: 1 comment 2 replies
-
this approach have side effect and need a lot of additional logic related to Materialized View, Replicated* and distributed engines |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It's just a suggestion to the clickhouse-backup CLI.
When you apply a restore, passing the --schema and --data, the steps are basically:
But, lets supose that the attach partitions, for some how, just breaks? For that, i would suggest to do a:
_tmp
if exists_tmp
_tmp
_tmp
to table.With that approach, the system would be almost always up and could be safer. And if any problem occurs in the tmp table, it would be just a tmp table and could not bring ANY data loss, or am I wrong?
Beta Was this translation helpful? Give feedback.
All reactions