rsync problem
Hi I am trying to backup my sites to a remote server. All seems to work if I do it manually using rsync via ssh2 but I have a problem as it promts me for the root password after I type the command. How can I include the password into the command so I can crontab it once per week.
Here is the syntax I am using:
rsync -varpogt --rsh="ssh2 -l admin" --rsync-path=/home/admin/rsync-2.5.5/rsync --exclude-from=/docs/rsync-exclude /data root@IP-address:/
__________________
SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.
|