Welcome to Centmin Mod Community
Register Now

How to get a backup of a box running?

Discussion in 'System Administration' started by MyWin, Jan 26, 2021.

  1. MyWin

    MyWin New Member

    5
    1
    3
    Mar 13, 2019
    Ratings:
    +1
    Local Time:
    6:48 AM
    Hi,

    I want to test an upgrade using a backup of my box.

    I've disabled the firewall (csf -x) and after getting a bind() to (production ip) edited the conf file to remove the SSL stuff, IP stuff and redirects

    But I can't seem to connect to it with putty/browser or ftp.


    The only error I get is worker process exited on signal 9

    Is there something more I should be doing in order to get the backup working for test purposes?

    thanks
     
  2. eva2000

    eva2000 Administrator Staff Member

    53,212
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,650
    Local Time:
    3:48 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Do not disable CSF Firewall as that can prevent some predefined ports from being whitelisted. Instead whitelist the remote server IP in CSF Firewall CSF Firewall - CentminMod.com LEMP Nginx web stack for CentOS and if remote backup server runs Centmin Mod/CSF Firewall, then whitelist source server IP on remote server's CSF Firewall.
     
  3. MyWin

    MyWin New Member

    5
    1
    3
    Mar 13, 2019
    Ratings:
    +1
    Local Time:
    6:48 AM
    Thanks that's useful to know!

    Sadly I don't think it's the firewall stopping the droplet restored from a backup working though, will keep investigating :)


    EDIT, that along with wiping the production stuff from the conf file has worked. Thanks so much @eva2000 :D
     
    Last edited: Jan 27, 2021
  4. eva2000

    eva2000 Administrator Staff Member

    53,212
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,650
    Local Time:
    3:48 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Glad to hear :)