Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th March 2009, 11:47
technoid technoid is offline
Junior Member
 
Join Date: Mar 2009
Posts: 12
Thanks: 4
Thanked 0 Times in 0 Posts
Default ISPConfig3: What to backup

What are the directories/files that need to be backed up on an ISPConfig3 installation. The documentation I have found so far has been for ISPConfig2, so the paths are a bit different.

I would like to backup the user's data also such as websites and email.

I don't want to miss a file or directory and then need it later on.

Thank you,
technoid
Reply With Quote
Sponsored Links
  #2  
Old 24th March 2009, 12:35
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,177
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

You will have to backup at least the following directories:

/var/lib/mysql (this contains all user databases and the ispconfig database)
/var/www (or were your website docroot is)
/var/vmail (email)
/etc (other configuration data and the system users)

ISPConfig itself resides in /usr/local/ispconfig, you might backup that too but the other directories should be sufficient to restore a setup.
__________________
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:
peterspoon (2nd July 2009), Polk (25th March 2009), technoid (29th March 2009)
  #3  
Old 25th March 2009, 08:33
shanz shanz is offline
Junior Member
 
Join Date: Mar 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can these folders be configured as NAS with NFS?
how about mysql will it work properly over NFS?
Reply With Quote
  #4  
Old 25th March 2009, 09:49
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,177
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

Quote:
Originally Posted by shanz View Post
Can these folders be configured as NAS with NFS?
how about mysql will it work properly over NFS?
I dont know. I guess you will have to try it.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 25th March 2009, 12:01
shanz shanz is offline
Junior Member
 
Join Date: Mar 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok I will try this for sure.
can we change the path for mysql from /var to /usr ?
Reply With Quote
  #6  
Old 25th March 2009, 12:15
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,177
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

Quote:
Originally Posted by shanz View Post
Ok I will try this for sure.
can we change the path for mysql from /var to /usr ?
No, this can not be changed and it dos not make sense to me to change the data directory from mysql to /usr.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 29th March 2009, 16:29
technoid technoid is offline
Junior Member
 
Join Date: Mar 2009
Posts: 12
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
You will have to backup at least the following directories:

/var/lib/mysql (this contains all user databases and the ispconfig database)
Do I need to backup this directory if I have dumped the database via a "mysqldump --user=root --password=xxxxxx --lock-all-tables --all-databases > backup.sql"?

Thank you,
technoid
Reply With Quote
  #8  
Old 29th March 2009, 17:39
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,177
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

Quote:
Originally Posted by technoid View Post
Do I need to backup this directory if I have dumped the database via a "mysqldump --user=root --password=xxxxxx --lock-all-tables --all-databases > backup.sql"?

Thank you,
technoid
No, then you dont have to make a binary backup of the directory.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 29th March 2009, 18:18
technoid technoid is offline
Junior Member
 
Join Date: Mar 2009
Posts: 12
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Do you recommend one way or the other as a better for recoveriing or reinstalling the database?

Thank you,
technoid
Reply With Quote
  #10  
Old 2nd July 2009, 01:29
reason8 reason8 is offline
Senior Member
 
Join Date: Aug 2008
Posts: 141
Thanks: 2
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by till View Post
No, then you dont have to make a binary backup of the directory.
So there is no need to perform a dump if the directory /var/lib/mysql is backed up via a tarbal archive?
__________________
Running:

ISPConfig 3
openSUSE Linux 11.3
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
Installation Order? ISPConfig3 Jailkit Backup PC Snort/Ossec/Prelude RKHunter RolluS Installation/Configuration 6 23rd January 2009 22:55
Suggestion for backing up using Backup Manager PermaNoob Feature Requests 2 11th August 2008 14:27
Looking for an automatic backup for ISPConfig unsichtbare Installation/Configuration 1 2nd May 2008 14:33
[SHELL Script] - Backup WEB & DATABASES vaio1 Tips/Tricks/Mods 0 5th September 2007 14:48
Setting up a backup mail server setup with two installations of ISPConfig zitch Tips/Tricks/Mods 7 30th December 2006 10:07


All times are GMT +2. The time now is 06:23.


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