Hi Hery!

On 25 Oct 01 at 11:00 you wrote:

> 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"? 

assuming you want to restore the file on "seine" and your backup 
server is called "tapeserver"

seine# cd /tmp
seine# amrecover -C Testconf -s tapeserver -t tapeserver -d \
/dev/nsa0

(I don't know if *all* the switches are really required, but 
specifying them doesn't hurt)

amrecover> sethost seine
amrecover> setdisk /etc
amrecover> add test.txt
amrecover> extract

After that you'll have a file /tmp/etc/test.txt, which you can copy 
over the original file.

If you wanted the restored file to overwrite existing file 
immediately, you would start amrecover in /etc directory instead 
of /tmp. This is all assuming that /etc is separate partition, as 
you specified.

HTH.
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* This message transmitted on 100% recycled electrons.

Reply via email to