Dear sir,
  I have the  amanda-2.4.1p1-18.i386.rpm package in my standard RedHat 7.0.
I have
  In my server, I have got both one:
dump-0.4b19-4
tar-1.13.17-8
  I have used the standard sample.conf from amanda and have not changed
which type of dumping method to use.
In my dumping, I use the command:
38 3 * * * /usr/sbin/amdump DailySet1
  Then, I try to use the amrestore:
mt -f /dev/nst0 rewind
amrestore /dev/nst0 202.85.165.88 '/home$'
  I was successful to use this command to get different directories that I
have backed up.
  And then, there is a file created for each amrestore.
  Then, I follow the help and type:

[root@ns31 /operator]# dd if=202.85.165.88._operator_usr.20001215.0 ibs=32k
obs
=32k skip=1 | gzip -dc | tar -xvf -

gzip: stdin: not in gzip format
2+0 records in
1+0 records out

  So, I am wondering which step is still incorrect.

Thanks,
Yours,
Richard Ao




----- Original Message -----
From: "Chris Karakas" <[EMAIL PROTECTED]>
To: "richard" <[EMAIL PROTECTED]>
Cc: "amanda-users" <[EMAIL PROTECTED]>
Sent: Saturday, December 16, 2000 9:08 PM
Subject: Re: about setting up the disklist.conf


> richard wrote:
> >
> > Dear all,
> >   Thanks. You are right. After I have rewinded the tape by:
> > mt -f /dev/nst0 rewind
> >   It does not show the following error any longer.
>
> Wonderful. I like success reports :-)
>
> > /sbin/restore: Tape is not a dump tape
> >
>
> That's why I asked you what "DUMP" program you have specified in the
> dumptype for /usr, dump or tar. It seems that you use tar, not dump.
>
> > have also tried:
> > tar -zxvf 202.85.165.88._operator
> > tar (child): 202.85.165.88._operator: Cannot open: No such file or
directory
>
> Of course ;-)
>
> First, you typed the wrong file name: 202.85.165.88._operator, instead
> of 202.85.165.88._operator_usr.20001215.0.
>
> Second, you must skip the first 32K, which is the file header, then pipe
> the rest to gzip (if you used compression) and then to tar. Try
>
> dd if=202.85.165.88._operator_usr.20001215.0 ibs=32k obs=32k skip=1 |
> gzip -dc | tar -xvf -
>
> (don't forget the "-" after "-xvf")
>
> This should work fine.
>
> --
> Regards
>
> Chris Karakas
> Don´t waste your cpu time - crack rc5: http://www.distributed.net

Reply via email to