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

Upload partial edited config backup?

Scheduled Pinned Locked Moved General pfSense Questions
3 Posts 2 Posters 395 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.
  • V
    valnar
    last edited by Oct 8, 2017, 3:34 PM

    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
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Oct 9, 2017, 6:24 PM Oct 9, 2017, 1:43 PM

      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
      • V
        valnar
        last edited by Oct 9, 2017, 1:54 PM

        OK cool.  Thanks

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received