Was this page helpful?
Note
Currently, ScyllaDB Manager supports only entire schema restoration, so --keyspace
flag is not allowed.
Note
Currently, restoring schema containing alternator tables is not supported.
--restore-schema
flag.system_schema keyspace
, such as keyspace and table definitions. All other data stored in keyspaces managed by ScyllaDB is restored as part of the restore tables procedure.ScyllaDB Manager requires CQL credentials with
permission to create restored keyspaces.
No overlapping schema in restore destination cluster (see the procedure below for more details)
Restore destination cluster must consist of the same DCs as the backed up cluster (see the procedure below for more details)
ScyllaDB Manager simply applies the backed up output of DESCRIBE SCHEMA WITH INTERNALS
via CQL.
For this reason, restoring schema will fail when any restored CQL object (keyspace/table/type/…) is already present in the cluster. In such case, you should first drop the overlapping schema and then proceed with restore.
Another problem could be that restored keyspace was defined with NetworkTopologyStrategy
containing DCs that are not present in the restore destination cluster.
This would result in CQL error when trying to create such keyspace.
In such case, you should manually fetch the backed-up schema file (see backup schema specification),
change problematic DC names, and apply all CQL statements.
In case of an error, Manager will try to rollback all applied schema changes.
Was this page helpful?