How can I force IPSConfig 3 to regenerate all the configuration files?

Discussion in 'General' started by letezo, Dec 14, 2009.

  1. letezo

    letezo New Member

    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.)
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
  3. letezo

    letezo New Member

    Thanks for your response.

    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.
  4. ollea

    ollea New Member

Share This Page