Hello,
I'am having problem with amrecover showing the tar backup on tape.
Indexes are switched on, permitions on indexes and curinfo files
-rw------ backup tape
# ./amrecover
AMRECOVER Version 2.4.1p1. Contacting server on spartak ...
220 spartak AMANDA index server (2.4.1p1) ready.
200 Access OK
Setting restore date to today (2000-10-28)
200 Working date set to 2000-10-28.
200 Config set to DailySet1.
200 Dump host set to spartak.
Can't determine disk and mount point from $CWD
amrecover> setdisk /tmp
200 Disk set to /tmp.
No index records for disk for specified date
If date correct, notify system administrator
amrecover> ls
amrecover>
amrecover>quit
200 Good bye.
#echo $CWD
#
I can't see any files but I can restore them using amrestore.
Amadmin shows:
# ./amadmin DailySet1 find spartak
date host disk lv tape or file file status
2000-10-28 spartak /tmp 0 tape04 1 OK
# ./amadmin DailySet1 disklist spartak /tmp
line 20:
host spartak:
interface LOCAL
disk /tmp:
program "GNUTAR"
priority 2
dumpcycle 0
maxdumps 1
strategy STANDARD
compress NONE
auth BSD
kencrypt NO
holdingdisk YES
record YES
index YES
skip-incr NO
skip-full NO
amindexd.debug file contents:
amindexd: debug 1 pid 2192 ruid 103 euid 103 start time Sat Oct 28 12:42:04
amindexd: version 2.4.1p1
< 220 spartak AMANDA index server (2.4.1p1) ready.
>SECURITY USER root
bsd security: remote host spartak.nomadsoft.com user root local user backup
bsd security check passed
< 200 Access OK
>DATE 2000-10-28
< 200 Working date set to 2000-10-28.
>SCNF DailySet1
< 200 Config set to DailySet1.
>HOST spartak
< 200 Dump host set to spartak.
>DISK /opt
< 501 No index records for disk: /opt. Invalid?
>DISK /lvol6
< 501 No index records for disk: /lvol6. Invalid?
>DISK /tmp
! /opt/amanda/sbin/amadmin DailySet1 find spartak \^/tmp\$
- 2000-10-28 0 tape04 1
< 200 Disk set to /tmp.
>OISD /
Uncompress command: /usr/contrib/bin/gzip -dc 'spartak/_tmp/20001028_0.gz'
f spartak/_tmp/20001028_0
< 500 "/" is an invalid directory
>OISD /
f spartak/_tmp/20001028_0
< 500 "/" is an invalid directory
>DHST
< 200- Dump history for config "DailySet1" host "spartak" disk "/tmp"
< 201- 2000-10-28 0 tape04 1
< 200 Dump history for config "DailySet1" host "spartak" disk "/tmp"
>QUIT
Removing index file: spartak/_tmp/20001028_0
< 200 Good bye.
amindexd: pid 2192 finish time Sat Oct 28 12:42:40 2000
What could be the problem here?
Thanks in advance,
Boris Godunov
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.