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

    Netgate Configuration Export (6100 MAX)

    Scheduled Pinned Locked Moved Official Netgateยฎ Hardware
    24 Posts 5 Posters 876 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.
    • dennypageD
      dennypage @SteveITS
      last edited by

      @SteveITS said in Netgate Configuration Export (6100 MAX):

      Well hopefully you won't need to track down many changes made in 2012.

      It's more of an emotional problem for me at this point. ๐Ÿ™„

      1 Reply Last reply Reply Quote 1
      • B
        Burizado @stephenw10
        last edited by

        @stephenw10 Thank you for the great suggestion! I was able to get my /conf directory off the old device via the console cable. I tried several other methods to no avail.

        Next question, I only copied the /conf directory thinking I would only need the configuration. I did have pfBlocker and some other packages loaded onto my old 6100. Do I need to copy anything other than the /conf directory to restore those to the new 6100?

        Also, my assumption is that the /conf directory has all my firewall and NAT rules in the configuration that I can restore to the new 6100. Is that correct?

        S 1 Reply Last reply Reply Quote 0
        • S
          SteveITS Galactic Empire @Burizado
          last edited by

          @Burizado A restore will install packages that were in/from the config file. (it's easier to think of this as "will install missing packages" but I think it reinstalls them all anyway)

          If you just plug in the WAN cable and use the above ECL method you don't even need to log in to it, to restore. WAN will be configured at that point, and it will install the packages. Plug in LAN and log in via your browser. You might need to reboot once, for instance, enabling the RAM disk setting needs a reboot.

          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
          Upvote ๐Ÿ‘ helpful posts!

          B 1 Reply Last reply Reply Quote 0
          • B
            Burizado @SteveITS
            last edited by

            @SteveITS Thank you for the quick reply, and confirming all the packages should get reinstalled!

            So if I am understanding the ECL process from the documentation you linked (THANKS!), I just copy the config.xml in the 'conf' directory on my USB, to a 'config' directory, then insert it into the new 6100 and start it up? Seems easy enough.

            Since I have the console cable configured on my PC, I might just use that on the new 6100 to watch the boot and restore process. I have not booted the new 6100 yet. I was waiting to see if I could get the old configuration back, so I wouldn't have to set everything up from scratch.

            Sorry for all the questions. This is my first time with a full restore and I don't want to 'brick' the new device, if that is possible.

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

              Yup, you only need the config.xml file from /conf to get back all your config. ๐Ÿ‘

              1 Reply Last reply Reply Quote 1
              • S
                SteveITS Galactic Empire @Burizado
                last edited by

                @Burizado Yes. Or you can do it the "long way," log in, get WAN working, and then restore from the web GUI.

                Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                Upvote ๐Ÿ‘ helpful posts!

                1 Reply Last reply Reply Quote 0
                • B
                  Burizado
                  last edited by

                  OK, well it seems it restored some of the configuration but not all of it.

                  My process:

                  • Copied the whole '/conf' directory to a USB drive directly from the console. I did use the 'umount' command to unmount the USB before removing it.

                  • Put the USB into my Win11 PC and copied the '/conf/config.xml' file to the 'config' folder I created after I put the USB in my PC. (could have creating the folder and copying the file in Win11 messed up the process?)

                  • I put the USB drive into the new 6100, connected the console cable, and plugged in the power.

                  • Once it got to the menu after boot I removed the USB, and gave it another reboot.

                  My old 6100 had a 172.20... network which it seemed to configure. My PC I have connected to the LAN1 port gets a 172 IP address, and I can access the GUI via the gateway address.

                  When I go into the web GUI, I don't see any of my firewall or NAT rules. Also the port names are not set either. Seems the only thing it did was set the IP table to my 172.20... range. Nothing else seems to be configured.

                  I did also try redoing the whole process only this time with the WAN cable connected. My thought being it could not load some packages that it needs to complete the configuration setup. That did not work either. The firewall rules were not setup so the device could not get out to download any packages.

                  I did notice all the config files on the old 6100 have dates of 16th Oct. 2024 which is 8 days after I purchased the original 6100. I am certain I made config changes after that date. All the files in the /conf/backup directory are the same date or earlier.

                  My current questions:

                  1. Could booting the old 6100 have reverted it back to a previous configuration setup before I got a chance to copy it off?

                  2. Is the config.xml file in the '/conf' directory what is currently setup on the device?

                  3. If I don't see any config.xml files in the '/conf' or '/conf/backup' that have more recent dates, am I stuck reconfiguring the new 6100? Are there any other directories that config files could be?

                  I am thinking the answer to #3 is I am going to have to start the reconfigure process on the new 6100, but I want to exhaust all options before going down that path. I mean looking at the positives, I did learn a lesson about the importance of off device configuration backups, and it will give me more experience doing pFsense initial configurations. So there is that. ๐Ÿ˜† ๐Ÿ˜…

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    SteveITS Galactic Empire @Burizado
                    last edited by

                    @Burizado said in Netgate Configuration Export (6100 MAX):

                    Once it got to the menu after boot I removed the USB, and gave it another reboot

                    At this point it was likely still installing packages. :-/ The web GUI has a message for that, if you log in. I am not sure the console does, but it would be buried in the logs.

                    @Burizado said in Netgate Configuration Export (6100 MAX):

                    all the config files on the old 6100 have dates of 16th Oct. 2024

                    Yeah that sounds wrong. /cf/conf and /conf are the same directory:
                    drwxr-xr-x 3 root wheel 3 May 28 10:34 cf
                    lrwxr-xr-x 1 root wheel 8 Nov 22 2024 conf -> /cf/conf

                    ...so /conf/config.xml should be the latest.

                    Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                    When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                    Upvote ๐Ÿ‘ helpful posts!

                    B 1 Reply Last reply Reply Quote 0
                    • B
                      Burizado @SteveITS
                      last edited by

                      @SteveITS Thanks for the quick reply and confirming the /conf/config.xml file should be the latest.

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

                        Mmm, you wouldn't expect to find all the backup config files to have to same date. It does sound like maybe it was overwriting the backups with changes as it tried to boot repeatedly.

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