Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to back up my Macbook since I'm going to be traveling around for the next 2 weeks.

My plan is to use rsync and SSH keys to backup a bootable copy of the Snow Leopard Macbook to a MacMini at my house running Tiger. This way, my PC will be automatically backing up to the Mac Mini at home as I travel around.

I have set up a script to try to perform this, it looks like this :

#! /bin/bash

if (( `id -u` != 0 )); then
{ echo "Sorry must be root"; exit; }
fi;

ssh-add
ssh root@machine.at.home "/usr/sbin/vsdbutil -d /Volumes/BackupDrive" /usr/local/bin/rsync -aNHAXxv --protect-args --exclude-from backup_excludes --fileflags --delete --force-change --rsync-path="/usr/local/bin/rsync" / root@machine.at.home:/Volumes/BackupDrive >> ~/Library/Logs/rsync.log
ssh root@machine.at.home "bless -folder /Volumes/BackupDrive/System/Library/CoreServices"

This script works great for the backup, but when I try to boot from it, it displays a grey Apple screen with a spinning flash wheel, and doesn't boot.

When I connect the hard disk directly to the machine and run this :

/usr/local/bin/rsync -aNHAXxv --protect-args --exclude-from backup_excludes --fileflags --delete --force-change --rsync-path="/usr/local/bin/rsync" / /Volumes/Rsync >> ~/Library/Logs/rsync-hd.log
sudo bless -folder /Volumes/Rsync/System/Library/CoreServices

It works fine, and boots from the drive.

Any ideas on how I could get this to work?

Thank you very much in advance for your help

Jay

share|improve this question

migrated from serverfault.com Dec 20 '09 at 22:40

This question came from our site for system and network administrators.

You could try Carbon Copy Cloner. When using it to backup to a remote machine, it does rsync over ssh with pre-shared keys and does make bootable backups.

share|improve this answer

http://www.jwz.org/doc/backups.html

Should cover you.

share|improve this answer

You must log in to answer this question.