UBUNTU 16.04 Root Server.
I would like to have a crontab job run an rsync backup job every night at 2:14am. It copies a "folder" from an Ubuntu 16.04 machine to another root server in the internet. There is an ssh connection possible with a ssh key login.
The following command works in the terminal:
/usr/bin/rsync -az --delete -e ssh /home/user/folder/ firstname.lastname@example.org:/home/user/folder
But the following crontab job does not work:
14 2 * * * /usr/bin/rsync -az --delete -e ssh /home/user/folder/ email@example.com:/home/user/folder
I am having a hard time with crontab to be honest. It always feels to be a lucky situation if the job actually works.
Can someone see from the crontab job above what I am doing wrong?