Amanda-Users

Problem with amrecover

2003-03-18 12:14:20
Subject: Problem with amrecover
From: Rainer Wiener <rwiener AT skilldeal DOT com>
To: amanda-users AT amanda DOT org
Date: Tue, 18 Mar 2003 16:17:54 +0100
Hi,

I try to recover files from a backup that I made a few minutes ago. Now I get this error:

        Load tape SkillDealBackupFull01 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
        Continue? [Y/n]: y

In the amidxtaped.debug stand:

amidxtaped: debug 1 pid 31832 ruid 34 euid 34 start time Tue Mar 18 14:51:46 2003
        amidxtaped: version 2.4.2p2
        > SECURITY USER root
        bsd security: remote host localhost user root local user backup
        amandahosts security check passed
        > 6
        amrestore_nargs=6
        > -h
        > -p
        > /dev/nst0
        > ha-node01.berlin.skilldeal.com
        > ^hda2$
        > 20030317
        Ready to execv amrestore with:
        path = /usr/sbin/amrestore
        argv[0] = "amrestore"
        argv[1] = "-h"
        argv[2] = "-p"
        argv[3] = "/dev/nst0"
        argv[4] = "ha-node01.berlin.skilldeal.com"
        argv[5] = "^hda2$"
        argv[6] = "20030317"
amrestore: 0: skipping start of tape: date 20030317 label SkillDealBackupFull01 amrestore: 1: skipping ha-node02.berlin.skilldeal.com.nb1.20030317.0
        amrestore:   2: skipping                
ha-node01.berlin.skilldeal.com.nb1.20030317.0
        amrestore:   3: skipping ha-node01.berlin.skilldeal.com.nb0.20030317.0
        amrestore:   4: skipping ha-node02.berlin.skilldeal.com.nb0.20030317.0
        amrestore:   5: skipping        
amanda.`erlin.siilldeal.com.hda1.20030317.0
        amrestore:   6: skipping ha-node02.berlin.skilldeal.com.hda1.20030317.0
        amrestore:   7: skipping ha-node01.berlin.skilldeal.com.hda1.20030317.0
amrestore: strange amanda header: "AMANDA: DILE 00030317 ha-node01.berlin.skilleal.com hda6 lev 0 comp .gz program /bin/tar"
        amidxtaped: amrestore terminated normally with status: 0
        Rewinding tape: done
        amidxtaped: pid 31832 finish time Tue Mar 18 14:52:30 2003


If I try an other file I got this:

        The following tapes are needed: SkillDealBackupFull01

        Restoring files into directory /root/test
        Continue? [Y/n]: y

        Load tape SkillDealBackupFull01 now
        Continue? [Y/n]: y
        tar: Skipping to next header
        tar: ./vmlinuz-2.2.17: Not found in archive
        tar: Error exit delayed from previous errors
        extract_list - child returned non-zero status: 2
        Continue? [Y/n]: n
        amrecover> quit
        200 Good bye.
        amanda:~/test# logout
        Connection to amanda closed.


In the amidxtaped.debug stand:

        amidxtaped: pid 31832 finish time Tue Mar 18 14:52:30 2003
        amanda:/tmp/amanda# less amidxtaped.20030318151159.debug
amidxtaped: debug 1 pid 31876 ruid 34 euid 34 start time Tue Mar 18 15:11:59 2003
        amidxtaped: version 2.4.2p2
        > SECURITY USER root
        bsd security: remote host localhost user root local user backup
        amandahosts security check passed
        > 6
        amrestore_nargs=6
        > -h
        > -p
        > /dev/nst0
        > ha-node01.berlin.skilldeal.com
        > ^hda1$
        > 20030317
        Ready to execv amrestore with:
        path = /usr/sbin/amrestore
        argv[0] = "amrestore"
        argv[1] = "-h"
        argv[2] = "-p"
        argv[3] = "/dev/nst0"
        argv[4] = "ha-node01.berlin.skilldeal.com"
        argv[5] = "^hda1$"
        argv[6] = "20030317"
amrestore: 0: skipping start of tape: date 20030317 label SkillDealBackupFull01
        amrestore:   1: skipping ha-node02.berlin.skilldeal.com.nb1.20030317.0
        amrestore:   2: skipping ha-node01.berlin.skilldeal.com.nb1.20030317.0
        amrestore:   3: skipping ha-node01.berlin.skilldeal.com.nb0.20030317.0
        amrestore:   4: skipping ha-node02.berlin.skilldeal.com.nb0.20030317.0
        amrestore:   5: skipping amanda.`erlin.siilldeal.com.hda1.20030317.0
        amrestore:   6: skipping ha-node02.berlin.skilldeal.com.hda1.20030317.0
        amrestore:   7: restoring ha-node01.berlin.skilldeal.com.hda1.20030317.0
         incomplete distance tree

        gzip: stdin: invalid compressed data--format violated
        Error 32 (Broken pipe) offset 131072+32768, wrote 0
        amrestore: pipe reader has quit in middle of file.
        amrestore: skipping ahead to start of next file, please wait...
        amidxtaped: amrestore terminated normally with status: 2
        Rewinding tape: done
        amidxtaped: pid 31876 finish time Tue Mar 18 15:12:39 2003

Thanks for all information.

cu
Rainer
--
skilldeal - Ihr Partner für IT-Projekte
Rainer Wiener
skilldeal AG
Gitschiner Str. 94
D-10969 Berlin
Tel:     +49 (0) 30  61 6558 -65/ -60
Fax:     +49 (0) 30  61 6558 -66
E-Mail: rwiener AT skilldeal DOT com
Internet: http://www.skilldeal.com


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