hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matteo Bertozzi <theo.berto...@gmail.com>
Subject Re: Consistent Backup strategy
Date Mon, 23 Dec 2013 20:31:01 GMT
If you can rely on timestamps, you can use the Export tool as showed in the
blog post without problem. The Export cmdline interface is not changed.

Matteo



On Mon, Dec 23, 2013 at 8:03 PM, Timo Schaepe <timo@timoschaepe.de> wrote:

> With consistent I mean it like in the mentioned blog article from Lars. We
> want to take a backup of our data in one specific time range, where the
> data is consistent in that time range.
>
> My thoughts till now:
> I want to do a full backup of our data every Saturday. During the week I
> want to take an incremental backup every 24 hours. It seems possible to do
> that with the export tool. For example, I want to take a (incremental)
> backup every midnight, I start the export tool five minutes after midnight
> with timestamps, where the starttime is 0 (or timestamp of the last backup
> if it is an incremental backup = midnight of the day before). Endtime is
> now - 5 Minutes = midnight. This data we can backup on a different
> machine/backup server.
>
> It seems, that the article of Lars meets exactly my requirement, that's
> why I'm asked, if it is still up-to-date.
>
> Taking snapshots with the snapshot tool gives me no data to pack on backup
> server, I guess.
>
> bye,
>
>         Timo
>
> Am 23.12.2013 um 11:12 schrieb Matteo Bertozzi <theo.bertozzi@gmail.com>:
>
> > can you define what "consistent" means to you?
> > for example online snapshots are row-consistent, but the snapshot of
> > "Region 1" may be taken at time T0 and the snapshot of "Region N" a time
> T0
> > + X seconds
> >
> > Matteo
> >
> >
> >
> > On Mon, Dec 23, 2013 at 7:07 PM, Timo Schaepe <timo@timoschaepe.de>
> wrote:
> >
> >> Sorry, I forgot to mention. Taking the cluster offline is not an option.
> >> We need an consistent backup of an online cluster. Our plan B is to
> build a
> >> second cluster for replication and take offline snapshots from this
> cluster.
> >>
> >> bye,
> >>
> >>        Timo
> >>
> >>
> >> Am 23.12.2013 um 11:02 schrieb Vladimir Rodionov <
> vrodionov@carrieriq.com
> >>> :
> >>
> >>> Offline snapshots?
> >>>
> >>> Best regards,
> >>> Vladimir Rodionov
> >>> Principal Platform Engineer
> >>> Carrier IQ, www.carrieriq.com
> >>> e-mail: vrodionov@carrieriq.com
> >>>
> >>> ________________________________________
> >>> From: Timo Schaepe [timo@timoschaepe.de]
> >>> Sent: Monday, December 23, 2013 10:53 AM
> >>> To: user@hbase.apache.org
> >>> Subject: Consistent Backup strategy
> >>>
> >>> Hey guys,
> >>>
> >>> we are searching for a consistent backup strategy with the export tool.
> >> Is this article still up-to-date and I can use it?
> >>>
> >>>
> >>
> http://hadoop-hbase.blogspot.com/2012/04/timestamp-consistent-backups-in-hbase.html
> >>>
> >>> Thanks for answers.
> >>>
> >>> cheers,
> >>>
> >>>       Timo
> >>>
> >>> Confidentiality Notice:  The information contained in this message,
> >> including any attachments hereto, may be confidential and is intended
> to be
> >> read only by the individual or entity to whom this message is
> addressed. If
> >> the reader of this message is not the intended recipient or an agent or
> >> designee of the intended recipient, please note that any review, use,
> >> disclosure or distribution of this message or its attachments, in any
> form,
> >> is strictly prohibited.  If you have received this message in error,
> please
> >> immediately notify the sender and/or Notifications@carrieriq.com and
> >> delete or destroy any copy of this message and its attachments.
> >>>
> >>
> >>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message