incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tyler Hobbs <ty...@datastax.com>
Subject Re: Data backup and restore
Date Fri, 30 Nov 2012 23:21:46 GMT
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
<adeel.akbar@panasiangroup.com>wrote:

>  Dear All,
>
> 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
>
> *Snapshot directory:*
> /var/log/cassandra/data/<KeySpace>/<subfolder/snapshot/cassandra_bkup
>
> --
>
>
> Thanks & Regards
>
> *Adeel** Akbar*
>



-- 
Tyler Hobbs
DataStax <http://datastax.com/>

Mime
View raw message