Hi David,
        you wrote...

> While running a psync backup, I get lots of warnings such as these:
>
> [[warnings deleted]]
>
> Should I worry about these? The command I'm running is

While I don't recognise all the warnings that you showed at least some of them
can be removed by replacing Dan's psync script with a modified version
available via versiontracker. More precisely, it's obtainable from

http://home.pacbell.net/jacek_s/psync-0.65.5.sit

I've been using this version for a few weeks now and it's eliminated a heap of
warnings that used to accompany the circumstances listed below. Just throw the
"psync" in the expanded sit directory into /usr/local/bin in place of the
original psync. Note the last line below: he's carefully commented the changes.
Here's some info from the README file that accompanies Jacek's revised version:

------------------------------------------------------------------------------
Fixed bugs: 

1. If a file in source was replaced by a folder the script barfed and did not
backup that folder 

2. If a folder in source was replaced by a file the script produced an error
and did not remove old folder nor backup the file that replaced it.

3. If a folder was removed in source and corresponding folder in destination
contained any of the IgnoreFiles (.DS_Store is almost always there), the ignore
file was not deleted, folder was not empty and could not be deleted either.
After a while there were a lot of empty folders in the destination. 

4. If a file to be deleted in destination was a link with no target, it would
not be deleted (-e $dfile condition would fail). Any enclosing folders would
not be deleted either.

5. Dead links could not be deleted or replaced with folders

6. Locked files in destination could not be deleted (when removed from source)
nor replaced (when changed in source).

Fully implemented -a option (it was already used but only in one place). It is
a full preview of what would happen if the backup was performed, but without
doing anything - -n option only lists total number of files that would be
deleted or copied, but it does not say which files.

Prettified number of files to delete/copy/ignore (removed empty lines)

Added to $IgnorePat (so it is skipped):
    .*/Library/Caches/.*
    .*/Library/Safari/Icons/.*
    .*/System/Library/Extensions.kextcache
    .*/private/var/db/NetworkInterfaces.xml
    .*/private/var/vm/swapfile*
    .*/private/var/db/BootCache.playlist
    .*/private/var/db/volinfo.database
    .*/private/var/db/SystemConfiguration/com.apple.PowerManagement.xml

You can find all my changes by searching for "###js".

------------------------------------------------------------------------------

Cheers,
Paul

Reply via email to