From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MR4kj-0007Ku-Ow for garchives@archives.gentoo.org; Wed, 15 Jul 2009 13:42:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49FA0E0467; Wed, 15 Jul 2009 13:42:32 +0000 (UTC) Received: from mail-fx0-f211.google.com (mail-fx0-f211.google.com [209.85.220.211]) by pigeon.gentoo.org (Postfix) with ESMTP id 0C0D8E0467 for ; Wed, 15 Jul 2009 13:42:31 +0000 (UTC) Received: by fxm7 with SMTP id 7so3082043fxm.34 for ; Wed, 15 Jul 2009 06:42:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=W2lxP7ixEYvlsWBKyYFaMGXZCkGpMa6XT5tJNtbDuHE=; b=GT2KKEayy+fqR11s0S9aqmrsJ54h6RSfVfPVjeQz2CjooEyQA8HbKfT9fwCzu3Ilue MpZp6JVWPjBlmARMoCSVdAksfWAI+paHW2B42NrAj3NCmmTJ/LlVgGXDEdRa0AaFfOnn 6sHRgbJHqeyfM3/YNrIJjSV7pgmpjFUtgQd7w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=pqaqka62Sj8KUtwsRfkoN8ZigZ7Gs8wg2nlTjFBJQhzHH1Si2qJFPB5tzqtC5xXe20 ZFmB0yV8KrW/UM3FOmByJV11iQiu8C6v9EnJQ4fw76REOE85KdlYDpWqgK/nQrlK/T2r RiYt784337fHycQI97AlsJW+YkOfppqzITQL4= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.204.117.203 with SMTP id s11mr7606910bkq.153.1247665351267; Wed, 15 Jul 2009 06:42:31 -0700 (PDT) Date: Wed, 15 Jul 2009 09:42:31 -0400 Message-ID: Subject: [gentoo-user] how to amrecover in amanda-2.6.0 From: John Blinka To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: dbb5b6c5-44f2-403e-9b61-d4001a7edc51 X-Archives-Hash: beb1fcc898c7ec3e8e4253a8a27cd4f9 Hi, all, I recently upgraded from amanda-2.4.5 to amanda-2.6.0_p2-r4. I think I've been able to make backups successfully: the backup reports amanda sends afterwards look reasonable. However, I've not been able to do restores. It appears that the contents of /etc/amanda/amandahosts and /etc/xinetd.d/amanda have changed between these two versions, and I suspect that my attempts at updating the contents are at fault. My 2.4.5 amandahosts file looked like this: my_host.my_domain amanda my_host.my_domain root and the 2.6.0_p2-r4 amandahosts looks like: my_host.my_domain amanda amdump my_host.my_domain root amindexd amidxtaped My 2.4.5 amanda file looked like this: service amanda { socket_type = dgram protocol = udp wait = yes user = amanda group = amanda groups = yes server = /usr/libexec/amanda/amandad only_from = 192.168.1.0 disable = no } service amandaidx { socket_type = stream protocol = tcp wait = no user = amanda group = amanda groups = yes server = /usr/libexec/amanda/amindexd only_from = 192.168.1.0 disable = no } service amidxtape { socket_type = stream protocol = tcp wait = no user = amanda group = amanda groups = yes server = /usr/libexec/amanda/amidxtaped only_from = 192.168.1.0 disable = no } and my 2.6.0_p2-r4 amanda file looks like: service amanda { disable = no flags = IPv4 socket_type = stream protocol = tcp wait = no user = amanda group = amanda groups = yes server = /usr/libexec/amanda/amandad server_args = -auth=bsdtcp amdump amindexd amidxtaped } The above was taken from /usr/share/doc/amanda-2.6.0_p2-r4/example/xinetd.amandaserver.bz2. A run of amcheck shows no errors. Running su -c "/usr/sbin/amadmin my_host find" amanda produces the expected output. Running amrecover -C my_host -t my_host -s my_host -d file:/backup/my_host/vtapes produces a pause of about 30 seconds then the following output: AMRECOVER Version 2.6.0p2. Contacting server on my_host ... [request failed: timeout waiting for ACK] /var/log/messages contains nothing enlightening. Neither does /var/amanda/my_host/log.* Thanks for any ideas on how to debug this! John Blinka