From owner-freebsd-questions@FreeBSD.ORG Sun Jul 3 12:12:01 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F674106564A for ; Sun, 3 Jul 2011 12:12:01 +0000 (UTC) (envelope-from bluethundr@jokefire.com) Received: from mail.jokefire.com (mail.jokefire.com [66.228.39.212]) by mx1.freebsd.org (Postfix) with ESMTP id 060368FC18 for ; Sun, 3 Jul 2011 12:12:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.jokefire.com (Postfix) with ESMTP id B0E254E4DA for ; Sun, 3 Jul 2011 11:56:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at jokefire.com Received: from mail.jokefire.com ([127.0.0.1]) by localhost (mail.jokefire.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4BUz9Hy1qXnn for ; Sun, 3 Jul 2011 11:56:35 +0000 (UTC) Received: from mail.jokefire.com (mail.jokefire.com [66.228.39.212]) by mail.jokefire.com (Postfix) with ESMTP id 248984E4D9 for ; Sun, 3 Jul 2011 11:56:35 +0000 (UTC) Date: Sun, 03 Jul 2011 11:56:35 -0000 (UTC) From: Tim Dunphy To: FreeBSD Questions Message-ID: <80784e59-447e-4581-b8f6-a50a758ceebe@li289-212> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Originating-IP: [71.187.203.194] X-Mailer: Zimbra 7.1.0_GA_3140 (ZimbraWebClient - FF3.0 (Linux)/7.1.0_GA_3140) Subject: backing up freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jul 2011 12:12:01 -0000 hello list!! I am attempting to backup my freebsd box using amanda. I am enjoying great success backing up linux but the FreeBSD machine is one of my cornerstone network machines housing LDAP and DNS and it would be a a genuinely good idea to get this backed up. So fortunately I had no trouble at all installing the following: LBSD2# pkg_info | grep -e amanda -e mtx -e aespipe aespipe-v2.3.e_1 An AES encrypting or decrypting pipe amanda-client-3.2.1,1 The Advanced Maryland Automatic Network Disk Archiver (clie amanda-perl-wrapper-1.01 Perl wrapper to use with Amanda (with libthr.so.* linked) mtx-1.3.11 Control SCSI media changer devices I was able to export the amanda user's key to the bsd box and log in without a password. [amandabackup@VIRTCENT18:~] $ssh bsd2.summitnjhome.com Last login: Sat Jul 2 22:54:06 2011 from 192.168.1.40 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. ######################################################### # EXAMPLE.COM # # TITLE: LBSD2 BOX # # HOST: LBSD2 # # LOCATION: SUMMIT BASEMENT # ######################################################## But when I run amcheck I still get an EOF error even tho I can ssh in without a pass. WARNING: BSD2.summitnjhome.com: selfcheck request failed: EOF on read from BSD2.summitnjhome.com And if I try to run an amservice on the bsd client this is the response I get: [amandabackup@VIRTCENT18:~] $amservice bsd2.summitnjhome.com ssh noop < /dev/null Permission denied (publickey,keyboard-interactive). Request failed: EOF on read from bsd2.summitnjhome.com Now, under centos amanda runs as the 'amandabackup' user with the group 'disk'. Installing the package under freebsd adds no such user and I had to add them manually. And under centos the amanda home is /var/lib/amanda/. Under freebsd this directory is not created. Under bsd it looked like the /usr/local/share/amanda directory should function as it's home but I'm unsure of that. I tried chowning it to amandabackup:disk but that had no effect on the error. Could someone please provide a tip on how I can go about backing up the FreeBSD client? thanks in advance! tim