On Tuesday 16 November 2010, Mick wrote:

Try:

'rsync -a -l -v --exclude "*/System Volume Information"
-e "ssh -c blowfish -l root" /mnt/User_WinXP/
10.10.10.25:/home/httpd/backup'

From "man rsync"
"Note that if you don’t specify --backup-dir, (1) the --omit-dir-times option 
will be implied, and (2) if --delete is also in effect (without --delete-
excluded), rsync will add a "protect" filter-rule for the backup suffix to the 
end of all your existing excludes (e.g. -f "P *~"). This will prevent 
previously backed-up files from being deleted. Note that if you are supplying 
your own filter rules, you may need to manually insert your own 
exclude/protect rule somewhere higher up in the list so that it has a high 
enough priority to be effective (e.g., if your rules specify a trailing 
inclusion/exclusion of ’*’, the auto-added rule would never be reached)."

HTH
-Robin
-- 
----------------------------------------------------------------------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
         from "Mandalay" by Rudyard Kipling
----------------------------------------------------------------------









Reply via email to