Hi Jens – I put together a couple of simple scripts a couple of years ago
that might do exactly what you need.  These leverage nodetool snapshot and
sstableloader to create keyspace snapshots, collect up all the necessary
SSTable files in an easy-to-move file, rename the keyspace, restore it to
the same or a different cluster, etc.  Might be useful…
https://github.com/AppliedInfrastructure/cassandra-snapshot-tools



Mike



*From:* Jens Rantil [mailto:jens.ran...@tink.se]
*Sent:* Wednesday, November 2, 2016 2:21 PM
*To:* Cassandra Group <user@cassandra.apache.org>
*Subject:* Backup restore with a different name



Hi,



Let's say I am periodically making snapshots of a table, say "users", for
backup purposes. Let's say a developer makes a mistake and corrupts the
table. Is there an easy way for me to restore a replica, say
"users_20161102", of the original table for the developer to looks at the
old copy?



Cheers,

Jens



-- 

Jens Rantil

Backend engineer

Tink AB



Email: jens.ran...@tink.se

Phone: +46 708 84 18 32

Web: www.tink.se



Facebook <https://www.facebook.com/#!/tink.se> Linkedin
<http://www.linkedin.com/company/2735919?trk=vsrp_companies_res_photo&trkInfo=VSRPsearchId%3A1057023381369207406670%2CVSRPtargetId%3A2735919%2CVSRPcmpt%3Aprimary>
 Twitter <https://twitter.com/tink>

Reply via email to