Backup problem

Discussion in 'Installation/Configuration' started by Samgarr, Oct 20, 2011.

  1. Samgarr

    Samgarr New Member

    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!
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    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.
     
  3. Samgarr

    Samgarr New Member

    crontab -l
    Code:
    no crontab for root
    zip and sudo packages are installed correctly.

    thanks!
     
  4. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    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.
     
  5. defnur

    defnur New Member

    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.
     
  6. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    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.
     

Share This Page