hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stack <st...@duboce.net>
Subject Re: Another Question on Backup Tables
Date Fri, 23 Jan 2009 18:51:34 GMT
You'd also need to copy out the tables' entries in .META.

There are some scripts in HBASE-643 for copying and renaming tables that 
might serve as starting point copying a table.

St.Ack

Ryan Rawson wrote:
> You'd have to get at least:
>
> /hbase/$TABLE_NAME
> and
> /hbase/log*
>
> Not too sure how hbase would handle that though...  The logs contain
> roll-forward info for every table.  So you'd have entries for tables that
> dont exist.
>
> -ryan
>
> On Fri, Jan 23, 2009 at 2:05 AM, <michael.dagaev@gmail.com> wrote:
>
>   
>> Hi, all
>>
>> As I understand from the answers of Jean-Daniel and Stack
>> we can backup the database just by copying the HDFS folder
>> but what if I want to backup only a few tables ?
>>
>> I guess I can scan the tables and copy the scanned data
>> to somewhere on the backup storage. Are there other solutions ?
>>
>> Thank you for your cooperation,
>> M.
>>
>>     
>
>   


Mime
View raw message