pfSense allows you to backup (export) and/or restore a configuration for a specific service or for the entire pfSense machine.
Which can be very useful before making certain changes to your pfSense machine or to be able to easily restore its configuration in the event of a pfSense failure.
To save (export) the pfSense configuration, go to the menu: Diagnostics -> Backup & Restore.
On the "Backup & Restore" page that appears, in the "Backup Configuration" section, you can choose:
Next, click "Download configuration as XML" to save (export) the configuration of your pfSense machine.
Source : Making Backups in the GUI | pfSense Documentation.
If you open the exported file with notepad, you will see that it is a simple XML file.
If you check the "Encrypt this configuration file" box, a "Password" section will appear with 2 boxes where you simply specify the password to use to encrypt the configuration that will be exported.
This is what an encrypted pfSense configuration file looks like.
In the "Restore Backup" section of the same page, you can specify:
Next, click "Restore Configuration".
Warning : as specified below the button, pfSense will restart automatically after restoring the configuration.
If you have checked the "Configuration file is encrypted" box, a "Password" field will appear where you can specify the password used to encrypt the contents of the previously exported configuration file.
Confirm the restoration of the pfSense configuration by clicking OK.
Plain Text
Are you sure you wish to restore configuration?
A warning will appear at the top of the page during the reboot.
Plain Text
The firewall configuration has been changed. The firewall is now rebooting.
Once your pfSense machine has restarted, you will have access to its web interface again.
However, you will have to log in again.
At the top right, you will see that a notification is available.
Click on the little red bell.
You will see this message appear.
Plain Text
Package reinstall process finished successfully.
Click: Mark All as Read.
If you backed up your pfSense machine configuration and reinstalled it, you may notice that the packages you installed manually will not have been automatically restored.
To reinstall them easily, simply click on the "Reinstall Packages" button in the "Package Functions" section available at the bottom of the page.
Reinstallation of all manually installed packages previously referenced by the restored configuration file above will begin.
This will save you from having to find and reinstall them manually one by one.
Source : How Backup whole pfsense with packages | Netgate Forum.
Firewall 5/9/2025
Firewall 5/30/2025
Firewall 7/16/2025
Firewall 7/9/2025
Pinned content
Contact
® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.
You must be logged in to post a comment