incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DuyHai Doan <doanduy...@gmail.com>
Subject Re: cqlsh backup
Date Fri, 07 Feb 2014 23:11:39 GMT
*For CQL3 tables*

>echo "describe keyspace <your_keyspace_name>;" > command.cql
>cqlsh -3 -f command.cql > /tmp/schema.txt

*For Thrift column families*

>echo "describe keyspace <your_keyspace_name>;" > command.txt
>cassandra-cli -f command.txt > /tmp/schema.txt



On Sat, Feb 8, 2014 at 12:08 AM, Daniel Curry <daniel.curry@arrayent.com>wrote:

>  Does cassandra have a backup command like mysqldump and oracle "alter
> tables hot" to backup the schema files?
>
>
>
>
> --
> Daniel Curry
> Sr Linux Systems Administrator
> Arrayent, Inc.
> 2317 Broadway Street, Suite 20
> Redwood City, CA 94063
> daniel@arrayent.com
>
>

Mime
View raw message