Here is what I have that I run from cron, /usr/local/bin/rsync -aq --password-file=/usr/local/etc/rsync.password [EMAIL PROTECTED]::usr/local/www/bwlogic.com/html /usr/local/www/bwlogic.com
now I am using a password file and not SSH, I see that you are looking to use SSH to connect, if so this page might be of some help http://killyridols.net/rsyncssh.shtml I would suggest you drop the SSH until you have rsync working fine, then add SSH. cheers Jay -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of M.D. DeWar Sent: Monday, October 27, 2003 11:58 AM To: freebsd Subject: rsync help I would like to backup some website directorys on one machine to another machine. I have read the rsync man pages and some sites but am still confused about how the command line should be. I will only run it from the command line every so often. I have tried several ways but can't figure it out. I guess I am having issues with how the directories should be listed on the command line. One the server that is to be backed up the directory is /home/sites/www.domain.com/web - all files and other directories are below the /web and in reading it seemed I should keep the trailing slash off. on the server that the files will be copied to the directory is /home/domain/website/ If I understood right the trailing slash should be on this one. ./rsync -ae ssh [EMAIL PROTECTED]:/home/sites/www.domain.com/web /home/domain/website/ am I even close to being right ? thanks Mark _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"