#1  
Old 26th April 2007, 17:14
Xtreem1986 Xtreem1986 is offline
Junior Member
 
Join Date: Mar 2007
Posts: 14
Thanks: 2
Thanked 0 Times in 0 Posts
Default Automated Backup

I upgraded my Debian the other day and ran the ISPConfig install to repair all the glitches with versions. It worked great, except now I'm not having my sites automatically backed up.

Cronjobs are configured correctly (the rest run fine)

I've attempted to run "php /root/ispconfig/scripts/shell/backup.php" from the command line and there was no joy.

I took a look in the file and found "if($go_info["server"]["do_automated_backups"] != 1) die();" So I commented it out and it worked fine.

I guess do_automated_backups is a variable I can set somewhere, but I torn myself apart looking for where I can turn this on properly. I figure someone is going to point out the obvious here and tell me its right under my nose, but I can't find it anywhere! In the mean time I'll keep that line commented!
__________________
http://www.amarus.co.uk
Debian Sarge User - ISPConfig 2.2.11
Reply With Quote
Sponsored Links
  #2  
Old 26th April 2007, 17:37
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,989
Thanks: 825
Thanked 5,373 Times in 4,220 Posts
Default

You can enable the automated backups in /home/admispconfig/ispconfig/lib/config.inc.php by changing or adding the line:

$go_info["server"]["do_automated_backups"] = 1;
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
Xtreem1986 (26th April 2007)
  #3  
Old 26th April 2007, 17:47
Xtreem1986 Xtreem1986 is offline
Junior Member
 
Join Date: Mar 2007
Posts: 14
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Ah thanks a lot =). I had been thinking that was in the database so wasted a lot of time looking there. All is working great, thanks again
__________________
http://www.amarus.co.uk
Debian Sarge User - ISPConfig 2.2.11
Reply With Quote
  #4  
Old 15th May 2007, 08:42
FeraTechInc FeraTechInc is offline
Senior Member
 
Join Date: Feb 2007
Posts: 138
Thanks: 3
Thanked 5 Times in 5 Posts
Default

Does this automatic backup save all information including MSQL databases?

Also, how do you restore the backup?
Reply With Quote
  #5  
Old 15th May 2007, 11:27
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,989
Thanks: 825
Thanked 5,373 Times in 4,220 Posts
Default

The backup contains the user databases as well.

Quote:
Also, how do you restore the backup?
The backup is just a .zip file. Unpack ist and upload the contents again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 15th May 2007, 14:09
jfruano jfruano is offline
Member
 
Join Date: Mar 2006
Posts: 95
Thanks: 9
Thanked 0 Times in 0 Posts
Question

Hi Till.

A question:

When the files and directories are restored, the permissions and assigned owners kept ?

Thanks.
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
Automated backup of sites (& db's) to smb:// share woleium General 21 12th November 2006 16:03
Complete automated backup task antoinel12 General 8 10th November 2006 16:22
automated backup pattech General 3 3rd November 2006 11:15
Automated backup MathieuMa General 1 13th April 2006 08:33
How of create an automated backup of system+files jeremy Installation/Configuration 13 25th February 2006 13:23


All times are GMT +2. The time now is 12:44.


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