The nodetool snapshot command has keyspace and column family options (from nodetool --help):
snapshot [keyspaces...] -cf [columnfamilyName] -t [snapshotName] - Take a snapshot of the optionally specified column family of the specified keyspaces using optional name snapshotName
--On Wed, Nov 28, 2012 at 5:40 AM, Adeel Akbar <firstname.lastname@example.org> wrote:
I have Cassandra 1.1.4 cluster with 2 nodes. I need to take backup and restore on staging for testing purpose. I have taken snapshot with below mentioned command but It created snapshot on every Keyspace's column family. Is there any other way to take backup and restore quick.
/opt/apache-cassandra-1.1.4/bin/nodetool -h localhost snapshot -t cassandra_bkup
Thanks & Regards