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

    Restore only parts of a config?

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 409 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.
    • S
      scoob8000
      last edited by

      I'm about to start migrating some of my physical interfaces over to vlans.

      But I've got quite a few firewall rules, static dhcp mappings etc to move.

      Can I do a backup, hack parts from the backup and just restore pieces at a time?

      Any easier way to do this?

      FWIW My physical wifi interface is going away and getting split into two new vlans. (personal and guest), and adding a few others for cameras, etc.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        It is possible to backup and restore only certain config sections. There's a drop-down for choosing the 'backup area'.

        However there is one huge caveat: the config versions MUST be the same if you are restoring only a partial backup.

        That is because only the main system section contains the config version and that's required to run the update scripts.

        Steve

        1 Reply Last reply Reply Quote 0
        • S
          scoob8000
          last edited by

          Perfect. It's all the same system.

          I'm planning on backingb up say the DHCP section. Edit the xml and cut the static mapping parts out and paste them under the new DHCP server entry for the vlan.

          Probably do the same for for the firewall rules too. Mostly any of the labor intensive parts where there's a lot of entries to move.

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