Amanda-Users

Recovering multiple copies of same file with different dates

2005-07-15 14:24:55
Subject: Recovering multiple copies of same file with different dates
From: Kevin Dalley <kevin AT kelphead DOT org>
To: amanda-users AT amanda DOT org
Date: Fri, 15 Jul 2005 11:01:35 -0700
I would like to recover many different copies of the same file with
different dates.  Let's call the file fred.

If I do the obvious and simple:

setdate 2005-03-15
add fred
setdate 2005-03-20
add fred
extract

amrecover will nicely recover both version of fred, and overwrite one
with the other.

Alternatively, I can do a

lcd 2005-03-15
setdate 2005-03-15
add fred
extract
lcd ../2005-03-20
setdate 2005-03-20
add fred
extract

But that a lot of back and forth.  Also this version doesn't
automatically keep track of whether the file has changed between 2
different dates.

With the first version, if 2005-03-15 and 2005-03-20 are the same
file, I receive a warning:

File fred already added.




-- 
Kevin Dalley
kevin AT kelphead DOT org

<Prev in Thread] Current Thread [Next in Thread>