Get the most out of your Centmin Mod LEMP stack
Become a Member

Migrate from CentOS 6 to Cent OS 7

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Saahib, Jun 16, 2019.

  1. Saahib

    Saahib Member

    38
    2
    8
    Oct 8, 2017
    Ratings:
    +6
    Local Time:
    11:49 PM
    1.13
    10.2
    Hi,


    Is there any steps or guide to migrate data from Cent OS 6 based OpenVZ container to CentOS 7 openvz container ?

    I am planning to make fresh install of centminmod on CentOS7 and then sync web root directory , however, I am looking for a process which is like more automated as we have in other control panels where we make full backup of only account then restore it on new server.

    PS: Each website hosted on this server has dedicated IP.

    Also, I guess I posted it in wrong section, please move this thread to more appropriate location.
     
    Last edited: Jun 16, 2019
  2. eva2000

    eva2000 Administrator Staff Member

    59,287
    12,509
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,141
    Local Time:
    4:19 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    future Centmin Mod plans are in the works for such feature but for now manual is the way

    For moving site data there's 2 general guides where the principles & steps of backing up and moving data is the same just slightly different for
    1. Moving Centmin Mod site data to another Centmin Mod server
    2. Moving cPanel/WHM site data to Centmin Mod server
    Those guides move alot more than just the site(s) in question but config files etc. You can use your own best judgement as to the config files and whether you want to move them or just use the fresh server setup Centmin Mod config files as they get auto optimised for the server Centmin Mod initially installed on.

    If your old site isn't centmin mod or cpanel/whm based, then those guides won't be 100% applicable. But the general overview of what needs moving and where everything is structured in Centmin Mod LEMP environment is worth reading up on.

    Also official site configuration files page explains the Centmin Mod structure of where the important files are so you can decide on what to backup.