Amanda-Users

RE: file not found on Tape

2002-11-27 16:17:02
Subject: RE: file not found on Tape
From: "Rebecca Pakish Crum" <rebecca AT unterlaw DOT com>
To: "Axel Haenssen" <axel AT princeton DOT edu>
Date: Wed, 27 Nov 2002 14:38:10 -0600
Okay, that was my mistake...I forgot you can't find individual files 
listed...just the disks

you wanted to do su amanda -c "amadmin <configname> find <clientcomputername> 
<disk>"

...that was my fault. 
So it looks like your last level 0 was to DMP004 on 11-23, has the file changed 
since then? Would it have been on the DMP005 or DMP006 tapes level 1?

Can you cut and paste the output of amrecover?

What version of gnu-tar comes with RH7.1? Can you do tar --version and tell me 
what you see?

-----Original Message-----
From: Axel Haenssen [mailto:axel AT Princeton DOT EDU]
Sent: Wednesday, November 27, 2002 2:04 PM
To: Rebecca Pakish Crum
Subject: RE: file not found on Tape


On Wed, 2002-11-27 at 13:54, Rebecca Pakish Crum wrote:
> What do you see when you run this command as root:
> su amanda -c "amadmin <configname> find <clientcomputername> 
> <filenameyouwanttorestore>"

If I do
su amanda -c "amadmin DailySet1 find node16 /home"
I get
Scanning /home/amanda...
  20020620: found Amanda directory.
  20020705: found Amanda directory.
  20020706: found Amanda directory.
  20020910: found Amanda directory.

date       host   disk  lv tape or file                         file
status
2002-09-10 node16 /home  2 /home/amanda/20020910/node16._home.2    0 OK
2002-11-14 node16 /home  1 DMP007                                 14 OK
2002-11-15 node16 /home  2 DMP008                                 14 OK
2002-11-16 node16 /home  2 DMP009                                 14 OK
2002-11-19 node16 /home  2 DMP010                                 13 OK
2002-11-20 node16 /home  2 DMP001                                 13 OK
2002-11-21 node16 /home  3 DMP002                                 14 OK
2002-11-22 node16 /home  3 DMP003                                 13 OK
2002-11-23 node16 /home  0 DMP004                                 15 OK
2002-11-26 node16 /home  1 DMP005                                 14 OK
2002-11-27 node16 /home  1 DMP006                                 14 OK

Amanda is set to backup the /home directory on this machine

If I do
su amanda -c "amadmin Dailyset find node16 /home/axel/boot.img"
I get

Scanning /home/amanda...
  20020620: found Amanda directory.
  20020705: found Amanda directory.
  20020706: found Amanda directory.
  20020910: found Amanda directory.

No dump to list

boot.img the file I wanted to restore


> Is it, in fact, listed as being backed up to the tape you're using?
> 
> Is the tape rewound? (sounds stupid, but this has gotten me before...)

> Is this dump or tar? If tar, are you using a good version? A crappy version 
> of tar leaves gibberish in your index file and it won't give you an error on 
> backup and it won't find file on restore.
> 
I think tar, oehm, and I use gnu-tar standard on RedHat Linux 7.1
Thanks
Axel

> 
> 

-- 
Axel Haenssen
Department of Ecology & Evolutionary Biology
Princeton University
Princeton, NJ 08540
USA
phone: +1-609-258-6999
email: axel AT princeton DOT edu
find my public key at:
www.princeton.edu/~axel



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