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

    Iceberg ahead!

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    5 Posts 5 Posters 1.1k 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.
    • KOMK
      KOM
      last edited by

      So here I was playing with different shaper configs from Harvy & sideout.  I have a pfSense VM and a pfTest VM, with both open in several browser tabs.  I was restoring sideout's System config into pfTest when all of a sudden my WebsitePulse app started spazzing about how 5 of my main targets were down.  My stomach dropped as I realized that I had stupidly imported sideout's System config INTO MY MAIN PFSENSE PRODUCTION NODE.  I couldn't even reliably get into the WebGUI.  After trying a few desperate hacks while management screamed at me, I bit the bullet and restored the VMDK disk file from my Veeam backup.  5 minutes later we were up & running again.

      Lessons learned: when fiddling around with a test box, don't have the production interface up on a separate tab.

      1 Reply Last reply Reply Quote 0
      • M
        maverick_slo
        last edited by

        Lol and I thought I was the only one :)

        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by

          If you could still reach the web interface, Diag>Backup/restore, Config History tab is a good backup from those "oops" moments. Or if you can at least still reach the console, the ability to revert to previous configurations exists there too. Quicker way to get out of an "oops" if you can get to one or the other.

          1 Reply Last reply Reply Quote 0
          • BBcan177B
            BBcan177 Moderator
            last edited by

            I`ve found the following steps to be generally foolproof when you need to quickly roll back settings. Open a shell and keep the window open while making your changes:
            cd /conf
            cp config.xml config.xml.bk

            • Make your changes to the gui -

            If you need to quickly revert back:

            cp config.xml.bk config.xml
            rm /tmp/config.cache

            • Then reload the Dashboard to get the previous config to load

            "Experience is something you don't get until just after you need it."

            Website: http://pfBlockerNG.com
            Twitter: @BBcan177  #pfBlockerNG
            Reddit: https://www.reddit.com/r/pfBlockerNG/new/

            1 Reply Last reply Reply Quote 0
            • H
              Harvy66
              last edited by

              Ha! I only have one to worry about.

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