thelastpickle / cassandra-medusa

Apache Cassandra Backup and Restore Tool
Apache License 2.0
266 stars 143 forks source link

Questions regarding cluster-restore using sstableloader #789

Closed Eclion closed 4 months ago

Eclion commented 4 months ago

Project board link

Hi,

I understand from the restore-cluster.py file that running a restore of a cluster using sstableloader requires the deletion of the previous data. However, is it really needed ?

Also, is it really needed to delete all the keyspaces if we wish to restore only one keyspace or one table ?

adejanovski commented 4 months ago

It's the approach we've taken from the start. We could support single table/keyspace restores for in place restores, and probably have a ticket for this. It could work as well for sstableloader, but there's a requirement for the table/keyspace to exist in the schema already which needs to be checked or handled.

Eclion commented 4 months ago

Understood. Thank you for your answer!