On Mon, Feb 12, 2007 at 10:50:08PM -0800, Sascha wrote:
> okay here is the complete way i did that
> 
> back-srv:/backup/restore# amrecover daily
> AMRECOVER Version 2.5.1p1. Contacting server on localhost ...
...
> amrecover> setdate 2007-02-09
> 200 Working date set to 2007-02-09.
> amrecover> ls
> [ ... ]
> 2007-02-09 homepage20070202/       <---- okay, thats the dir i want
> [ ... ]
> amrecover> add homepage20070202
> Added dir /group1/homepage20070202/ at date 2007-02-06
> Added dir /group1/homepage20070202/ at date 2007-02-07
> Added dir /group1/homepage20070202/ at date 2007-02-09
> amrecover> extract
> 
> Extracting files using tape drive @DEFAULT_TAPE_DEVICE@ on host localhost.
> The following tapes are needed: daily1
>                                 daily2
>                                 daily4
> 
> Restoring files into directory /backup/restore    <---- thats a tmp restore 
> directory
> Continue [?/Y/n]? Y
> 
> Extracting files using tape drive @DEFAULT_TAPE_DEVICE@ on host localhost.
> Load tape daily1 now
> Continue [?/Y/n/s/t]? Y         <---- at this point i do a amtape daily slot 
> 1 as backup user
> [ ... ]
> Extracting files using tape drive @DEFAULT_TAPE_DEVICE@ on host localhost.
> Load tape daily2 now
> Continue [?/Y/n/s/t]? Y         <---- at this point i do a amtape daily slot 
> 2 as backup user
> [ ... ]
> tar: deleting ./group1/homepage20070202/index.php   <---- okay, and now ??? 
> why ??? when finished there is no index.php but ls showed it
> [ ... ]  
> 
> so why is amanda deleting my index.php ???
> 

Just guessing, as I said, if the file existed on 2/06, but not on 2/07,
amrecover will delete it because you are asking for a recovery to
the state as of a particular date.  Try setting the date to 2/06
and see if it is there after recovery.

-- 
Jon H. LaBadie                  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

Reply via email to