HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Backup problem (http://www.howtoforge.com/forums/showthread.php?t=54586)

Samgarr 20th October 2011 13:43

Backup problem
 
Hi,
use the standard backup in ispconfig3. Now I have found that backups do not work.
I found cron_daily.php in /usr/local/ISPConfig/server/, but this file does not start anywhere in cron.d, cron.daily .... etc..
/var/log/syslog says nothing about cron_daily.php.

Thanks!

till 20th October 2011 17:04

Most likely a application which is required for the backup is missing on your server. Please check that the zip and sudo packages are installed.

The cronjob is not cron_daily.php, it is cron_daily.sh and you can see this cronjob when you execute:

crontab -l

as root user.

Samgarr 21st October 2011 12:06

crontab -l
Code:

no crontab for root
zip and sudo packages are installed correctly.

thanks!

till 21st October 2011 12:32

Thats strange, as no function in ispconfig except of showing the interface can work without the root crontab.

ISPConfig has to be reconfigured to fix that. Download ispconfig 3.0.3.3 tar.gz, unpack it and run the update.php script in the install folder. Then choose to reconfigure services during update.

defnur 27th October 2011 21:46

Code:

# crontab -l
* * * * * /usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log
30 00 * * * /usr/local/ispconfig/server/cron_daily.sh > /dev/null 2>> /var/log/ispconfig/cron.log

where can I find these entries? I'd like to change backup time (0:30).
there is nothing in /etc/crontab and /etc/cron.d/ about.

and i have alot of sites to be backuped, is it going simultaneously or one by one?

thx.

till 28th October 2011 09:48

These line are in the root crontab. You can edit them with

crontab -e

Dont change that line as it might cause problems with other jobs in ispconfig, e.g. statistics can fail if you change the time. This job is not just the backup job, its the cronjonŽb for all ispconfig daily cron activities. ISPConfig takes care that the backup jobs are run at the end of all other daily jobs in ispconfig so that they dont collide with any other job in ispconfig.


All times are GMT +2. The time now is 10:45.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.