Gentoo Archives: gentoo-user

From: John Blinka <john.blinka@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] how to amrecover in amanda-2.6.0
Date: Wed, 15 Jul 2009 13:42:34
Message-Id: e6b926b90907150642y6ef21c50u2644abbea30ceeef@mail.gmail.com
1 Hi, all,
2
3 I recently upgraded from amanda-2.4.5 to amanda-2.6.0_p2-r4. I think
4 I've been able to make backups
5 successfully: the backup reports amanda sends afterwards look
6 reasonable. However, I've not been able
7 to do restores. It appears that the contents of
8 /etc/amanda/amandahosts and /etc/xinetd.d/amanda have
9 changed between these two versions, and I suspect that my attempts at
10 updating the contents are at
11 fault.
12
13 My 2.4.5 amandahosts file looked like this:
14
15 my_host.my_domain amanda
16 my_host.my_domain root
17
18 and the 2.6.0_p2-r4 amandahosts looks like:
19
20 my_host.my_domain amanda amdump
21 my_host.my_domain root amindexd amidxtaped
22
23
24 My 2.4.5 amanda file looked like this:
25
26 service amanda
27 {
28 socket_type = dgram
29 protocol = udp
30 wait = yes
31 user = amanda
32 group = amanda
33 groups = yes
34 server = /usr/libexec/amanda/amandad
35 only_from = 192.168.1.0
36 disable = no
37 }
38
39 service amandaidx
40 {
41 socket_type = stream
42 protocol = tcp
43 wait = no
44 user = amanda
45 group = amanda
46 groups = yes
47 server = /usr/libexec/amanda/amindexd
48 only_from = 192.168.1.0
49 disable = no
50 }
51
52 service amidxtape
53 {
54 socket_type = stream
55 protocol = tcp
56 wait = no
57 user = amanda
58 group = amanda
59 groups = yes
60 server = /usr/libexec/amanda/amidxtaped
61 only_from = 192.168.1.0
62 disable = no
63 }
64
65
66 and my 2.6.0_p2-r4 amanda file looks like:
67
68 service amanda
69 {
70 disable = no
71 flags = IPv4
72 socket_type = stream
73 protocol = tcp
74 wait = no
75 user = amanda
76 group = amanda
77 groups = yes
78 server = /usr/libexec/amanda/amandad
79 server_args = -auth=bsdtcp amdump amindexd amidxtaped
80 }
81
82 The above was taken from
83 /usr/share/doc/amanda-2.6.0_p2-r4/example/xinetd.amandaserver.bz2.
84
85 A run of amcheck shows no errors.
86
87 Running su -c "/usr/sbin/amadmin my_host find" amanda produces the
88 expected output.
89
90 Running amrecover -C my_host -t my_host -s my_host -d
91 file:/backup/my_host/vtapes
92 produces a pause of about 30 seconds then the following output:
93 AMRECOVER Version 2.6.0p2. Contacting server on my_host ...
94 [request failed: timeout waiting for ACK]
95
96 /var/log/messages contains nothing enlightening. Neither does
97 /var/amanda/my_host/log.*
98
99 Thanks for any ideas on how to debug this!
100
101 John Blinka

Replies

Subject Author
Re: [gentoo-user] how to amrecover in amanda-2.6.0 "Stefan G. Weichinger" <lists@×××××.at>