Server clone

Discussion in 'General' started by Pyanepsion, Sep 26, 2019.

  1. Pyanepsion

    Pyanepsion Member

    Hello,
    I am using ISPConfig single on a server hosted at an ISP.
    I would like to make a server clone for security at another ISP.
    How to proceed? Thank you for your explanations.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can use basically any backup software or just plain rsync to do that. Or you use the tool ISPCopy which is part of the Migration toolkit.
     
  3. Pyanepsion

    Pyanepsion Member

    Thank you, Till.
    I obviously prefer to support ISPConfig. I did not understand if this tool sold €59 will works on my configuration:
    —The current server runs on Debian 10 • ISPConfig 3.1dev single • Nginx 1.14.2.
    —The bare server for the clone is currently installed by default on Debian 9.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Cloning will work only if both servers run the exact same config. So you must update the second server to Debian 10 first and then install ISPConfig in the same way. Afterwards, you can use ispcopy to move the current installation over incl. databases, relevant config files, LE certs etc. ISPCopy has an automated (non-interactive) mode that can be used to run it e.g. via cronjob. I quote from readme here:

    The autoconf file then looks like this:

    Code:
    [SETTINGS]
    license_key=XXXX-XXXX-XXXX-XXXX
    start=y
    target_server_hostname=192.168.1.101
    target_server_port=22
    mysql_hostname=localhost
    mysql_root_user=root
    mysql_root_password=
    remote_mysql_root_user=root
    remote_mysql_root_password=
    copy_backup_dir=y
    replace_ip=n
     
  5. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    and the same credentials for mysql-root. ;)
     
    Pyanepsion likes this.
  6. Pyanepsion

    Pyanepsion Member

    Hello,
    Thank you for all these explanations.
    I started the dry mode. I get two warnings.
    How to do ?
    DNS zone management is actually at my ISP. On the ISPConfig server, I created a DNS zone for a site only to have a copy. Should I delete it, delete only the CAA field, or do something else?
     
    Last edited: Oct 4, 2019

Share This Page