View Single Post
  #32  
Old 9th September 2006, 13:06
SupuS SupuS is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 201
Thanks: 68
Thanked 13 Times in 11 Posts
Unhappy

Quote:
Originally Posted by till
I tested the backup script on Centos and it worked finr. SupuS, on which distribution do you get the errors?
Hi till

I have ubuntu dapper server ... and backup script still doesn't work for me .. If I ran it by

Code:
# /root/ispconfig/php/php /root/ispconfig/scripts/shell/backup.php
        zip warning: name not matched: *

zip error: Nothing to do! (try: zip -ry /home/admispconfig/ispconfig/temp/4aa72ca18befc9934e006b54a0c4e45c/web20_user.zip . -i *)
        zip warning: name not matched: *

zip error: Nothing to do! (try: zip -ry /home/admispconfig/ispconfig/temp/04ae3e6e61a92b6c31720c089143b412/web41_user.zip . -i *)
        zip warning: name not matched: *

zip error: Nothing to do! (try: zip -ry /home/admispconfig/ispconfig/temp/c4afe2f7ccc9cb77ceceeecab3cdc0e3/web42_user.zip . -i *)
everything is ok .. backup is created for each user .. except some empty dirs .. I think .. but script don't work automaticaly by cron ..

and this is in my temp .. still not changed ..

Code:
# ls -la /home/admispconfig/ispconfig/temp
total 190548
drwxr-xr-x  8 admispconfig admispconfig      4096 Sep  9 12:51 .
drwxr-xr-x  8 admispconfig admispconfig      4096 Sep  7 10:15 ..
drwxr-xr-x  2 admispconfig admispconfig      4096 Jul  4 21:27 4a4b184eb64b07d368410afa3c3c5451
-rwxr-xr-x  1 admispconfig admispconfig 185739938 Jul  4 19:28 5a0f8ca8bed47e68f257012f994d514b.zip
-rwxr-xr-x  1 admispconfig admispconfig   4564092 Jul  4 21:28 7084c0e33e4e5567e836fa7b5d7b4919.zip
drwxr-xr-x  2 admispconfig admispconfig      4096 Jul  4 19:28 964bdee99cfacf64337c3838cee7b488
drwxr-xr-x  2 admispconfig admispconfig      4096 Jun  1 23:25 bf8af9eb4f765e5cbe0a8f15a1a43282
-rwxr-xr-x  1 admispconfig admispconfig   4564092 Jul  4 21:27 f0cc53b5aba398ba73befe471aafcc68.zip
drwxr-xr-x  2 admispconfig admispconfig      4096 Jul  4 21:28 f4a5874ade18b559b07b60194939d0c6
-rwxr-xr-x  1 admispconfig admispconfig         0 Jun 29 01:23 hta_nMqhJz
drwxr-xr-x  2 admispconfig admispconfig      4096 Jun  4 16:31 roundcubemail
drwxr-xr-x 16 admispconfig admispconfig      4096 Sep  5 15:33 webmail
in my crontab is:

Code:
# crontab -l
30 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/ftp_logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/mail_logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/cleanup.php &> /dev/null
0 4 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php &> /dev/null
0,30 * * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/check_services.php &> /dev/null
15 3,15 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/quota_msg.php &> /dev/null
40 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/traffic.php &> /dev/null
05 02 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/backup.php &> /dev/null
Reply With Quote