I got some problem with amrecover :(

i set sethost (helios)/setdate/setdisk, select some files, and launch
extract:

===
Load tape WIZZ_04 now
Continue? [Y/n]: Y
EOF, check amidxtaped.debug file on localhost.
amrecover: short block 0 bytes
UNKNOWN file
amrecover: Can't read file header
extract_list - child returned non-zero status: 1
===

i look at amidxtaped.debug (not exactly this filename but
amidxtaped.20020718161414.debug).

===
Ready to execv amrestore with:
path = /usr/sbin/amrestore
argv[0] = "amrestore"
argv[1] = "-h"
argv[2] = "-p"
argv[3] = "/dev/nst0"
argv[4] = "helios"
argv[5] = "^/home$"
argv[6] = "20020629"
amrestore:   0: skipping start of tape: date 20020629 label WIZZ_04
amrestore:   1: skipping gaia._var_spool_cron.20020629.0
amrestore:   2: skipping helios._var_spool_cron.20020629.0
amrestore: missing file header block
amrestore:   3: reached end of tape: date 20020629
amidxtaped: amrestore terminated normally with status: 1
Rewinding tape: done
amidxtaped: pid 31702 finish time Thu Jul 18 16:14:29 2002
===

I suppose the backup are not in this tape, so i do:

===
# amrestore  -h  /dev/nst0 helios 
amrestore:   0: skipping start of tape: date 20020629 label WIZZ_04
amrestore:   1: skipping gaia._var_spool_cron.20020629.0
amrestore:   2: restoring helios._var_spool_cron.20020629.0
amrestore: missing file header block
amrestore:   3: reached end of tape: date 20020629
===

"missing file header block" ... seems bad

I got this on several tape (i do full backup each time).

amanda.conf:
===
inparallel 1
dumpcycle 0
tapecycle 4 tapes 
runtapes 1
tapedev "/dev/nst0"
define interface int-local {
        comment "reseau local 10baseT"
        use 10000
}
define dumptype tar-fast {
        program "GNUTAR"
        comment "tar-fast"
        # full backup at each
        dumpcycle 0
        # direct sur la bande
        holdingdisk no
        index yes
        # 1 backup par host en //
        maxdumps 2
        maxcycle 0
        priority medium
        compress fast
}
===

In my diskfile i have:
helios /etc tar-fast -1 int-local
helios /home tar-fast -1 int-local

host2 /etc tar-fast -1 int-local
host2 /var/lib tar-fast -1 int-local
... and so on

AND  i can only recover /etc on all host, the restore of the
others dirs fails.

any hints ?

-- 
Fabien Seisen [EMAIL PROTECTED] dakol@opn
GnuPG ID 1024D/112189D8



Reply via email to