On Thu, Oct 25, 2001 at 11:00:43AM +0300, Hery Zo RAKOTONDRAMANANA wrote:
> Hi all,
> 
> I'm a newbie on using amanda.
> I'm using amanda-2.2-p1-12 on debian potato systems. I'va already set up
> amanda and Amdump seems working (reports seems good).
> I'm doing backups on a HP DAT SureStore.
> 
> Now I want to test restoring from backups I've done and I'm a little bit
> confused about options I have to give to amrestore if I want to restore
> a particular file.
> For example, let's say my configuration name is "Testconf"
> My cartridges are labeled TestConf01, TestConf02, ...
> Can anyone tell me the options I have to give amrestore (or amrecover?)
> if I want to restore a file called /etc/test.txt which has been backep
> up from host "seine" from filesystem "/etc"? 
> 
> Is this restore going to replace my actual /etc/test.txt? If so, how can
> I tell amrestore (or amrecover ?) to restore it in /tmp so that I can
> copy it manually if needed.
> 

amrestore gives you only the image from the tape. You need to pipe
it through your restore program:

cd /tmp
amrestore /dev/nst0 seine /etc | tar xvpSf - ./etc/test.txt

See http://www.backupcentral.com/amanda-23.html

-- 
 Alles Gute / best wishes  
     Dietmar Goldbeck                E-Mail: [EMAIL PROTECTED]
Reporter (to Mahatma Gandhi): Mr Gandhi, what do you think of Western
Civilization?  Gandhi: I think it would be a good idea.

Reply via email to