#1  
Old 26th April 2007, 18: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, 18:37
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,804
Thanks: 840
Thanked 5,613 Times in 4,424 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, 18: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, 09:42
FeraTechInc FeraTechInc is offline
Senior Member
 
Join Date: Feb 2007
Posts: 138
Thanks: 3
Thanked 6 Times in 6 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, 12:27
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,804
Thanks: 840
Thanked 5,613 Times in 4,424 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, 15: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
  #7  
Old 16th May 2007, 16:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
Default

Quote:
Originally Posted by jfruano
the permissions and assigned owners kept ?

Thanks.
No. As far as I know, this is possible with tar.gz files, but not with zip files.
But if you upload the files through FTP, they should get the correct permissions and owner automatically.
__________________
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
  #8  
Old 20th June 2007, 23:00
DaRKNeSS666NL DaRKNeSS666NL is offline
Senior Member
 
Join Date: Nov 2006
Posts: 208
Thanks: 17
Thanked 5 Times in 4 Posts
Default

One question from this site.

How often is the backup running. I am looking just for a way to backup my server and web pages on it every night.

Learned the hard way lost one of my site's yesterday without an backup.
So i must start over again.

Is there also an opensource like ghost software were I can atomaticly do a disk dump?

I have just set it to run so chanced the 0 to 1 But were can I find the backup when it is created?

TIA
__________________
Updating my server to Debian Squeeze, so here I go again...

Last edited by DaRKNeSS666NL; 20th June 2007 at 23:03.
Reply With Quote
  #9  
Old 21st June 2007, 03:47
FeraTechInc FeraTechInc is offline
Senior Member
 
Join Date: Feb 2007
Posts: 138
Thanks: 3
Thanked 6 Times in 6 Posts
Default

I'm looking for the same exact thing.

I will be looking into the available options and setting up something on my server soon.

I will post in this thread my walkthrough.
Reply With Quote
  #10  
Old 21st June 2007, 18:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
 
Default

Quote:
Originally Posted by DaRKNeSS666NL
Is there also an opensource like ghost software were I can atomaticly do a disk dump?
Take a look here: http://www.howtoforge.com/back_up_re...th_ghost4linux
http://www.howtoforge.com/howto_linux_systemimager

The other tutorials in this category might also be interesting: http://www.howtoforge.com/taxonomy_menu/1/34
__________________
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
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 17:03
Complete automated backup task antoinel12 General 8 10th November 2006 17:22
automated backup pattech General 3 3rd November 2006 12:15
Automated backup MathieuMa General 1 13th April 2006 09:33
How of create an automated backup of system+files jeremy Installation/Configuration 13 25th February 2006 14:23


All times are GMT +2. The time now is 20:25.


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