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

    Upload partial edited config backup?

    General pfSense Questions
    2
    3
    387
    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.
    • valnarV
      valnar
      last edited by

      Is it possible to edit out a portion of an XML backup config and upload it to a pfSense firewall…and have the missing pieces take the defaults?  I have a config with a bad OpenVPN section and instead of rebuilding all my rules, dhcp and everything from scratch, I was wondering if I could remove that portion and upload the remaining config? Ideally the missing parts would be reconstructed so when I download the backup again, it'll be put back together pristine.

      I could try this, but I didn't want to blow up my firewall just yet, so I'm asking here!

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        How successful you are depends on what exact edits you make.

        If you edit out the whole section, such as the blocks for OpenVPN servers and clients, then yes you can restore that.

        Just be careful not to leave any dangling mismatched tags.

        In some areas (e.g. <system>) that doesn't work so well, but it is safe for OpenVPN.</system>

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • valnarV
          valnar
          last edited by

          OK cool.  Thanks

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