Netgate Configuration Export (6100 MAX)
-
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:
-
Could booting the old 6100 have reverted it back to a previous configuration setup before I got a chance to copy it off?
-
Is the config.xml file in the '/conf' directory what is currently setup on the device?
-
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.
-
-
@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.
-
@SteveITS Thanks for the quick reply and confirming the /conf/config.xml file should be the latest.
-
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.