Welcome to Centmin Mod Community
Register Now

Best way migrate from vps to vps 50GB

Discussion in 'System Administration' started by Max, Apr 1, 2020.

  1. Max

    Max Member

    123
    5
    18
    Feb 17, 2018
    Ratings:
    +9
    Local Time:
    7:08 AM
    Hello

    How can I best migrate 50GB Centminmod VPS 1 to 1 to a new VPS ?

    Thanks
    max

     
  2. buik

    buik “The best traveler is one without a camera.”

    2,026
    524
    113
    Apr 29, 2016
    Flanders
    Ratings:
    +1,674
    Local Time:
    8:08 AM
    That depends on the VPS provider.
    For example with Linode and Digital Ocean you can easily upgrade your VPS to a VPS with 50GB with the cloning / image tool. Afterwards extend the partition and check everything and you're done.
     
  3. Max

    Max Member

    123
    5
    18
    Feb 17, 2018
    Ratings:
    +9
    Local Time:
    7:08 AM
    Is from ramnode to upcloud.
     
  4. Max

    Max Member

    123
    5
    18
    Feb 17, 2018
    Ratings:
    +9
    Local Time:
    7:08 AM
    dd if=/dev/sda | gzip | ssh root@target 'gzip -d | dd of=/dev/sda' ?
    would that work?
     
  5. buik

    buik “The best traveler is one without a camera.”

    2,026
    524
    113
    Apr 29, 2016
    Flanders
    Ratings:
    +1,674
    Local Time:
    8:08 AM
  6. Max

    Max Member

    123
    5
    18
    Feb 17, 2018
    Ratings:
    +9
    Local Time:
    7:08 AM
    ah ok thanks buik
     
  7. Max

    Max Member

    123
    5
    18
    Feb 17, 2018
    Ratings:
    +9
    Local Time:
    7:08 AM
  8. eva2000

    eva2000 Administrator Staff Member

    54,110
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,739
    Local Time:
    5:08 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    That is usually the proper way to move data regardless of control panel at least on linux it is. You learn this way and you will be able to move data on any server even if it isn't Centmin Mod based. If you note the summary post at Upgrade - Nginx - Insight Guide - Centmin Mod Site Data Migration Guide you can practice this process without doing actual DNS updates for domain so the test new server will just be a test run which you can do over and over to practice without touching live server until you are confident in the process.

    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.