Amanda-Users

Odd amrestore behavior

2002-11-14 16:59:34
Subject: Odd amrestore behavior
From: Chris Dahn <chris.dahn AT computer DOT org>
To: amanda-users AT amanda DOT org
Date: Thu, 14 Nov 2002 16:22:56 -0500
  I am attempting to do a test restore with Amanda 2.4.2p2 on a Gentoo system, 
but I'm getting odd amrestore behavior. I execute the following command:

amrestore /dev/sdlt-norw my_host_here /tmp

I get the following output:

amrestore:   0: skipping start of tape: date 20021114 label full12
amrestore:   1: skipping some_host._home_ma53.20021114.0
amrestore:   2: restoring my_host_here._tmp.20021114.0

This looks correct, except that after a little while, instead of restoring a 
14MB /tmp directory, it's restored:

-rw-r-----    1 root     root     309886976 Nov 14 16:16 \ 
my_host_here._tmp.20021114.0

It's restored over 300MB!

A strings of this file reveals that after about 14MB of data, the tar file 
contains:

AMANDA: FILE 20021114 some_host /home/webadmin lev 0 comp N program /b
in/tar
To restore, position tape at start of file and run:
        dd if=<tape> bs=32k skip=1 | /bin/tar -f... -

So, it skipped right over the next header!

Any suggestions, comments?

-- 

Chris Dahn
  3141 Chestnut St.
  Attn: CS Dept., CAT 186
  Philadephia, PA  19104

<->Software Engineering Research Group<->
Feel the SERG!
http://serg.cs.drexel.edu/
http://pgp.mit.edu:11371/pks/lookup?search=Christopher+Dahn&op=index

<Prev in Thread] Current Thread [Next in Thread>
  • Odd amrestore behavior, Chris Dahn <=