Want to subscribe to topics you're interested in?
Become a Member

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

    431
    117
    43
    Oct 6, 2015
    England
    Ratings:
    +217
    Local Time:
    5:10 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 Premium Member Premium Member

    247
    78
    28
    Dec 5, 2020
    The Netherlands
    Ratings:
    +173
    Local Time:
    6:10 PM
    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

    431
    117
    43
    Oct 6, 2015
    England
    Ratings:
    +217
    Local Time:
    5:10 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 Premium Member Premium Member

    247
    78
    28
    Dec 5, 2020
    The Netherlands
    Ratings:
    +173
    Local Time:
    6:10 PM
    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

    54,341
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    3:10 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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.