
24th March 2009, 11:47
|
|
Junior Member
|
|
Join Date: Mar 2009
Posts: 12
Thanks: 4
Thanked 0 Times in 0 Posts
|
|
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
|

24th March 2009, 12:35
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
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.
|
|
The Following 3 Users Say Thank You to till For This Useful Post:
|
|

25th March 2009, 08:33
|
|
Junior Member
|
|
Join Date: Mar 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Can these folders be configured as NAS with NFS?
how about mysql will it work properly over NFS?
|

25th March 2009, 09:49
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
Quote:
Originally Posted by shanz
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.
|

25th March 2009, 12:01
|
|
Junior Member
|
|
Join Date: Mar 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Ok I will try this for sure.
can we change the path for mysql from /var to /usr ?
|

25th March 2009, 12:15
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
Quote:
Originally Posted by shanz
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.
|

29th March 2009, 16:29
|
|
Junior Member
|
|
Join Date: Mar 2009
Posts: 12
Thanks: 4
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by till
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
|

29th March 2009, 17:39
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
Quote:
Originally Posted by technoid
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.
|

29th March 2009, 18:18
|
|
Junior Member
|
|
Join Date: Mar 2009
Posts: 12
Thanks: 4
Thanked 0 Times in 0 Posts
|
|
Do you recommend one way or the other as a better for recoveriing or reinstalling the database?
Thank you,
technoid
|

2nd July 2009, 01:29
|
|
Senior Member
|
|
Join Date: Aug 2008
Posts: 125
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by till
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:
Dynamic DNS
openSUSE Linux 11.1
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 12:27.
|
|
Recent comments
11 hours 5 min ago
16 hours 10 min ago
20 hours 34 min ago
22 hours 23 min ago
1 day 12 hours ago
1 day 12 hours ago
1 day 17 hours ago
2 days 19 min ago
2 days 1 hour ago
2 days 2 hours ago