Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 89098 invoked from network); 18 Nov 2009 18:41:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Nov 2009 18:41:46 -0000 Received: (qmail 45691 invoked by uid 500); 18 Nov 2009 18:30:51 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 45683 invoked by uid 500); 18 Nov 2009 18:30:50 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 45674 invoked by uid 99); 18 Nov 2009 18:30:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Nov 2009 18:30:50 +0000 X-ASF-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 209.85.218.210 as permitted sender) Received: from [209.85.218.210] (HELO mail-bw0-f210.google.com) (209.85.218.210) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Nov 2009 18:30:45 +0000 Received: by bwz2 with SMTP id 2so1662118bwz.20 for ; Wed, 18 Nov 2009 10:30:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=Aa1mr4CMXgZAua9ouYCv+TXbTtPpWZ8hoh5hkx43CP0=; b=oOyiKbutyuZUrG6PyhmqdKQNWPIG8QVUqW3PLPvgJiHrcGVzaUzWM6CmKQPGohSlF3 qvDVefmPi9D5ebGymrFgDnX3iE2C0R3MSYvfHp5E2EcqLCAFlGnpRycoTU5ygboPUKQy EGZCc203ZE2KayzXNp8rHcOgtynJTPujXwwds= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=K4bvL29aLTUUVaFXngpwhz0jd34mcvPw+4Wp2kAJzZ0cIrDjDDqOOiS3kECq95pgzC 29Yr9t1q/xlyrm4bCtP5lxJnRUklyPj02p6h3mBeRxyZM9gZIOR5IDuxMK4WvHH1xmkR 9BHD5vHiucSL4JM0RvPvCE9luc35QPLHZjeZ0= MIME-Version: 1.0 Received: by 10.216.90.212 with SMTP id e62mr2130490wef.26.1258569024094; Wed, 18 Nov 2009 10:30:24 -0800 (PST) In-Reply-To: References: From: Jonathan Ellis Date: Wed, 18 Nov 2009 12:30:04 -0600 Message-ID: Subject: Re: Cassandra backup and restore procedures To: cassandra-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Wed, Nov 18, 2009 at 12:05 PM, Jon Graham wrote: > Hello Everyone, > > Is there a recommended backup/restore procedure to be able to recover a > failed node? Until tickets 193 and 520 are done, the easiest thing is to copy all the sstables from the other nodes that have replicas for the ranges it is responsible for (e.g. for replication factor of 3 on rack unaware partitioner, the nodes before it and the node after it on the right would suffice), and then run nodeprobe cleanup to clear out the excess. > How does Cassandra keep track of a node's identity? It stores it in the system table. > Should a replacement node keep the same IP address/DNS name as the original > node? Yes. > Does a node still receive data while a nodeprobe snapshot" command runs? Yes. -Jonathan