Re: recovery problme using amrestore

2003-03-17 Thread Laas Toom


On Mon, 17 Mar 2003, Jon LaBadie wrote:

> On Mon, Mar 17, 2003 at 10:26:14AM +0530, T. Bhaskar Reddy wrote:
> >
> > Hi there,
> >
> > I am using amanda 2.4.4. Using  amanda i have dumped a directory on
> > localhost. While i am trying restore it displays the following  message
> > " amrestore:   0: restoring localhost._home_amanda_QA.20030315.0 "
> > the commanda i executed is
> >
> > /usr/local/sbin/amrestore  1.localhost._home_amanda_QA.0
> >


afaik this is all correct. Try:
# file 
(where restored_filename is the name of the file that is created during
the
first command.)
this should tell you the type of the dump. and from that you can figure
out
the command, to complete the restore. (That is wether to use restore or
tar).
Amanda can dump filesystems with either 'dump' or 'tar' (dependig on your
conf). the filename looks the same, because it reflects only the
filesystem
name, dumpdate and dumplevel.
(My amanda.conf says it uses 'dump' for 'always-full' dumptype.)

if 'file' says, it is tar archive, then use:
# tar xvf 

and if file says it is dump archive (or smth), use:
# restore 

NOTE:
Both of these commands should extract the contents to the working
directory
(therefore it is wise to do it in an empty directory or at the root of the
filesystem that is being restored).

See also:
amrecover - this is interactive util to recover single files from dumps
(everithing is done automatically, you only have to load tapes - so in
your
case you only have to hit enter or smth)

--
laaz




Re: recovery problme using amrestore

2003-03-16 Thread Jon LaBadie
On Mon, Mar 17, 2003 at 10:26:14AM +0530, T. Bhaskar Reddy wrote:
> 
> Hi there,
> 
> I am using amanda 2.4.4. Using  amanda i have dumped a directory on 
> localhost. While i am trying restore it displays the following  message
> " amrestore:   0: restoring localhost._home_amanda_QA.20030315.0 " 
> the commanda i executed is 
> 
> /usr/local/sbin/amrestore  1.localhost._home_amanda_QA.0
> 
> man pages says that amrestore would create .Z or .tgz file. But i couldn't 
> see any file of such.

I don't see any mention of .tgz.
I do see mention of .Z and .gz.
But only if you use the appropriate option(s).


-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


recovery problme using amrestore

2003-03-16 Thread T. Bhaskar Reddy

Hi there,

I am using amanda 2.4.4. Using  amanda i have dumped a directory on 
localhost. While i am trying restore it displays the following  message
" amrestore:   0: restoring localhost._home_amanda_QA.20030315.0 " 
the commanda i executed is 

/usr/local/sbin/amrestore  1.localhost._home_amanda_QA.0

man pages says that amrestore would create .Z or .tgz file. But i couldn't 
see any file of such.

My amanda configuration is as follows

tapedev "file:/home/amanda/virtualTape/"

my disklist file contents

localhost /home/amanda/QA always-full

help please ...

Regards,
Bhaskar