You must use the 'amoldrecover' command.
The amrecover command (in 2.5.1 and newer) can only talk to 2.5.1 or
newer server.
amoldrecover must be used to talk to older server.
Jean-Louis
Scot Hetzel wrote:
We have an Amanda backup server running 2.4.4, we are able to run
amrecover on this system:
# amrecover Daily
AMRECOVER Version 2.4.4p3. Contacting server on localhost ...
220 vpinew AMANDA index server (2.4.4p3) ready.
200 Access OK
Setting restore date to today (2008-01-04)
200 Working date set to 2008-01-04.
501 Could not read disk file /etc/amanda/Daily/disklist!
amrecover>
But when we try to run amrecover on a new backup client, it gives us
these errors:
# amrecover Daily
AMRECOVER Version 2.5.1p1. Contacting server on
backup.videopropulsion.com ...
NAK: unknown service: amindexd
The /etc/amanda/amanda-client.conf file contains:
conf "Daily"
index_server "backup.videopropulsion.com"
tape_server "backup.videopropulsion.com"
tapedev "file:/var/backup/Daily"
auth "bsd"
The amrecover*debug file under /var/log/amanda/client/Daily contains:
amrecover: debug 1 pid 6436 ruid 0 euid 0: start at Fri Jan 4
13:46:20 2008
Reading conf file "/etc/amanda/amanda-client.conf".
Reading conf file "/etc/amanda/Daily/amanda-client.conf".
amrecover: debug 1 pid 6436 ruid 0 euid 0: rename at Fri Jan 4
13:46:20 2008
security_getdriver(name=bsd) returns 0x2aae49348fa0
security_handleinit(handle=0x515710, driver=0x2aae49348fa0 (BSD))
amrecover: bind_portrange2: Try port 846: Available - Success
amrecover: dgram_bind: socket bound to 0.0.0.0.846
amrecover: dgram_send_addr(addr=0x7fff61aad0b0, dgram=0x2aae4934ac88)
amrecover: (sockaddr_in *)0x7fff61aad0b0 = { 2, 10080, 192.133.120.4 }
amrecover: dgram_send_addr: 0x2aae4934ac88->socket = 3
amrecover: dgram_recv(dgram=0x2aae4934ac88, timeout=0,
fromaddr=0x2aae4935ac80)
amrecover: (sockaddr_in *)0x2aae4935ac80 = { 2, 10080, 192.133.120.4 }
security_close(handle=0x515710, driver=0x2aae49348fa0 (BSD))
NOTE: /etc/amanda/Daily/amanda-client.conf is a empty file.
The old backup server doesn't have any auth= lines in the amanda.conf
file.
Can we use then newer Amanda client programs (2.5.1) to recover files
from an older Amanda Backup server (2.4.4)?
If we should be able to use the newer Amanda client programs, what do
we need to do to resolve this problem?
Amanda 2.4.4 has been able to create backups on the old backup server
from the new server.
Scot