I am reposting because I'm not sure if this was sucessfully sent??  can
some one please reply to let me know that the list received this message.


---------- Forwarded message ----------
Date: Fri, 16 Nov 2001 09:19:23 +1030 (CST)
From: Stavros Patiniotis <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: amrecover & index issues

Hello,

I am try to recover some files, however I am not able to as I am having a
problem with the indexing.  I have read the FAW/mailing search, and have
answered all questions that I found in them.  Sorry about the length of
this email, however I though that I should include all relevant
information.

define dumptype incremental {
    comment "General Data Backup"
    priority medium
    program "GNUTAR"
    compress client fast
    index yes
    record yes
}

I read about problems with gnu tar, so I upgraded gnu tar:

filaxo# gtar --version
tar (GNU tar) 1.13.22
[banner cut]

filaxo# tar --version
GNU tar version 1.11.2


I know that Amanda is Indexing:
filaxo# la /usr/adm/amanda/index/www.esc.net.au/_etc/
[cut]
-rw-------  1 amanda  amanda  1117 Nov 12 01:08 20011112_0.gz
-rw-------  1 amanda  amanda   130 Nov 14 01:53 20011114_1.gz
-rw-------  1 root    amanda  1117 Nov 15 03:23 20011115_0.gz
-rw-------  1 root    amanda   130 Nov 16 03:44 20011116_1.gz

the above permissions were manually set as amanda, when I thought I would
try different things to try and get it working.

The index file seems valid:
filaxo# gzcat /usr/adm/amanda/index/www.esc.net.au/_etc/20011116_1.gz|less
/
[some items cut]
/ssh/
/ssl/
/uucp/
/amandates
/ntp.drift

Amanda is compiled with  user=amanda, and group=amanda.  The inetd server
runs the amanda programs as amanda, eg:

amanda dgram udp wait amanda /usr/local/libexec/amandad amandad
amidxtape stream tcp nowait amanda /usr/local/libexec/amidxtaped amidxtaped
amandaidx stream tcp nowait amanda /usr/local/libexec/amindexd amindexd

Here is a sample amrecover run.... 

filaxo# amrecover incremental
AMRECOVER Version 2.4.2p2. Contacting server on backup.esc.net.au ...
220 filaxo AMANDA index server (2.4.2p2) ready.
200 Access OK
Setting restore date to today (2001-11-16)
200 Working date set to 2001-11-16.
200 Config set to incremental.
501 No index records for host: filaxo.esc.net.au. Invalid?
Trying filaxo.esc.net.au ...
501 No index records for host: filaxo.esc.net.au. Invalid?
amrecover> sethost www.esc.net.au
200 Dump host set to www.esc.net.au.
amrecover> setdisk /www/conf
Scanning /dumper...
  20011107: found Amanda directory.
  20011108: found Amanda directory.
  20011109: found Amanda directory.
  20011110: found Amanda directory.
  20011111: found Amanda directory.
  20011112: found Amanda directory.
  20011115: found Amanda directory.
  20011116: found Amanda directory.
  20011114: found Amanda directory.
200 Disk set to /www/conf.
No index records for disk for specified date
If date correct, notify system administrator
amrecover> setdate 2001-11-15
200 Working date set to 2001-11-15.
No index records for cwd on new date
Setting cwd to mount point
amrecover> ls
amrecover>


In /tmp/amanda, I get:
> DISK /www/conf
< 200 Disk set to /www/conf.
> OISD /
< 500 No dumps available on or before date "2001-11-15"
> OISD /



Any ideas would be greatly appreciated.

Kind Regards,


0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0
                             escape net
      m a k i n g   t h e   n e t  w o r k   f o r   y o u

465b South Road                                     ph 8293 2526
KESWICK SA 5035                                     fx 8293 2949
0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0


Reply via email to