How can I force IPSConfig 3 to regenerate all the configuration files?
I will need to regenerate all the configuration files based on the ispconfig database contents after migrating to a new server. It should be done from the console without manually copying all the client/site/mail information, ideally.
Is there such a script or command line option for ISPConfig 3?
(Please do not just point me to this post. I need a solution specifically for ISPConfig 3 and the simplest possible one. Thank you.)
Posts: 31,896
Thanks: 693
Thanked 4,191 Times in 3,207 Posts
There is no such script available. All server actions are only done based on the content of the sys_datalog, so you would have to write a script that adds records to sys_datalog for regenarate every config item like mail domain, mail box, website, etc.
The easier way is to copy the config files form the old system instead.
I wanted to regenerate my configuration files to get my users and groups created again and receive all the possible updates from the new ispconfig version. I have to use the following workarounds, it seems:
I'm going to recreate all the ispconfig managed groups and users manually on the new server.
I'm going to copy the configuration files. They will be updated only when the site is changed, so I'll have to change each site needs any updates. Maybe none of them, at least I hope.
It is cumbersome this way, but expected to work, indeed.
Recent comments
11 hours 52 sec ago
20 hours 28 min ago
21 hours 18 min ago
1 day 51 min ago
1 day 5 hours ago
1 day 5 hours ago
1 day 7 hours ago
1 day 17 hours ago
1 day 22 hours ago
2 days 13 min ago