Backup does not work

Discussion in 'Installation/Configuration' started by ubuntuip, Nov 5, 2010.

  1. ubuntuip

    ubuntuip New Member

    On Ubuntu 10.04:

    Setup:
    I have installed ISP Config using the perfect server step by step.
    I have setup a couple of sites to backup and
    the Directory /var/backup, has created some subdirectories but there are no data in them. I have set them to daily backup in the ISP CONFIG 3

    But i have a problem. Backup does not backup directories.
    Webalizer is installed. I have checked this.

    PROBLEM:
    But when i run the job cron_daily.sh i get an error: PHP Notice: Undefined offset: 1 in /usr/local/ispconfig/server/cron_daily.php on line 95

    x 100 times

    what is wrong can you help me ?

    is some packages missing to be installed or what is wrong?

    This is a sub view of my execution log from from CRON:
    PHP Notice: Undefined offset: 1 in /usr/local/ispconfig/server/cron_daily.php on line 95
    PHP Notice: Undefined variable: append in /usr/local/ispconfig/server/cron_daily.php on line 107
    sh: zip: command not found
    find: `standard output': Broken pipe
    find: write error
    sh: zip: command not found
    find: `standard output': Broken pipe
    find: write error
    sh: zip: command not found
    find: `standard output': Broken pipe
    find: write error
    finished.

    Im running PHP version :PHP 5.3.2-1ubuntu4.5 with Suhosin-Patch (cli) (built: Sep 17 2010 13:49:46)
    Copyright (c) 1997-2009 The PHP Group
    Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
     
    Last edited: Nov 5, 2010
  2. ubuntuip

    ubuntuip New Member

    Solved

    Line 95 @list in front of line
    line 107 instead of if ($apend == 1) out...
    changed to (removed (if ($apend == 1) )
    out ..

    then it worked!
     

Share This Page