Join the community today
Register Now

Feedback Moving Servers - Sort of......

Discussion in 'AlmaLinux 8 & Rocky Linux 8 Beta Testing' started by cloud9, Mar 10, 2023.

  1. cloud9

    cloud9 Premium Member Premium Member

    423
    117
    43
    Oct 6, 2015
    England
    Ratings:
    +216
    Local Time:
    6:29 AM
    1.25.3
    10.6.x
    Have a new centos7 cmm server

    Should have been an AlmaLinux server - not quite sure how I managed to cock it up

    Anyways - it has 5 websites on it


    SO I want to backup the websites (all Wordpress) erase the server - reinstall with alamlinux

    And put the websites all back

    Whats the easiest way possible ?

    And is there anyway to do a root ftp rather than a vhost ftp ?

    Tried SCP with Hetzner and internal Ips to a different vps and cant get them to connect at all (whitelisted in csf as well)
     
  2. duderuud

    duderuud Premium Member Premium Member

    207
    75
    28
    Dec 5, 2020
    The Netherlands
    Ratings:
    +158
    Local Time:
    7:29 AM
    1.25 x
    10.6
    SCP/SSH/Rsync is the easiest. Just make sure to allow outgoing/incoming ports on the source and destination.

    It's easier if you have root access, just dump and zip/tar the database and webfiles and transfer the archives to your destination.
     
  3. cloud9

    cloud9 Premium Member Premium Member

    423
    117
    43
    Oct 6, 2015
    England
    Ratings:
    +216
    Local Time:
    6:29 AM
    1.25.3
    10.6.x
    Its the same server, so cant easily scp anywhere unless I spin up another vps temp and do that
     
  4. duderuud

    duderuud Premium Member Premium Member

    207
    75
    28
    Dec 5, 2020
    The Netherlands
    Ratings:
    +158
    Local Time:
    7:29 AM
    1.25 x
    10.6
    Push the files to your own pc or yes, spin up a cheap vps for a day or two just for that purpose.
     
  5. eva2000

    eva2000 Administrator Staff Member

    52,186
    11,998
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,501
    Local Time:
    3:29 PM
    Nginx 1.25.x
    MariaDB 10.x
    Easiest way with temp VPS especially if it's hourly billed, the costs for a few hours or days is minimal. And this guide still works https://community.centminmod.com/threads/centmin-mod-site-data-migration-guide.10382/ in general. Maybe a few unforeseen files/location/paths you may need to adjust. Techniques in linked guide are for commands and tools which generally apply to all linux transfers even beyond Centmin Mod.