Amanda-Users

Re: Basic amrestore usage question

2003-01-27 13:55:07
Subject: Re: Basic amrestore usage question
From: "John R. Jackson" <jrj AT purdue DOT edu>
To: stan <stanb AT awod DOT com>
Date: Mon, 27 Jan 2003 13:11:52 -0500
>... I'm trying to simply get a backup set off of a
>Amanda tape using amrestore (which I have never used before). 

You have used it (via amrecover), you just didn't know it :-).

>I see the set I want going by in amverify, and amrestore. In amrestore it's
>listed as set 35 (phse7._vg00_lvol_19.20021219.0). I've tried:
>
>amrestore /dev/nst0 phse7 _dev_vg00_lvol19
>amrestore /dev/nst0 _dev_vg00_lvol19 phse7 
>amrestore /dev/nst0 /dev/vg00/lvol19 phse7 
>amrestore /dev/nst0 phse7 /dev/vg00/lvol19

Amrestore (and several other parts of Amanda) convert '/' characters to
'_' to avoid generating directory tree names.  You almost had it right
with the last one, except you used "lvol19" and I'm betting that should
have been "lvol/19".

Put a different way, use the same thing you have in your disklist.
That's where the name comes from.

John R. Jackson, Technical Software Specialist, jrj AT purdue DOT edu

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