Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Trying to mirror Wordpress site to another box

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    2 Posts 2 Posters 466 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      oguruma
      last edited by

      I have a couple websites that I run on a VPS. I want to mirror them to another VPS that will otherwise be offline. That way, if the main box goes down, I can use the zone editor and point the domain at the IP for the second box.

      So box1 = main Vps box2 = second VPS.

      So essentially I will build a script to sqldump the databases, then rsync both the databases and contents of /html from the main VPS to the backup VPS.

      The first issue to address is: suppose box1 goes down, and I start using box2 as my webserver. How should I go about keeping the sql box1 from unintentionally overwriting my current (on box2) database?

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        Our web team uses Akeeba Backup.  They have Wordpress support, both free and pro editions.

        https://www.akeebabackup.com/products/akeeba-backup-wordpress.html

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.