On Wed, Jul 31, 2002 at 11:09:38PM -0500, Kirk Strauser wrote:
> I'm running Amanda on a FreeBSD server to back up various Unix-like
> workstations and servers on a LAN.  We recently bought an iMac running Mac
> OS X, and I'd like to add it to the disklist whenever possible.  Has anyone
> had any luck doing such a thing?

I've been running the client experimentally on an OSX box in our
education department. It seems to work, although the gnutar I'm using
can't back up resource forks or finder info. I've come across an hfstar
program [0], which is based on a tar version known not to work with
amanda.  I've been meaning to port the hfstar patches forward to a more
current gnutar [1], but I haven't gotten around to it yet. I'll probably
work on it later this week or sometime next week.

My understanding is that the OS still has resource forks with necessary
data, so a backup without resource forks wouldn't be enough to do a
system restore from. In my limited testing, the datafiles I've cp'd
(cp dosen't know how to copy resource forks) were still usable, but I'd
feel better with resource forks and finder info on tape.

The biggest problem I've got now is that people tend to turn off the OS
X machine when they go home for the day :(


Here are the steps I took to install Amanda, modified from the notes I
took:

* Install fink and Developer Tools

* Create a backup user
  
  I created a user called 'backup' because user daemon (whom I would
  have run amanda as) dosen't have read privs on its homedir. Not being
  familiar with OS X's tools, I created the user by copying fields in
  NetInfo Manager. I don't know if there's a better way to do it.

* Configure amanda (using the gnutar provided by fink). The configure
  script wasn't happy until I invoked it with --host=powerpc-apple-osx.
  I invoked configure thusly (as fink's /sw/bin was already on my path):

  ./configure --sysconfdir=/etc/amanda --prefix=/usr/local/amanda \
  --with-gnutar-listdir=/var/amanda/gnutar-lists \
  --with-index-server=my-index-server --with-user=backup \
  --with-group=operator --with-amandahosts --without-server \
  --with-gzip=/etc/amanda/gzip --host=powerpc-apple-osx \

  /var/amanda wasn't the homedir I created for backup, but in
  retrospect, it should have been.

  (I specified an alternate gzip because I use the gpg hack. Fink
  has a gnupg package, which was rather handy.)

  Amanda's build process gave off some linker warnings, which I don't
  have written down. I believe they involved symbols starting with
  '__reg'. They weren't fatal, and amanda seemed to work, so I ignored
  them.

* Install

  sudo make install
  sudo touch /etc/amandates && sudo chown backup.operator /etc/amandates
  sudo mkdir /var/amanda && sudo mkdir /var/amanda/gnutar-lists
  sudo chown -R backup.operator /var/amanda

  The NetInfo services database already knows about amanda, OS X ships
  with tcpd, and inetd is standard, so there's not as much weird Apple
  stuff to deal with at this stage of the install.





[0] http://www.geocities.com/paulotex/tar/

[1] anyone else noticed that ftp on alpha.gnu.org was down for a week or
    so? Tar still seems to be missing, so I ended up getting a working
    gnutar from the Debian archives instead.

-- 
William Aoki     [EMAIL PROTECTED]       /"\  ASCII Ribbon Campaign
B1FB C169 C7A6 238B 280B  <- key change    \ /  No HTML in mail or news!
99AF A093 29AE 0AE1 9734   prev. expired    X
                                           / \

Reply via email to