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

How to back up properly using a remote server?

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Venucci, Oct 29, 2019.

  1. Venucci

    Venucci Member

    75
    8
    8
    Sep 25, 2018
    Ratings:
    +8
    Local Time:
    11:33 AM
    currentyl
    10
    Please fill in any relevant information that applies to you:
    • CentOS Version CentOS 7 64bit ?
    • Centmin Mod Version Installed: i.e. 123.09beta01
    • Nginx Version Installed: i.e. 1.17.5
    • PHP Version Installed:7.3.11
    • MariaDB MySQL Version Installed: i.e. 10.3.18
    • When was last time updated Centmin Mod code base ? 2 days ago
    • Persistent Config:
      Letsencrypt y
    I have a kvm server with centminmod and a wordpress site.i wish to make a backup of them on another server that could be activated if something is going wrong? Which is your advice?

     
  2. eva2000

    eva2000 Administrator Staff Member

    58,895
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    7:33 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    You can use a wordpress plugin that just backups up site data and migrates that and recreate the site on new server before restoring or 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.

    If you worried you mess up, just create a new test VPS and load/create a dummy site/database data and test migrating that to a 2nd test VPS until you're comfortable with the process.
     
  3. Venucci

    Venucci Member

    75
    8
    8
    Sep 25, 2018
    Ratings:
    +8
    Local Time:
    11:33 AM
    currentyl
    10
    Even larger wordpress sites could be backuped using a plugin ? Speaking about 80gb or so
     
  4. eva2000

    eva2000 Administrator Staff Member

    58,895
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    7:33 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    maybe/maybe not - for reliability and speed tar compressed backup and rsync are better.