Re: Using amrestore
2004-01-07 14:35:54
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: fgarcia AT cie.com DOT mx [mailto:fgarcia AT cie.com DOT mx]
Sent: 07 January 2004 10:37
To: Dean Pullen
Cc: 'Paul Bijnens'; amanda-users AT amanda DOT org
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:paul.bijnens AT xplanation DOT com]
Sent: 07 January 2004 15:52
To: Dean Pullen
Cc: amanda-users AT amanda DOT org
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...)
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- RE: Does amanda only backup changes to files?, (continued)
- RE: Does amanda only backup changes to files?, Dean Pullen
- RE: Does amanda only backup changes to files?, Dean Pullen
- Re: Does amanda only backup changes to files?, Paul Bijnens
- Using amrestore, Dean Pullen
- RE: Using amrestore, Dean Pullen
- Re: Using amrestore, Paul Bijnens
- RE: Using amrestore, Dean Pullen
- RE: Using amrestore, Joshua Baker-LePain
- Re: Using amrestore, fgarcia AT cie.com DOT mx
- RE: Using amrestore, Dean Pullen
- Re: Using amrestore,
fgarcia AT cie.com DOT mx <=
- was: Re: Using amrestore - some help needed, Martin
- Re: was: Re: Using amrestore - some help needed, Joshua Baker-LePain
- Re: was: Re: Using amrestore - some help needed, Eric Sproul
- Re: was: Re: Using amrestore - some help needed, Paul Bijnens
- Re: was: Re: Using amrestore - some help needed, Paul Bijnens
|
|
|