Hello guys, I need to create a daily backup for files and save them on another server
I use
rsync -av --progress --inplace --rsh='ssh -p22' /var/www/html/product root@37.101.11.144:/var/www/html/backup/
but this ask me for password , I want to create a cron job to copy files automatically at midnight.
how can I baypass the password ?