Closed Vannixxo closed 2 years ago
That's not an isssue of RaspiBackup.sh ...
sudo -i
post the output of crontab -l
Without your cronjobs output (e.g. in /var/log/syslog) no further help is possible.
If you don't want to fiddle about crontab format, you should also have a look to anacron (which is installed in your Raspi by default). Write a small script which setup the env and starts the backup (the name of the script should have no extension). Put this script into one of anacrons folders (/etc/cron.hourly, /etc/cron.daily, /etc/cron.monthly).
Hello, I always used this great script and restored my Rpi three times with it.
I never managed to get crontab working tough…
sudo bash /home/pi/RaspiBackup/RaspiBackup.sh start -i /dev/sdb -s 15000 -c /media/pi/Time\ Capsule/RaspiBackup/RaspiBackup$(date +%d-%m-%Y).img
this command works successfully when manually executed, but crontab never execs it (I even tried to run it each half an hour, nothing happens)