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

    Deleted pfSense Package Settings Appear in Backup

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 4 Posters 592 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.
    • A
      alteredstate
      last edited by

      I deleted some pfSense packages a long time ago specifically FreeRADIUS and pfBlockerNG. However, after creating a recent backup (2.7.0-RELEASE) I noticed those package settings were still listed in my backup. Is this normal or is something wrong? One would think these package settings would have been purged along with the packages.

      1 Reply Last reply Reply Quote 0
      • N
        nimrod
        last edited by

        Its normal.

        1 Reply Last reply Reply Quote 1
        • bmeeksB
          bmeeks
          last edited by bmeeks

          Not sure about FreeRADIUS, but pfBlockerNG, Snort, and Suricata all have a similar option to either save or remove the configuration when removing the package. The default is to save the configuration, but unchecking a checkbox will result in the complete configuration in config.xml being deleted when the package is removed.

          A 1 Reply Last reply Reply Quote 1
          • A
            alteredstate @bmeeks
            last edited by

            @bmeeks What happens when I import the backup containing config settings for packages that are not installed? Will those config settings become null and void or appear in the next backup? I would like for said config settings to disappear when I import the backup.

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

              They will be in the imported backup still. But the packages won't be re-installed if they weren't previously.

              1 Reply Last reply Reply Quote 1
              • bmeeksB
                bmeeks @alteredstate
                last edited by bmeeks

                @alteredstate said in Deleted pfSense Package Settings Appear in Backup:

                @bmeeks What happens when I import the backup containing config settings for packages that are not installed? Will those config settings become null and void or appear in the next backup? I would like for said config settings to disappear when I import the backup.

                If you import a backup with those settings in it, then they will return and stay. You would have to repeat the process of installing the package again, unchecking the box to retain settings, then removing the package.

                You may find it easier to simply edit the config.xml file directly before importing it. If you have any familiarity with XML, then you can very quickly see how to remove the section pertaining to a given package by simply studying the layout of the config.xml file and deleting the appropriate section.

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