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

Re: Using the --snaptime option



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