[
[email protected] ~]# amrecover turdep_backup
AMRECOVER Version 3.1.3. Contacting server on amandahost ...
220 backup-agp AMANDA index server (3.1.3) ready.
Setting restore date to today (2011-05-16)
200 Working date set to 2011-05-16.
200 Config set to turdep_backup.
Use the sethost command to choose a host to recover
amrecover> listhost
200- List hosts for config turdep_backup
........
thais.domain.es
.......
201- localhost
200 List hosts for config turdep_backup
amrecover> sethost thais.domain.es
200 Dump host set to thais.domain.es.
amrecover> listdisk
200- List of disk for host thais.domain.es
201- /etc
201- /root
201- /usr/local
201- /var
201- /vz/dump
201- /etc/vz/conf
201- /vz/scripts
200 List of disk for host thais.domain.es
amrecover> setdisk /var
200 Disk set to /var.
599 Can't open '/amanda/turdep_backup/index/thais.domain.es/_var/20110516090008_1' for writting: Permission denied
No index records for disk for specified date
If date correct, notify system administrator
The file existing at "/amanda/turdep_backup/index/thais.domain.es/_var/" is 20110516090008_1.gz[
[email protected] ~]# amrecover turdep_backup
AMRECOVER Version 2.5.0p2. Contacting server on amandahost ...
220 backup-agp AMANDA index server (3.1.3) ready.
200 Access OK
Setting restore date to today (2011-05-16)
200 Working date set to 2011-05-16.
200 Config set to turdep_backup.
200 Dump host set to thais.domain.es.
Trying disk / ...
Trying disk root ...
Can't determine disk and mount point from $CWD '/root'
amrecover> listdisk
200- List of disk for host thais.domain.es
201- /etc
201- /root
201- /usr/local
201- /var
201- /vz/dump
201- /etc/vz/conf
201- /vz/scripts
200 List of disk for host thais.domain.es
amrecover> setdisk /var
200 Disk set to /var.
No index records for disk for specified date
If date correct, notify system administrator
The amindexd log shows:[
[email protected] turdep_backup]# more amindexd.20110516131859.debug
Mon May 16 13:18:59 2011: amindexd: pid 30623 ruid 33 euid 33 version 3.1.3: start at Mon May 16 13:18:59 2011
Mon May 16 13:18:59 2011: amindexd: version 3.1.3
Mon May 16 13:18:59 2011: amindexd: < 220 backup-agp AMANDA index server (3.1.3) ready.
Mon May 16 13:18:59 2011: amindexd: > SECURITY USER root
Mon May 16 13:18:59 2011: amindexd: (sockaddr_in *)0x7fffd6865860 = { 2, 962, 10.210.209.35 }
Mon May 16 13:18:59 2011: amindexd: < 200 Access OK
Mon May 16 13:18:59 2011: amindexd: > FEATURES fffffeff9ffeffff07
Mon May 16 13:18:59 2011: amindexd: < 200 FEATURES ffffffff9efefbffffffffff01
Mon May 16 13:18:59 2011: amindexd: > DATE 2011-05-16
Mon May 16 13:18:59 2011: amindexd: < 200 Working date set to 2011-05-16.
Mon May 16 13:18:59 2011: amindexd: > SCNF turdep_backup
Mon May 16 13:18:59 2011: amindexd: pid 30623 ruid 33 euid 33 version 3.1.3: rename at Mon May 16 13:18:59 2011
Mon May 16 13:18:59 2011: amindexd: < 200 Config set to turdep_backup.
Mon May 16 13:18:59 2011: amindexd: > HOST thais.domain.es
Mon May 16 13:18:59 2011: amindexd: < 200 Dump host set to thais.domain.es.
Mon May 16 13:19:10 2011: amindexd: > DISK /var
Mon May 16 13:19:10 2011: amindexd: append_to_tapelist(tapelist=(nil), label='cinta-3', file=55, partnum=1, isafile=0)
Mon May 16 13:19:10 2011: amindexd: - 2011-05-16-09-00-08 1 cinta-3 55 1 1
Mon May 16 13:19:10 2011: amindexd: append_to_tapelist(tapelist=(nil), label='cinta-2', file=51, partnum=1, isafile=0)
Mon May 16 13:19:10 2011: amindexd: - 2011-05-16-02-30-02 0 cinta-2 51 1 1
Mon May 16 13:19:10 2011: amindexd: append_to_tapelist(tapelist=(nil), label='cinta-1', file=42, partnum=1, isafile=0)
Mon May 16 13:19:10 2011: amindexd: - 2011-05-15-02-30-01 2 cinta-1 42 1 1
Mon May 16 13:19:10 2011: amindexd: append_to_tapelist(tapelist=(nil), label='cinta-7', file=53, partnum=1, isafile=0)
Mon May 16 13:19:10 2011: amindexd: - 2011-05-14-02-30-01 1 cinta-7 53 1 1
Mon May 16 13:19:10 2011: amindexd: append_to_tapelist(tapelist=(nil), label='cinta-6', file=56, partnum=1, isafile=0)
Mon May 16 13:19:10 2011: amindexd: - 2011-05-13-02-30-02 1 cinta-6 56 1 1
Mon May 16 13:19:10 2011: amindexd: append_to_tapelist(tapelist=(nil), label='cinta-5', file=54, partnum=1, isafile=0)
Mon May 16 13:19:10 2011: amindexd: - 2011-05-12-02-30-02 1 cinta-5 54 1 1
Mon May 16 13:19:10 2011: amindexd: < 200 Disk set to /var.
Mon May 16 13:19:10 2011: amindexd: > OISD /
Mon May 16 13:19:10 2011: amindexd: Can't open '/amanda/turdep_backup/index/thais.domain.es/_var/20110516090008_1' for writting
: Permission denied
any idea? I know, Iīm lost