Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sitryd

macrumors member
Original poster
Sep 19, 2006
31
1
Hey,

I wrote a script to have rsync backup my full drive, but it seems to be missing a .DS_Store file or somesuch because rather than the nice and neat list:

Applications
Library
System
Users

All the unix/kernel files are visible (e.g. /dev, /etc, and so on)

my script is:

sudo rsync -ax --eahfs --ignore-errors --delete-after --showtogo --exclude-from=.RsyncExclude.txt / '/Volumes/Backup/'
sudo bless -folder /Volumes/Kalkin/System/Library/CoreServices > '/Users/Sitryd/Library/AppleScript Logs/RsyncLog.txt' 2>&1"


is there some flag I can use to purely clone the / directory?

Thanks!

Edit: I'm also getting a lot of

chown "/Volumes/Backup/Applications/VLC/VLC.app/Contents/Resources/gl.lproj/vlc.scriptTerminology" failed: No such file or directory

type errors.... any ideas? :)
 
is there some flag I can use to purely clone the / directory?

In the past I've used "dd" to clone volumes. dd is a bit more brute force than rsync. Boot off a small external boot disk then dd your root disk to a backp device.

I think rsync has so trouble with files that are in use.
and I know it will not copy boot blocks and partition tables. dd is just a dump block by block raw copy
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.