Configure new SG-2100 from local backup
-
Hello All!
I have 10+ SG2100's I need to configure for deployment. Each will have the same configuration except for the LAN Net settings.
I'd like to create a local backup of the first appliance and use this backup to install on the other new SG-2100's instead of configuring everything on each one.
Is this possible / acceptable?
If so, it would save me a bunch of time. Once I corrected the LAN settings I can then do an Auto-save to cloud for re-installs if needed.Bottom line - - I do not want to spend the time to hit all the settings / confguring / installing of plugins etc for each one.
Thanks for any suggestions.
-
@detox The short answer is yes.
Since it will restore passwords, keys, CAs, etc. you may wish to restore parts of the config file, or change the above afterwards:
https://docs.netgate.com/pfsense/en/latest/backup/restore.html#restore-optionsI don't think that can restore package data though.
https://docs.netgate.com/pfsense/en/latest/recipes/changing-credentials.html
For just a quick restore the ECL doesn't require a login:
https://docs.netgate.com/pfsense/en/latest/backup/restore-during-install.html#restore-using-the-external-configuration-locator-ecl -
@detox You can do that, yes, but you should perhaps remove the SSH Host Keys or stuff that is -or should be- host specific from the XML.
So I'd recommend making a quick checklist what you have to change (e.g. admin PW should really change on the boxes), then backup, remove one or two things from the XML and use it for bringing those other boxes up and work your checklist to change passwords and stuff while also doing the next box.
We had such a prod-line at some point and it worked quite well. If you prepare a FAT32 USB Stick with the XML file, you can use that one to boot up the other boxes and the config will get loaded while booting when the stick is recognized by the PFI/config loader. So you even save on the "login, restore config, reboot" step.
Cheers