How can I backup my system to a remote server (AFP, Samba, or NFS share)?

Setup a new volume on your Nexenta/OS box for your backup and set it to share out as an iSCSI LUN. Then use one of several iSCSI initiators for MacOS X to attach the backup volume on your back. On your mac, format the volume as HFS+. Now you can use CCC or rsync, etc. to do your backups.


Have you looked into using Carbon Copy Cloner? I use this to a manual bit-for-bit backup of my SSD to a network drive once a month or so and it works flawlessly. I know it does incremental backups, and I've had no trouble dumping my drive over gigabit ethernet.


Not the exact answer to your question, but you can rsync resource forks too. Here are really nice articles about:

  • http://www.afp548.com/article.php?story=20050219192044818
  • http://www.kremalicious.com/2008/06/ubuntu-as-mac-file-server-and-time-machine-volume/
  • http://quesera.com/reynhout/misc/rsync+hfsmode/

ps: do you use solaris or freebsd?

So, what im tried now:

I have a remote OS (not mac) and mouned it via fuse/sshfs (over the slow ADSL).

sshfs [email protected]:/path/to/dir /Users/me/Mount/myfs -oauto_cache,reconnect,volname=MyFs

On my macbook entered this:

/usr/bin/rsync -avE /Users/me/tmp/bk /Users/me/Mount/myfs/tmp/test

(the /tmp/test already exists on the remote computer)

and got this:

building file list ... done
bk/
._bk
bk/.DS_Store
bk/._.DS_Store
bk/Icon\#015
bk/._Icon\#015
bk/test.rtfd/
bk/test.rtfd/.LSOverride
bk/test.rtfd/TXT.rtf

sent 311127 bytes  received 186 bytes  15186.00 bytes/sec
total size is 6874  speedup is 0.02

As you can see, resource forks are converted into dot_underscore files and copied into remote location. (for example, the custom icon for the directory bk too).

Therefore i don't understand, why you can't rsync into remote zfs?