Skip to content

pfsense-api settings after pfsense upgrade. #389

Answered by jaredhendrickson13
Eryniox asked this question in Q&A
Discussion options

You must be logged in to vote

Hey!

By default the API package will store a persistent backup of the API configuration at /usr/local/share/pfSense-pkg-API/backup.json (as long as you haven't disabled the 'Persistent configuration' setting in the API configuration). Whenever the package is reinstalled it looks for a backup in this location and will automatically attempt to restore the configuration from that file. I'd recommend keeping a copy of the backup.json file off of your pfSense systems before you update just in case. You can manually restore from the backup file by running pfsense-api restore from the command line or manually take a backup by running pfsense-api backup.

Hope this helps!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Eryniox
Comment options

Answer selected by Eryniox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants