duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Date override


From: Nate Eldredge
Subject: Re: [Duplicity-talk] Date override
Date: Thu, 17 Mar 2011 19:07:18 -0400 (EDT)

On Thu, 17 Mar 2011, Kenneth Loafman wrote:

On Thu, Mar 17, 2011 at 5:29 PM, Nate Eldredge <address@hidden>wrote:

I would like to be able to create backups with dates different from the
current system date, and am interested in suggestions for adding such a
feature.

There is an undocumented option used for testing, --current-time, that you
could use for this.  This option takes an integer that represents the time
that you want.  The int is a UNIX time() value, i.e. seconds since the
epoch, 1/1/1970 at 00:00:00.  So, using the 'date' command, you should be
able to convert from a time string to UNIX time.

That's great!  It works perfectly.  Thanks very much!

--

Nate Eldredge
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]