How To make a replacement installation

Discussion in 'Installation/Configuration' started by Greenhorn2013, Jul 13, 2010.

  1. Greenhorn2013

    Greenhorn2013 Member

    How can i remove an crashed server and replace it with a new one?
  2. veuster

    veuster New Member

    Uninstall ISPConfig 3

    Just do regular remove then reinstall it again.

    Uninstall using the same method to install except for the install part :

    php -q install.php

    Replace with :

    php -q uninstall.php

    Remove the ISPConfig 3 database from phpmyadmin, reboot and repeat the installation
  3. Greenhorn2013

    Greenhorn2013 Member

    Thx for fast response.
    And how to backup the webs and databases from the replacement server?
  4. veuster

    veuster New Member


    Glad to help if I can. I'm also new at this, just happen to know it first.

    There's no way in the GUI to make backup automatically.

    But you can search at google to find a backup script, which is made by some people with a lot more knowledge about this backup. I found two instantly.

    If you have the script, just read the manual or the website to update it according to your setting.
    Then you can use ISPConfig 3 cron job to run the script in a frequency of daily or weekly or what you set it to.

    I have did this, but still testing mine, so don't know much about it.
    Maybe someone here can help you more.
  5. damir

    damir New Member

    Login as root and type following command to backup files:

    note the p flag, it is important because it keeps file permissions

    Configuration files:

    tar -pczf etc_backup.tar.gz /etc

    Webserver files:

    cd /var
    tar -pczf www_backup.tar.gz www/
    Mail files:

    cd /var
    tar -pczf mail_backup.tar.gz vmail/

    cd /usr/local
    tar -pczf ispconfig_backup.tar.gz ispconfig/
    Mysql databases needs to be exported as .sql files and than backed up.

Share This Page