Rsync full backup issue...

Discussion in 'Mac Programming' started by sitryd, Sep 24, 2007.

  1. sitryd macrumors member

    Sep 19, 2006

    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:


    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?


    Edit: I'm also getting a lot of

    chown "/Volumes/Backup/Applications/VLC/" failed: No such file or directory

    type errors.... any ideas? :)
  2. ChrisA macrumors G4

    Jan 5, 2006
    Redondo Beach, California
    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

Share This Page