Hi A few weeks ego backup stopped working. I was search solution but no effects. When I run backup by All websites are backup correctly. How to debug cron backup? Thanks Dariusz
Use debugging instructions, available in this document: https://forum.howtoforge.com/threads/please-read-before-posting.58408/ Debugging instructions in the "Not writing to disk" -part.
Please run the command: crontab -l as root user and post the result. And run the command: /usr/local/ispconfig/server/cron.sh do you get any errors when you run it?
result of commands: However in log (/var/log/ispconfig/cron.log) is not any entry about backup at night. Only manual backup is logged execute from ISPConfig GUI for one website..
Wish you had posted the crontab -l in CODE tags. Code: * * * * * /usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done * * * * * /usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done Compare what you have to the above, especially check if the line endings really are missing.
In the dbispconfig mysql database is a table sys_cron, inside that table you can find one record for the backup cronjob. Try to delete that record using e.g. phpmyadmin. Then wait until tomorrow to see if the backup has been created again.
I was remove record from table sys_cron yesterday and no appear again and no backup. Also check crontab entry and there are correct.
Hi I found solution. I removed file /usr/local/ispconfig/server/temp/.ispconfig_cron_lock and auto backup start working. Thanks