Amanda-Users

Re: Restore buffer?

2004-08-25 14:20:34
Subject: Re: Restore buffer?
From: Eric Siegerman <erics AT telepres DOT com>
To: amanda-users AT amanda DOT org
Date: Wed, 25 Aug 2004 14:13:12 -0400
On Wed, Aug 25, 2004 at 11:32:07AM -0600, Darren Landrum wrote:
> [restoring to a temporary location]
> 
> Is Amanda capable of this kind of operation?

Yes.

And your boss is right :-)  When restoring individual files (as
opposed to disaster-recovering an entire partition), doing it
this way is much safer than restoring in place, and is often
recommended on this list.  Besides allowing you to inspect the
files, it guards against user error in doing the restore (e.g.
restoring files you didn't mean to, thereby clobbering the
current versions).

>From amrecover(8):
>   In  order  to  restore files in place [i.e. to do what you
>   want *not* to do] you must invoke amrecover from the root of
>   the backed up filesystem, or use lcd to move into that
>   directory, otherwise a directory tree that resembles the
>   backed up filesystem will be created in the current
>   directory.
>   [...]
>   If you do not want to overwrite existing files, create a
>   subdirectory to run amrecover from and then move the restored
>   files afterward.

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        erics AT telepres DOT com
|  |  /
It must be said that they would have sounded better if the singer
wouldn't throw his fellow band members to the ground and toss the
drum kit around during songs.
        - Patrick Lenneau

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