From user-return-30378-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Wed Nov 28 11:41:00 2012 Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 131ABE7A1 for ; Wed, 28 Nov 2012 11:41:00 +0000 (UTC) Received: (qmail 40718 invoked by uid 500); 28 Nov 2012 11:40:57 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 40533 invoked by uid 500); 28 Nov 2012 11:40:57 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 40515 invoked by uid 99); 28 Nov 2012 11:40:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2012 11:40:56 +0000 X-ASF-Spam-Status: No, hits=4.5 required=5.0 tests=HTML_MESSAGE,HTTP_ESCAPED_HOST,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [98.130.1.164] (HELO mail508.opentransfer.com) (98.130.1.164) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2012 11:40:46 +0000 Received: (qmail 2050 invoked by uid 399); 28 Nov 2012 11:40:18 -0000 Received: from unknown (HELO ?10.10.0.100?) (adeel.akbar@panasiangroup.com@110.93.219.66) by mail508.opentransfer.com with ESMTPAM; 28 Nov 2012 11:40:18 -0000 X-Originating-IP: 110.93.219.66 Message-ID: <50B5F81F.5020908@panasiangroup.com> Date: Wed, 28 Nov 2012 16:40:15 +0500 From: Adeel Akbar User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: Data backup and restore Content-Type: multipart/alternative; boundary="------------090905040206040301000300" X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------090905040206040301000300 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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// 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

--------------090905040206040301000300--