Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-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 A2D2CB08E for ; Tue, 17 Jan 2012 01:39:33 +0000 (UTC) Received: (qmail 18109 invoked by uid 500); 17 Jan 2012 01:39:33 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 18056 invoked by uid 500); 17 Jan 2012 01:39:32 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 18048 invoked by uid 99); 17 Jan 2012 01:39:32 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jan 2012 01:39:32 +0000 Received: from localhost (HELO mail-we0-f170.google.com) (127.0.0.1) (smtp-auth username phunt, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jan 2012 01:39:31 +0000 Received: by werp12 with SMTP id p12so750431wer.15 for ; Mon, 16 Jan 2012 17:39:30 -0800 (PST) Received: by 10.216.138.151 with SMTP id a23mr5990908wej.52.1326764370220; Mon, 16 Jan 2012 17:39:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.227.39.94 with HTTP; Mon, 16 Jan 2012 17:39:08 -0800 (PST) In-Reply-To: References: From: Patrick Hunt Date: Mon, 16 Jan 2012 17:39:08 -0800 Message-ID: Subject: Re: Backups To: user@zookeeper.apache.org Content-Type: text/plain; charset=ISO-8859-1 Why would you limit to the leader? Wouldn't backing up any server (as long as it's active) be sufficient? If you search the list it's been discussed before, using Observers seemed like a reasonable option as well. Patrick On Fri, Jan 13, 2012 at 2:29 PM, Jordan Zimmerman wrote: > That's easy as the backup app is running on the same machine as the ZK > instance. I can use 'stat' to see if "my" instance is the leader. > > On 1/13/12 2:28 PM, "Camille Fournier" wrote: > >>You want to have to figure out who the leader is every time you want to >>take a backup? That would be the downside to this strategy I would think. >> >>C >> > >From my phone >>On Jan 13, 2012 5:24 PM, "Jordan Zimmerman" >>wrote: >> >>> As a backup strategy, it seems I would only want to backup snapshots >>>from >>> the leader. Does that make sense? >>> >>> -JZ >>> >>> >