Scripting Backup / Restore action
-
Hey there,
I'd like to script backing up my aliases and restoring them to different pfsense machines. The reason is to keep the aliases identical among all our firewalls. Is there a way to do this or am I stuck doing it manually?
-
you can do a simple scp command to backup the full xml somewhere - so that is very simple to script.. But just pulling out the aliases and then the hard part would be the partial scripted restore.. Of just that section..
Its been discussed in the past, have never seen anyone do it. And its not built in sort of feature.
How many changes to aliases do you make? That this is something you would want to script?
You do understand you can point alias to some other location, and just use a common location you update right... The url table function, and have it update every so many X days