*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.cu...@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
> dan...@arrayent.com
>
>

Reply via email to