[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using the --snaptime option



Thanks Nick, your snippet is very helpful.

> Point it at anything with a modification time <= when the snapshot was
> created.  Obviously anything inside the snapshot will have this property;
> as will a file you create prior to creating the snapshot.

Colin, thanks for your explanation. But I'm definitely misunderstanding
something here: if I specify a file that was last modified 10 years
ago, how does that help you?

I should probably take a look at the source code ... :)

On Thu, 23 Jan 2014 06:57:59 -0800
Colin Percival <cperciva@tarsnap.com> wrote:

> On 01/23/14 03:43, Albert Peschar wrote:
> > I've been using tarsnap for some months to do all kinds of backups.
> > Now, I'd like to use tarsnap to archive ZFS filesystem snapshots. What
> > is unclear to me is whether and how I should be using the --snaptime
> > option.
> 
> Point it at anything with a modification time <= when the snapshot was
> created.  Obviously anything inside the snapshot will have this property;
> as will a file you create prior to creating the snapshot.
> 
> > And would someone be willing to explain why this is at all necessary?
> 
> As the man page says, it avoids a race condition. ;-)
> 
> I'm not sure how to state that any clearer...
> 
> -- 
> Colin Percival
> Security Officer Emeritus, FreeBSD | The power to serve
> Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid