zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dillian Murphey <crackshotm...@gmail.com>
Subject Re: procedure to restore from snapshot
Date Thu, 09 Jul 2015 16:19:49 GMT
Thank you, Ivan. I appreciate it.

Cheers

On Tue, Jul 7, 2015 at 1:05 AM, Ivan Kelly <ivank@apache.org> wrote:

> The snapshot with the highest number at the end is the latest.
>
> -Ivan
>
> On Mon, Jul 6, 2015 at 11:59 PM Dillian Murphey <crackshotmule@gmail.com>
> wrote:
>
> > Thanks for the comment, Ivan.
> >
> > Which files are the "current" log files and which snapshot is the latest?
> >
> > -rw-r--r-- 1 root root      296 Feb  2 19:09 snapshot.0
> > -rw-r--r-- 1 root root 67108880 Jul  6 17:37 log.1
> > -rw-r--r-- 1 root root      320 Jul  6 17:42 snapshot.200000000
> > -rw-r--r-- 1 root root      320 Jul  6 17:42 snapshot.400000000
> > -rw-r--r-- 1 root root 67108880 Jul  6 17:42 log.400000001
> > -rw-r--r-- 1 root root        1 Jul  6 17:42 acceptedEpoch
> > -rw-r--r-- 1 root root      332 Jul  6 17:42 snapshot.400000001
> > -rw-r--r-- 1 root root        1 Jul  6 17:42 currentEpoch
> > -rw-r--r-- 1 root root 67108880 Jul  6 21:56 log.500000001
> >
> >
> >
> > On Mon, Jul 6, 2015 at 12:02 PM, Ivan Kelly <ivank@apache.org> wrote:
> >
> > > First, backup all your data. Then it should be a matter of copying the
> > > snapshot you want to restore to all the nodes, and putting just that in
> > the
> > > datadir. Also move all other snapshots and logs out of the way. That
> > should
> > > be it. (I haven't tried this though).
> > >
> > > -Ivan
> > >
> > > On Mon, Jul 6, 2015 at 8:24 PM Dillian Murphey <
> crackshotmule@gmail.com>
> > > wrote:
> > >
> > > > This has probably been asked a hundred times but all my google
> > searching
> > > > shows nothing.  Is there a reason for that?
> > > >
> > > > What is the procedure to restore a zookeeper node from it's
> snapshots?
> > > >
> > >
> >
>

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