Amanda-Users

Re: Issue restoring directory using tar

2003-12-11 17:30:19
Subject: Re: Issue restoring directory using tar
From: johnmc <johnmc AT velseis.com DOT au>
To: Tom Brown <tom.brown AT goodtechnology DOT com>, amanda-users AT amanda DOT org
Date: Fri, 12 Dec 2003 08:19:50 +1000
On Fri, 2003-12-12 at 00:08, Tom Brown wrote:
> Hi,
> 
> I'm trying to restore from one machine onto another - The backup was created
> on a linux box running 2.4.4p1 and the backup runs fine from what i can
> tell.
> 
> If i transfer one of the tapes from the autochanger and put it into a
> different machine with another tape drive attached and try and restore i get
> the following.
> 
> $ amrestore -p /dev/nst0 xxxxxx /u05/backup/export | tar xfp -
> amrestore:   0: skipping start of tape: date 20031210 label xxxxxx01
> amrestore:   1: skipping xxxxxx._u05_archive.20031210.0
> amrestore:   2: skipping xxxxxx._u05_backup_rman.20031210.5
> amrestore:   3: restoring xxxxxx._u05_backup_export.20031210.0
> 
> gzip: stdin: not in gzip format
> Error 32 (Broken pipe) offset 32768+512, wrote 0
> amrestore: pipe reader has quit in middle of file.
> [operator@xxxxxx amanda]$
> 
> The odd thing here is that the restore works fine on the machine that made
> the backup. They are both running the same version of RedHat and Amanda. One
> drive manufacturer is HP and the other is Sony.
> 
> What i don't understand is why the error points to a gzip type error when
> the backup was created using tar without compression and the extraction
> syntax does not mention that the archive should be gunzipped?
> 
> Anyone with any thougts?
> 
> thanks
> 
Do you have hardware compression on the drive which created the backup
and no hardware compression on the drive from which you are trying to
restore ?


<Prev in Thread] Current Thread [Next in Thread>