Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 26th April 2006, 13:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Please set $go_info["server"]["do_automated_backups"] to 1 in /home/admispconfig/ispconfig/lib/config.inc.php.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Sponsored Links
  #12  
Old 26th April 2006, 15:02
dumb-medic dumb-medic is offline
Junior Member
 
Join Date: Jan 2006
Posts: 26
Thanks: 1
Thanked 0 Times in 0 Posts
Thumbs up Fixed!

that did it, was set to 0.

dropped the crontab-line on bash as root again, all backup-folders including zips are made.

thanks falko, thanks till!
regards,
dumb-medic
Reply With Quote
  #13  
Old 3rd May 2006, 23:08
chrno chrno is offline
Member
 
Join Date: Apr 2006
Posts: 70
Thanks: 0
Thanked 1 Time in 1 Post
Default

thanks for the info!

How often will this run? daily? I'll have to backup bind and apache files too right for complete backup?
Reply With Quote
  #14  
Old 4th May 2006, 07:38
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

The backup is only for the content of the websites. You will have to backup your configuration files and the ISPconfig database separately.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #15  
Old 21st July 2006, 22:45
SupuS SupuS is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 201
Thanks: 68
Thanked 13 Times in 11 Posts
Default

Hi

Automatic backups didn't work for me. In crontab I have appropriate line and in my /home/admispconfig/ispconfig/lib/config.inc.php I set up backups to 1 and wait for couple days .. and nothing .. in backups directory is only one backup which I created by

Code:
/root/ispconfig/php/php /root/ispconfig/scripts/shell/backup.php
and in /var/log/messages or /var/log/syslog no error ...

This problem I had in previous version of ISPconfig and after upgrade to latest version it remains ..

any idea?
Reply With Quote
  #16  
Old 22nd July 2006, 17:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

What do you see when you run
Code:
/home/admispconfig/ispconfig/tools/zip/zip -h
? Maybe there's a problem with zip...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #17  
Old 22nd July 2006, 22:37
SupuS SupuS is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 201
Thanks: 68
Thanked 13 Times in 11 Posts
Default

Quote:
Originally Posted by falko
What do you see when you run
Code:
/home/admispconfig/ispconfig/tools/zip/zip -h
? Maybe there's a problem with zip...
Output of this command is

Code:
# /home/admispconfig/ispconfig/tools/zip/zip -h
Copyright (C) 1990-1999 Info-ZIP
Type 'zip "-L"' for software license.
Zip 2.3 (November 29th 1999). Usage:
zip [-options] [-b path] [-t mmddyyyy] [-n suffixes] [zipfile list] [-xi list]
  The default action is to add or replace zipfile entries from list, which
  can include the special name - to compress standard input.
  If zipfile and list are omitted, zip compresses stdin to stdout.
  -f   freshen: only changed files  -u   update: only changed or new files
  -d   delete entries in zipfile    -m   move into zipfile (delete files)
  -r   recurse into directories     -j   junk (don't record) directory names
  -0   store only                   -l   convert LF to CR LF (-ll CR LF to LF)
  -1   compress faster              -9   compress better
  -q   quiet operation              -v   verbose operation/print version info
  -c   add one-line comments        -z   add zipfile comment
  -@   read names from stdin        -o   make zipfile as old as latest entry
  -x   exclude the following names  -i   include only the following names
  -F   fix zipfile (-FF try harder) -D   do not add directory entries
  -A   adjust self-extracting exe   -J   junk zipfile prefix (unzipsfx)
  -T   test zipfile integrity       -X   eXclude eXtra file attributes
  -y   store symbolic links as the link instead of the referenced file
  -R   PKZIP recursion (see manual)
  -h   show this help               -n   don't compress these suffixes
Reply With Quote
  #18  
Old 23rd July 2006, 11:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

If the backup works if you run:

/root/ispconfig/php/php /root/ispconfig/scripts/shell/backup.php

then I guess you have a cron error. Please check your root crontab at which time the backup script is executed and then have a look at your syslog if you get cron errors in this time period.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #19  
Old 24th July 2006, 11:01
SupuS SupuS is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 201
Thanks: 68
Thanked 13 Times in 11 Posts
Default

If I execute backup manualy I get:

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/f5deba956ee428ec03ec9615467911f0/web20_user.zip . -i *)
        zip warning: name not matched: *

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

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

zip error: Nothing to do! (try: zip -ry /home/admispconfig/ispconfig/temp/a3d95fc162fdccff67dbd5f34b64b2c1/web32_user.zip . -i *)
These webs has not any data yet. I don't know if it is fatal error or not but I have backup files in backup dirs and in backup.php is -ry (I have latest version of ISPConfig). In syslog is not any line with *CRON* or *backup* in a defined time.

I tried change crontab line to

Code:
05 02 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/backup.php &> /root/backup.txt
but in my root directory is not any new file .. what is wrong?

my crontab:

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

Last edited by SupuS; 24th July 2006 at 11:09.
Reply With Quote
  #20  
Old 24th July 2006, 11:08
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
 
Default

The backups where not stored in your root directory, they where stored in the backup directory of the website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! micko_escalade Installation/Configuration 35 30th March 2007 11:31
Backup routine for ISPConfig-equipped server IntnsRed General 4 5th May 2006 17:29
TPS Fedora Core 4 Managing e-mail adr + Backup Hagforce HOWTO-Related Questions 9 22nd February 2006 14:59
ISPConfig Failure on SuSe 9.3 gimhan90 Installation/Configuration 13 2nd February 2006 10:29
How to disable automatic backup? ddelbia General 4 22nd January 2006 16:40


All times are GMT +2. The time now is 05:22.


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