Re: Volume is not in dump format

2005-12-22 Thread Stefan G. Weichinger

Myron Kowalski wrote:

I've never had a problem restore files to solaris boxes;
however, I'm trying to restore a linux backup, which I've
never done. This is the message I got.

amrestore:  79: restoring aimserver._dev_hda2.20051216.0
Volume is not in dump format
amrestore:  80: reached end of information

I see the tape has the image I want. I usually use this
command:
amrestore -p (drive) aimserver /dev/hda2 | ufsrestore ivf -

Is the error telling me that linux has the compressed the
image a different way. This is the line from disklist

aimserver   /dev/hda2linux-tar # /usr


You use tar for backup --^^^

and try to restore via restore which belongs to dump ...

You have to use tar for extracting that image:

amrestore -p (drive) aimserver /dev/hda2 | tar -xvf -

(you might have to adjust the tar-params a bit, can't look them up right 
now)


Greets, Stefan.





Re: Volume is not in dump format

2005-12-22 Thread Matt Hyclak
On Thu, Dec 22, 2005 at 01:37:23PM -0500, Myron Kowalski enlightened us:
> I've never had a problem restore files to solaris boxes;
> however, I'm trying to restore a linux backup, which I've
> never done. This is the message I got.
> 
> amrestore:  79: restoring aimserver._dev_hda2.20051216.0
> Volume is not in dump format
> amrestore:  80: reached end of information
> 
> I see the tape has the image I want. I usually use this
> command:
> amrestore -p (drive) aimserver /dev/hda2 | ufsrestore ivf -
> 
> Is the error telling me that linux has the compressed the
> image a different way. This is the line from disklist
> 
> aimserver   /dev/hda2linux-tar # /usr
> 

The image was backed up using tar, and you're trying to restore with
ufsdump. That does not compute.

Try:
amrestore -p (drive) aimserver /dev/hda2 | tar xvf -

or similar.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263


Re: Volume is not in dump format

2005-12-22 Thread Joshua Baker-LePain

On Thu, 22 Dec 2005 at 1:37pm, Myron Kowalski wrote


I've never had a problem restore files to solaris boxes;
however, I'm trying to restore a linux backup, which I've
never done. This is the message I got.

amrestore:  79: restoring aimserver._dev_hda2.20051216.0
Volume is not in dump format
amrestore:  80: reached end of information

I see the tape has the image I want. I usually use this
command:
amrestore -p (drive) aimserver /dev/hda2 | ufsrestore ivf -

Is the error telling me that linux has the compressed the
image a different way. This is the line from disklist

aimserver   /dev/hda2linux-tar # /usr

 ^^^

There's your hint.

 amrestore -p (drive) aimserver /dev/hda2 | tar xf -

--
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University