Help backing up to networked drive

Mike Loiterman mike at
Thu Jan 19 07:52:58 PST 2006

I would like to backup my server to a firewire drive connected to a
Macintosh Mini. Both machines are on my local network and, of course, behind
a secure firewall.

Right now I'm using this script to take backups:

 /sbin/dump -0uanL -f - / | gzip -2 | ssh -c blowfish mike at dd
of=/Volumes/Server-Backup/dump-root.gz && \ 
 /sbin/dump -0uanL -f - /tmp | gzip -2 | ssh -c blowfish mike at
dd of=/Volumes/Server-Backup/dump-tmp.gz && \ 
 /sbin/dump -0uanL -f - /usr | gzip -2 | ssh -c blowfish mike at
dd of=/Volumes/Server-Backup/dump-usr.gz && \ 
 /sbin/dump -0uanL -f - /var | gzip -2 | ssh -c blowfish mike at
dd of=/Volumes/Server-Backup/dump-var.gz 

This is working fine, but I have to run the script mannually and enter the

So my question are these:
1.  Is there any other way of doing this so that I would not have to deal
with the password issue from ssh?  This is all taking place behind a secure
firewall on my local network, so ssh is probably not necessary.

2.  How can I use samba to mount the Mini's drive?  mount_smbfs would only
see the home share belonging to the user I was logging in with and not the
/Volume directory on the Mac.  Sym-links from the users /home to /Volumes
didn't work correctly.  How can I access the drives in /Volumes via samba?

Mike Loiterman
Tel: 630-302-4944
Fax: 773-442-0992
Email: mike at
PGP Key: 0xD1B9D18E

More information about the freebsd-questions mailing list