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

    Restore from AutoConfigBackup without user information

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    7 Posts 2 Posters 644 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.
    • L
      Lin4Fun
      last edited by

      Hello,

      I need to restore all config from AutoConfiBackup without all user information.
      Is this possible to just remove the user and group blocks from the config?

      Thank you!

      Kindly regards

      1 Reply Last reply Reply Quote 0
      • NogBadTheBadN
        NogBadTheBad
        last edited by

        Take a text editor to the XML file.

        TBH I'd have thought it would be easer to import back and remove the users & groups via the GUI.

        Andy

        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

        1 Reply Last reply Reply Quote 0
        • L
          Lin4Fun
          last edited by

          the problem is that all passwords which are backed up are lost! Thats why I want to restore just all other config INSTEAD users and passwords & groups

          1 Reply Last reply Reply Quote 0
          • NogBadTheBadN
            NogBadTheBad
            last edited by

            https://www.netgate.com/docs/pfsense/usermanager/locked-out-of-the-webgui.html

            Andy

            1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

            1 Reply Last reply Reply Quote 0
            • L
              Lin4Fun
              last edited by

              @nogbadthebad said in Restore from AutoConfigBackup without user information:

              https://www.netgate.com/docs/pfsense/usermanager/locked-out-of-the-webgui.html

              If that would be so simple I wouldn´t reinstall! Of course, I have read through all the docs. Single mode is not accessible due to keyboard not reacting, either usb or ps/2.

              1 Reply Last reply Reply Quote 0
              • NogBadTheBadN
                NogBadTheBad
                last edited by NogBadTheBad

                Guess you need to do a fresh install, then recover everything from a backup except System as that contains the users & groups.

                Try it on a differnet PC first.

                What is the device pfSense is running on ?

                Andy

                1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                L 1 Reply Last reply Reply Quote 0
                • L
                  Lin4Fun @NogBadTheBad
                  last edited by

                  @nogbadthebad said in Restore from AutoConfigBackup without user information:

                  Guess you need to do a fresh install, then recover everything from a backup except System as that contains the users & groups.

                  Try it on a different PC first.

                  What is the device pfSense is running on?

                  it is an older Dell server with complete oversized hardware. 3 network cards.
                  I already started with the reinstall. Copied the config.xml down from AutoConfigBackup services and started to restore one by one service through the "standard" backup/restore function.
                  Looks good so far! Services and all rules etc. are restored including the snort stuff and so on. Found there a problem or may a bug during restore:

                  • after restoring the config of the package manager the list of the manager shows the services which where installed what is good.
                    But just once! Will say everytime you choose to reinstall of a not yet complete restored package the list disappears again and you have to restore the package manager config again. This is taking time if you need to reinstall a lot of services.

                  So I guess the list is updated everytime a package has been installed too with the packages which are completely installed already.
                  Better would be if the package manager just updates/modify the list of installed packages instead overwriting it with just complete installed packages.

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