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...)


-- 
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  [EMAIL PROTECTED]
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************




Reply via email to