Amanda-Users

Issue restoring directory using tar

2003-12-11 09:15:44
Subject: Issue restoring directory using tar
From: "Tom Brown" <tom.brown AT goodtechnology DOT com>
To: <amanda-users AT amanda DOT org>
Date: Thu, 11 Dec 2003 14:08:22 -0000
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



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