[macosx-unix] Re: amanda backup

George Georgalis george at galis.org
Mon Mar 6 16:29:09 EST 2006


On Sun, Mar 05, 2006 at 10:53:36AM -0500, Jan Schaumann wrote:
>Hi all,
>
>So how are people doing regular automated backups of their HFS and HFS+
>filesystems?  I set up amanda, but notice that dump(8) can't dump these
>partitions.  tar(8) doesn't preserve resource forks.  So Apple ships
>their BSD derived OS with tools that can't backup the normal standard
>filesystem.  Brilliant.  (Does dump(8) even dump apple UFS
>filesystems?)
>
>Does Mac OS X have other tools that can create a proper backup of a
>filesystem?

well this thread has a lotta stuff I never use, but my solution has been

 rsync -ah --delete --link-dest=$LAST_DATE source/ backup/$NEW_DATE/

(options from memory). So when you do a backup, each NEW_DATE
directory has a full copy of the source, however hardlinks are
made for files that didn't change since the last run. You probably
want to use --numeric-ids and root, if you are backing up a system
to a separate system. Or you can use single user if that's all
you're interested in.

I've not experimented with consumption of hardlinks, not sure if
that is an issue with HFS+ but they may be something to watch out
for.

When you're setup, you can do full backups quite frequently with
nominal resources.

// George


-- 
George Georgalis, systems architect, administrator <IXOYE><
http://galis.org/ cell:646-331-2027 mailto:george at galis.org


More information about the macosx-unix mailing list