Welcome to Centmin Mod Community
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 Active Member

    437
    118
    43
    Oct 6, 2015
    England
    Ratings:
    +221
    Local Time:
    12:27 PM
    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 Active Member

    318
    97
    28
    Dec 5, 2020
    The Netherlands
    Ratings:
    +215
    Local Time:
    1:27 PM
    1.29 x
    11.4
    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 Active Member

    437
    118
    43
    Oct 6, 2015
    England
    Ratings:
    +221
    Local Time:
    12:27 PM
    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 Active Member

    318
    97
    28
    Dec 5, 2020
    The Netherlands
    Ratings:
    +215
    Local Time:
    1:27 PM
    1.29 x
    11.4
    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

    58,908
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:27 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    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.