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

    4
    1
    1
    Mar 13, 2019
    Ratings:
    +1
    Local Time:
    12:45 PM
    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

    46,238
    10,510
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,293
    Local Time:
    10:45 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    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

    4
    1
    1
    Mar 13, 2019
    Ratings:
    +1
    Local Time:
    12:45 PM
    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

    46,238
    10,510
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,293
    Local Time:
    10:45 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Glad to hear :)