Dean Pullen wrote:
Yes you would have to do that, but also you can do an interactive restore using the -i option


Regards

Would I need to copy this file to the client I backed-up or do I simply
perform the restore command from the backup server itself?

I'd wish to extract every directory within the backup every time, as opposed
to a specific directory. How would I do this?



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 07 January 2004 10:37
To: Dean Pullen
Cc: 'Paul Bijnens'; [EMAIL PROTECTED]
Subject: Re: Using amrestore


If it is a dump file you could type

restore -f webserver04._dev_sda3.20040107.0 -x<whatever directory you would
like to extract>

Dean Pullen wrote:



Yes I receive a few messages (when not using the pipe flag)

I also get a webserver04._dev_sda3.20040107.0 file within the working
directory. Which is obviously what I'm retrieving from the tape drive.

So what do I do with this file?

-----Original Message-----
From: Paul Bijnens [mailto:[EMAIL PROTECTED] Sent: 07 January 2004 15:52
To: Dean Pullen
Cc: [EMAIL PROTECTED]
Subject: Re: Using amrestore


Dean Pullen wrote:





Using just:
amrestore /dev/nst0 webserver04

Everything seems to complete with no visible errors.
How do I make sure that 'webserver04' /dev/sda3 (the partition I backed




up)




has now been restored?!




First read the man page, and look at the examples in it.
"amrestore" itself does not restore your disk.  It just pulls
the image from the tape and stores it in the current directory
(or with -p pipes it to stdout).  You need to restore it with
restore or gnutar, whichever program you used to make the backup.

While reading the tape, it show messages for all the images skipped,
and it shows a message when it extract the image(s) for webserver04.
Did you see any message like that?

One important point is that you need to REWIND the tape before starting
amrestore, or you need to MANUALLY position the tape to the beginning
of your backup image using commands like 'mt ... fsf 123'.
If using amanda 2.4.4 or later you may add "-f 123" to rewind and
skip forward automatically (using the correct number...)


















Reply via email to