
6th September 2012, 15:20
|
|
Junior Member
|
|
Join Date: May 2012
Posts: 7
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
How to restore a broken server
Hi all from ISP,
We've had a "small" trouble with mysql master server this night. The server died. But we need to create again all databases what were in a ISPConfig. Is there any way how to create all databases from ISP to new server?
|

7th September 2012, 15:55
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
|

7th September 2012, 16:02
|
|
Junior Member
|
|
Join Date: May 2012
Posts: 7
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
Thanks for reply, but my question was about ISPConfig, where the databases were created and managed. How to restore ISPConfig databases informations?
|

8th September 2012, 11:27
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
What exactly are you trying to do?
|

9th September 2012, 12:48
|
|
Junior Member
|
|
Join Date: May 2012
Posts: 7
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
For example:
1. We'are created many DBs in the ISPConfig (multiserver) on server mysql1.example.com.
2. In one night our server goes to die :-)
3. So we installed new DB server connected to ISPConfig master.
4. Now, we need to create again all empty DBs to ISPConfig (master). The same DBs what were on old (died) server.
5. After that, we can restore all dumps of DBs.
My question is a how to restore all DBs settings in the ISPConfig. It's same as creating new databases manualy in the ISP, but to other server. But databses are tooooo many.
Sorry for my english ;-)
|

10th September 2012, 08:47
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
For a DB server:
Make a regular backup of all databases on your db server, e.g. with mysqldump plus a backup of the /etc directory and /usr/local/ispconfig. If the db server dies anytime in the future, then just install a new server incl ispconfig but dont connect it to the master server, then restore all databases from your mysqldump files e.g. by simple piping their content to the mysql command and restore the two config.inc.php files form your ispconfig backup and your db server is fully restored and connected again. No need to craete new databases or any other records in ispconfig, just restore the old server from the backup.
A alternative which micht be even simpler is to use one of the common linux backup softwatre packages, just do a regular backup and restore that wehn your server failed. there is nothing ispconfig specific here as you backup and restore the whole server.
|
|
The Following User Says Thank You to till For This Useful Post:
|
Pida (10th September 2012)
|
| 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 11:46.
|
|
Recent comments
10 hours 24 min ago
15 hours 29 min ago
19 hours 53 min ago
21 hours 42 min ago
1 day 11 hours ago
1 day 11 hours ago
1 day 16 hours ago
1 day 23 hours ago
2 days 27 min ago
2 days 1 hour ago