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 8AC5C18AE3 for ; Fri, 18 Sep 2015 18:10:22 +0000 (UTC) Received: (qmail 25509 invoked by uid 500); 18 Sep 2015 18:10:20 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 25471 invoked by uid 500); 18 Sep 2015 18:10:20 -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 25457 invoked by uid 99); 18 Sep 2015 18:10:20 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Sep 2015 18:10:20 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id C2A591A247F for ; Fri, 18 Sep 2015 18:10:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.998 X-Spam-Level: ** X-Spam-Status: No, score=2.998 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id d2daXwUtErcK for ; Fri, 18 Sep 2015 18:10:18 +0000 (UTC) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id CD2CF207EA for ; Fri, 18 Sep 2015 18:10:17 +0000 (UTC) Received: by lbpo4 with SMTP id o4so29101560lbp.2 for ; Fri, 18 Sep 2015 11:10:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=u9zo29Ve1OAhA0ogLILa4GV9fi5jl4JZLfnl0IIiBqc=; b=OzGerGPzOFRpbpsAIBx2I3qwDcAfr7SjdS6z/wl1fgVCi2Zc+i628BLnDECxprTex0 2YIIBnaz5chPR1kikEu8r4z/N/29HKAVpogtMP7dpoQ99dpEjoBt+44EGRh2AESaBJHl K9TliNgDdUkFe6DRgfqJtwHKNNV3IbGwsVUN1PxWJTiQM4P75AsO7UvJa25MounNllec AEEcCgC1PGZ3/ZSS/1WTP0uBPKvro/TGnbH512mtto/IE7b2juqDHOpFRXsDllSWd1tI gN9kuvOTtTZNUs49NGY+eh0JgVAJCdkGNnOcTMWXUizvDxWahRWpRplnC3F7kWsZDKS/ CxMQ== X-Gm-Message-State: ALoCoQkh/h6dDgWiFNbnSLkbraoTGHQ9sRd9W1LKAbq5YNsUdQlo96cO0VThyyLD0zYA2Cf5fFJs X-Received: by 10.25.205.198 with SMTP id d189mr75067lfg.72.1442599809555; Fri, 18 Sep 2015 11:10:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.210.7 with HTTP; Fri, 18 Sep 2015 11:09:30 -0700 (PDT) In-Reply-To: References: From: Maciek Sakrejda Date: Fri, 18 Sep 2015 11:09:30 -0700 Message-ID: Subject: Re: What is your backup strategy for Cassandra? To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a11412e3833b9cb052009711a --001a11412e3833b9cb052009711a Content-Type: text/plain; charset=UTF-8 On Thu, Sep 17, 2015 at 7:46 PM, Marc Tamsky wrote: > This seems like an apt time to quote [1]: > > > Remember that you get 1 point for making a backup and 10,000 points for > restoring one. > > Restoring from backups is my goal. > > The commonly recommended tools (tablesnap, cassandra_snapshotter) all seem > to leave the restore operation as a pretty complicated exercise for the > operator. > > Do any include a working way to restore, on a different host, all of node > X's data from backups to the correct directories, such that the restored > files are in the proper places and the node restart method [2] "just works"? > As someone getting started with Cassandra, I'm very much interested in this as well. It seems that for the most part, folks seem to rely on replication and node replacement to recover from failures, and perhaps this is a testament for how well this works, but as long as we're hauling out aphorisms, "RAID is not a backup" seems to (partially) apply here too. I'd love to hear more about how the community does restores, too. This isn't complaining about shoddy tooling: this is trying to understand--and hopefully, in time, improve--the status quo re: disaster recovery. E.g., given that tableslurp operates on a single table at a time, do people normally just restore single tables? Is that used when there's filesystem or disk corruption? Bugs? Other issues? Looking forward to learning more. Thanks, Maciek --001a11412e3833b9cb052009711a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Thu, Sep 17, 2015 at 7:46 PM, Marc Tamsky <mtamsky@gma= il.com> wrote:
This seems like an apt time to quote [1]:=

>= =C2=A0Remember that you get 1 point for making a backup and 10,000 points f= or restoring one.

Restoring from backups is my goal.

The commonly recommended tools (ta= blesnap, cassandra_snapshotter) all seem to leave the restore operation as = a pretty complicated exercise for the operator.

Do= any include a working way to restore, on a different host, all of node X&#= 39;s data from backups to the correct directories, such that the restored f= iles are in the proper places and the node restart method [2] "just wo= rks"?

As someone getting started with Cassandra, I'm very much intere= sted in this as well. It seems that for the most part, folks seem to rely o= n replication and node replacement to recover from failures, and perhaps th= is is a testament for how well this works, but as long as we're hauling= out aphorisms, "RAID is not a backup" seems to (partially) apply= here too.

I'd love to hear more about how the commun= ity does restores, too. This isn't complaining about shoddy tooling: th= is is trying to understand--and hopefully, in time, improve--the status quo= re: disaster recovery. E.g., given that tableslurp operates on a single ta= ble at a time, do people normally just restore single tables? Is that used = when there's filesystem or disk corruption? Bugs? Other issues? Looking= forward to learning more.

Thanks,
Maciek
--001a11412e3833b9cb052009711a--