Amanda-Users

Re: Restoring to a different location

2003-07-09 13:48:23
Subject: Re: Restoring to a different location
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Wed, 9 Jul 2003 13:28:26 -0400
On Wed, Jul 09, 2003 at 11:59:47AM -0500, Dave Sherohman wrote:
> I recently returned from a vacation to discover that a database app had
> decided to do strange things about a week and a half ago.  There was
> no damage to the data (just a bunch of spurious reports printed), but
> the app's vendor would like to see what the database looked like before
> this happened.  There is no concern that the active database may have
> been damaged.
> 
> Now, I know how to use amrecover to restore the files to their original
> location, but overwriting the active database would be Very Bad, so how
> do I restore them to a different location?  (I doubt that it matters,
> but, just in case, the database directory is on a Windows machine which
> is backed up by a Linux client via samba.)

Whenever I've run amrecover I've done it from an empty directory
created just for the recovery.  When you do the extraction and
it says what tapes it needs, it also says into which directory
it will recover.  In my case it is always the directory I'm in.

Subdirectories are created as needed.  So if I recover
with a current directory of /tmp/recov, and the disk is /var,
and the files I'm extracting were from /var/adm,
then a directory /tmp/recov/adm is created.

--
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing 4455 Province Line Road        (609) 252-0159 Princeton,
 NJ  08540-4322      (609) 683-7220 (fax)

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