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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th December 2009, 18:09
nokia80 nokia80 is offline
Senior Member
 
Join Date: Apr 2009
Posts: 180
Thanks: 27
Thanked 2 Times in 2 Posts
Send a message via Skype™ to nokia80
Default What to backup ispconfig and need to know how

hi all

I want gladly know what there need backupt must become
what I know are var vmail group and users
also I gladly the codes want be possible wrap up it

i want to move ispconfig 3 to a other server


pleace help


thanks
Reply With Quote
Sponsored Links
  #2  
Old 7th December 2009, 13:18
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,344
Thanks: 810
Thanked 5,173 Times in 4,055 Posts
Default

You need to backup /var/vmail, /var/www (or the place where you stored the websites), the ispconfig database, all mysql databases of the websites incl. the "mysql" database, the users and passwords in /etc/passwd and /etc/group. Make sure that you backup the directories with preserved permoissions.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following 3 Users Say Thank You to till For This Useful Post:
bswinnerton (12th August 2010), finn (28th February 2011), rputnins (9th December 2009)
  #3  
Old 17th June 2010, 03:07
Thomas Jensen Thomas Jensen is offline
Senior Member
 
Join Date: Apr 2009
Posts: 127
Thanks: 5
Thanked 1 Time in 1 Post
Default

I know this is an old thread, but; Is these directories all you need to backup, to be able to move or restore everything in ISPConfig?
So that i can just follow the Debian Perfect Setup, restore MySQL databases, the mentioned directories, and everything would be back (I've not installed anything else than the perfect setup tells)?

/var/vmail
/var/www
/etc/passwd
/etc/group
All MySQL databases
Reply With Quote
  #4  
Old 27th February 2011, 23:12
finn finn is offline
HowtoForge Supporter
 
Join Date: Jun 2006
Posts: 25
Thanks: 12
Thanked 1 Time in 1 Post
Default

Just wanted to confirm whether we would need to restore
/etc/apache2/
to ensure all available sites were enabled
and
/etc/postfix/
for any custom email routing?

The only reason I can think of for not restoring these directories would be if ISPConfig automagically re-writes any missing configuration files. But these directories are not mentioned in any posts I have read about backing up or restoring.

The script posted by go0ogl3 backs up the entire /etc directory - which is clearly intended to be restored to the same server.

So perhaps it would be useful to confirm the list above as the minimum requirement to migrate data from one server to another.
Reply With Quote
The Following User Says Thank You to finn For This Useful Post:
milli-pede (1st April 2011)
  #5  
Old 28th February 2011, 15:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,716 Times in 2,558 Posts
Default

Quote:
Originally Posted by finn View Post
Just wanted to confirm whether we would need to restore
/etc/apache2/
to ensure all available sites were enabled
and
/etc/postfix/
for any custom email routing?
These directories contain just the Apache/Postfix configuration, but not any web sites/emails. Therefore you'd have to back up the web sites and emails as well.
__________________
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
  #6  
Old 31st March 2011, 23:55
milli-pede milli-pede is offline
Junior Member
 
Join Date: Mar 2011
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi all,

I am am very much interested in finn's question about this topic.
I assume finn is clear on the fact that the apache config files do not represent the actual website content.
I would like to generalise the question as I think ISPConfig is actually managing quite a few more files in /etc and its subdirectories.

If I would restore -as mentioned here- the following files on a new system (e.g. after distro change or upgrade)

a. /var/www (web content)
b. /var/vmail (mail content)
c. /etc/passwd and /etc/group (users)
d. MySQL databases

1. would ISPConfig then rewrite the other files it manages in /etc ?
2. How about the order of the above, e.g. should not c. be copied first and then a. & b. while keeping owner, group and permission settings?
3. If 1. = True, in which interval does ISPConfig do this - so how long after the database is updated until all other config files in /etc are updated?

Looking forward to someone shedding some light into this...

kind regards,
Christian

Last edited by milli-pede; 1st April 2011 at 00:06.
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


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


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