it is working fine except, prompt for password. i have given --password-file=/root/backuppass. password is written there. the single line of content contains only password. no other string there. password is in plain text. why still it asks for password? i want to set it as cron, so i can't enter the password.
also, I get error when I use --del instead od --delete. --delete removes all files before starting transfer. however as per manual, --del is removes during copy. i get same error in case of --delete-during.
--password-file is used when connecting to rsyncd.
It looks like you use rsync over SSH and therefore you are prompted for the SSH password. To solve this and make it work from crontab you should setup keys for the login on the remote backup server, ~/.ssh/authorized_key
Or make sure rsyncd is running on the remote server and use rsync://... as the destination.