Join the community today
Become a Member

Best way migrate from vps to vps 50GB

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

  1. Max

    Max Member

    97
    5
    8
    Feb 17, 2018
    Ratings:
    +8
    Local Time:
    3:11 PM
    Hello

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

    Thanks
    max
     
  2. buik

    buik “A winner never stops trying.” Premium Member

    1,316
    361
    83
    Apr 29, 2016
    Ratings:
    +1,080
    Local Time:
    4:11 PM
    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

    97
    5
    8
    Feb 17, 2018
    Ratings:
    +8
    Local Time:
    3:11 PM
    Is from ramnode to upcloud.
     
  4. Max

    Max Member

    97
    5
    8
    Feb 17, 2018
    Ratings:
    +8
    Local Time:
    3:11 PM
    dd if=/dev/sda | gzip | ssh root@target 'gzip -d | dd of=/dev/sda' ?
    would that work?
     
  5. buik

    buik “A winner never stops trying.” Premium Member

    1,316
    361
    83
    Apr 29, 2016
    Ratings:
    +1,080
    Local Time:
    4:11 PM
  6. Max

    Max Member

    97
    5
    8
    Feb 17, 2018
    Ratings:
    +8
    Local Time:
    3:11 PM
    ah ok thanks buik
     
  7. Max

    Max Member

    97
    5
    8
    Feb 17, 2018
    Ratings:
    +8
    Local Time:
    3:11 PM
  8. eva2000

    eva2000 Administrator Staff Member

    45,633
    10,356
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,070
    Local Time:
    1:11 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    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.