backing up freebsd

Tim Dunphy bluethundr at jokefire.com
Sun Jul 3 12:12:01 UTC 2011


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 at 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 at 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




More information about the freebsd-questions mailing list