I'm running an linux server and needing to back it up each day to a Mac OS X Server. The sync works fine, however a dated backup is not working for some reason. I'm trying to use the following to create those backups, could someone please point out why this is not working or why it there is a Mac OS X issue with this at the moment? sudo rsync -azRvb -e ssh --backup-dir=/Volumes/Production\ Backup/Production_Server_Backup/dated_backup/`date "+%m-%d-%y"` root@mydomain.com:/ /Volumes/Production\ Backup/Production_Server_Backup/ Thanks much! -George -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 579 bytes Desc: not available Url : http://lists.samba.org/archive/rsync/attachments/20050207/f1096b8e/attachment.bin
On Mon, Feb 07, 2005 at 06:04:49PM -0500, lists@southernohio.net wrote:> sudo rsync -azRvb -e ssh --backup-dir=/Volumes/Production\ > Backup/Production_Server_Backup/dated_backup/`date "+%m-%d-%y"` > root@mydomain.com:/ /Volumes/Production\ Backup/Production_Server_Backup/Directory-specifying options that contain spaces are not currently working in rsync. Either rename the dir or create a symlink to the dir that doesn't contain a space and use that name in the --backup-dir option. ..wayne..