Using rsync

I've been using rsync for awhile now, but I cannot get it to work when I specify the location of a the password file to use.

See, I manually use rsync to backup data from server-to-server and I want to setup a cron that does that automatically; however, when I include the --password-file= flag, it still asks for a password upon execution.

rsync -arzgop --password-file=/path/to/file -e ssh /folder/to/backup root@yomiko.neoservers.com:/folder/destination

Anybody know how to get rsync to automatically connect to the server and do as told? Thanks.

 

 

 

 

Top