Amanda-Users

Re: problems with amrecover

2003-12-29 11:24:22
Subject: Re: problems with amrecover
From: jessica blackburn <jblackburn AT hirzel DOT com>
Date: 29 Dec 2003 11:13:18 -0500
On Mon, 2003-12-29 at 11:02, Joshua Baker-LePain wrote:
> On Mon, 29 Dec 2003 at 10:53am, jessica blackburn wrote
> > On Mon, 2003-12-29 at 10:51, Joshua Baker-LePain wrote:
> > > On Mon, 29 Dec 2003 at 10:42am, jessica blackburn wrote
> > > 
> > > > I am trying to backup a windows file system.  i have it mounted so i can
> > > > see the files are in a directory on the linux side.  however, when i try
> > > > to back them up i am getting this error.  is there any suggestions?
> > > 
> > > Not really necessary -- amanda can use smbclient to backup 'doze clients 
> > > that aren't mounted.  If you want it mounted all the time, you can just 
> > > use tar to back up the mount point.
> > > 
> > > > Extracting files using tape drive file:/backup/ on host hccweb.
> > > > Load tape DailySet1011 now
> > > > Continue [?/Y/n/t]? Y
> > > > EOF, check amidxtaped.debug file on hccweb.
> > > > amrecover: short block 0 bytes
> > > > UNKNOWN file
> > > > amrecover: Can't read file header
> > > > extract_list - child returned non-zero status: 1
> > > 
> > > Err, amrecover is a recovery tool (hence the name) not a backup tool.
> > 
> > i'm a bit frazzeled and met to say recover.  do you have any ideas as to
> > why its not working?
> 
> Please post your responses below the quoted text -- it makes it easier to 
> follow the conversation.  And please keep all responses on the list, so 
> that others can chime in.
> 
> As for why it's not working, do what the error message tells you to do: 
> "check amidxtaped.debug file on hccweb".  It should be in /tmp/amanda and 
> may have a time stamp in the middle of the file name.  Post the contents 
> of that file.

here is my debug

[root@hccweb etc]# find / -name amidxtaped.*.debug
/tmp/amanda/amidxtaped.20031229095341.debug
/tmp/amanda/amidxtaped.20031229095813.debug
/tmp/amanda/amidxtaped.20031229101927.debug
/tmp/amanda/amidxtaped.20031229103541.debug
/tmp/amanda/amidxtaped.20031229103810.debug
/tmp/amanda/amidxtaped.20031229104004.debug
/tmp/amanda/amidxtaped.20031229104442.debug
/tmp/amanda/amidxtaped.20031229111039.debug
 
You have new mail in /var/spool/mail/root
[root@hccweb etc]# pico /tmp/amanda/amidxtaped.20031229111039.debug
[root@hccweb etc]# cat /tmp/amanda/amidxtaped.20031229111039.debug
amidxtaped: debug 1 pid 30536 ruid 33 euid 33: start at Mon Dec 29
11:10:39 2003amidxtaped: version 2.4.3
amidxtaped: time 0.000: > SECURITY USER root
amidxtaped: time 0.000: bsd security: remote host hccweb user root local
user amanda
amidxtaped: time 0.000: amandahosts security check passed
amidxtaped: time 0.000: > 6
amidxtaped: time 0.000: amrestore_nargs=6
amidxtaped: time 0.000: > -h
amidxtaped: time 0.000: > -p
amidxtaped: time 0.000: > file:/backup/
amidxtaped: time 0.000: > ^hccweb$
amidxtaped: time 0.000: > ^/TestNT/test$
amidxtaped: time 0.001: > 20031229
amidxtaped: time 0.001: Ready to execv amrestore with:
path = /usr/sbin/amrestore
argv[0] = "amrestore"
argv[1] = "-h"
argv[2] = "-p"
argv[3] = "file:/backup/"
argv[4] = "^hccweb$"
argv[5] = "^/TestNT/test$"
argv[6] = "20031229"
amrestore: error reading file header: Input/output error
amidxtaped: time 0.003: amrestore terminated normally with status: 2
amidxtaped: time 0.003: rewinding tape ...
amidxtaped: time 0.003: tape_rewind: rewinding tape: file:/backup/:
Input/output error
amidxtaped: time 0.003: pid 30536 finish time Mon Dec 29 11:10:39 2003


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