Amanda-Users

Re: file not found on Tape

2002-11-27 17:11:32
Subject: Re: file not found on Tape
From: Jon LaBadie <jon AT jgcomp DOT com>
To: "Amanda Users (E-mail)" <amanda-users AT amanda DOT org>
Date: Wed, 27 Nov 2002 16:40:38 -0500
On Wed, Nov 27, 2002 at 02:38:10PM -0600, Rebecca Pakish Crum wrote:
> 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>"
> 


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

Make sure it is 1.13.19 or 1.13.25.  Definitely NOT 1.13!



> 
> -----Original Message-----
> From: Axel Haenssen [mailto:axel AT Princeton DOT EDU]
> 
> 
> 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>"
> 
> 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"
  [ snip ]
> boot.img the file I wanted to restore

As Rebecca points out, "amadmin ... find" looks for dump files, not for
disk files archived in the dump files.

To get back individual files, the command to use is amrecover, not
amrestore.  The latter works on entire dump archive files, not on
individual files in the dumps.

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


I think these are leftover, unneeded, unwanted directories on your
holding disk.  Unless there is something valuable in them, delete them.


-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

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