Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-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 B7FFA6D19 for ; Fri, 15 Jul 2011 18:33:56 +0000 (UTC) Received: (qmail 34906 invoked by uid 500); 15 Jul 2011 18:33:55 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 34884 invoked by uid 500); 15 Jul 2011 18:33:54 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 34876 invoked by uid 99); 15 Jul 2011 18:33:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jul 2011 18:33:54 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.212.41] (HELO mail-vw0-f41.google.com) (209.85.212.41) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jul 2011 18:33:46 +0000 Received: by vws4 with SMTP id 4so1555274vws.14 for ; Fri, 15 Jul 2011 11:33:25 -0700 (PDT) Received: by 10.52.28.77 with SMTP id z13mr3813914vdg.312.1310754805225; Fri, 15 Jul 2011 11:33:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.115.129 with HTTP; Fri, 15 Jul 2011 11:33:05 -0700 (PDT) X-Originating-IP: [64.105.168.204] In-Reply-To: <2D6136772A13B84E95DF6DA79E85A9F001584353F1EA@NSPEXMBX-A.the-lab.llnl.gov> References: <1310732977.2089.10.camel@localhost.localdomain> <2D6136772A13B84E95DF6DA79E85A9F001584353F1EA@NSPEXMBX-A.the-lab.llnl.gov> From: Ted Dunning Date: Fri, 15 Jul 2011 11:33:05 -0700 Message-ID: Subject: Re: Backup data for a single hbase instance To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=20cf30780bfc8d99e204a81fe21e X-Virus-Checked: Checked by ClamAV on apache.org --20cf30780bfc8d99e204a81fe21e Content-Type: text/plain; charset=ISO-8859-1 This is basically the same process that I was referring to earlier except that if you have the ability to take snapshots, you can do this without downtime or using extra disk space for the copy. To HBase's credit, you can do this while clients are doing a massive amount of updates. In fact, this provides an interesting way to test crash resistance of HBase. On Fri, Jul 15, 2011 at 9:52 AM, Buttler, David wrote: > Yes, I have done this in the past on a full cluster. The backup process is > slow for large data sets, but at least it is simple. > Dave > > > -----Original Message----- > From: Joel Halbert [mailto:joel@su3analytics.com] > Sent: Friday, July 15, 2011 5:30 AM > To: users-hbase > Subject: Backup data for a single hbase instance > > Hi, > > I have a standalone, single, HBase instance (not running on Hadoop, or > in a cluster). > > What's the best strategy for creating a backup of the data? > > I can afford downtime so is it safe to simply create a copy of the > hbase.rootdir ? > > Thanks > Joel > > --20cf30780bfc8d99e204a81fe21e--