tbarbugli / cassandra_snapshotter

A tool to backup cassandra nodes using snapshots and incremental backups on S3
Other
222 stars 122 forks source link

Updated restore implementation via sstableloader #104

Closed potasz closed 7 years ago

potasz commented 7 years ago

Prerequisite:

Steps done to restore:

  1. filter S3 data for snapshot, hosts, keyspace and table
  2. check the target nodes if the tables to be restored are available (i.e. schema created)
  3. crete all the directories in _download_rootdir (/var/tmp)
  4. download filtered data from S3 into _download_rootdir maintaining host/keyspace/table structure
  5. from each downloaded directory load the sstables with sstableloader to _targethosts
  6. remove downloaded S3 file once restore was successful
potasz commented 7 years ago

Sorry I did not intend to create a PR into this repository (yet) just into mine forked one.

tbarbugli commented 7 years ago

no problem ;)