-
Notifications
You must be signed in to change notification settings - Fork 5
Backup‐OPNsenseConfig
Backup the OPNsense config.xml file
Backup-OPNsenseConfig [-RRDdata] [[-Password] <String>] [<CommonParameters>]
Returns the contents of the config.xml file from the OPNsense server. This file contains all the configuration details and can be used to backup your OPNsense configuration.
Use the Restore-OPNsenseConfig cmdlet to restore the config.xml file to a previous version.
-RRDdata <SwitchParameter>
Include Round Robin Database data in the XML output.
Required? | false |
Position? | named |
Default Value? | |
Pipeline Input? | false |
-Password <String>
Encrypt the result with a choosen password.
Required? | false |
Position? | 0 |
Default Value? | |
Pipeline Input? | false |
Backup-OPNsenseConfig | Out-File C:\Backups\config.xml
Backup-OPNsenseConfig -RRDdata -Password 'mySecret' | Out-File C:\Backups\config-encrypted.xml
PS_OPNsense PowerShell Module - Copyright (c) 2018 fvanroie
Connect‑OPNsense
Disconnect‑OPNsense
Get‑OPNsense
Update‑OPNsense
Restart‑OPNsense
Stop‑OPNsense
Invoke‑OPNsenseAudit
Set‑OPNsense
Get‑OPNsensePackage
Lock‑OPNsensePackage
Unlock‑OPNsensePackage
Install‑OPNsensePackage
Remove‑OPNsensePackage
Get‑OPNsensePlugin
Get‑OPNsenseService
Start‑OPNsenseService
Update‑OPNsenseService
Restart‑OPNsenseService
Stop‑OPNsenseService
Get‑OPNsenseCronJob
Set‑OPNsenseCronJob
New‑OPNsenseCronJob
Enable‑OPNsenseCronJob
Disable‑OPNsenseCronJob
Get‑OPNsenseRoute
Get‑OPNsenseArp
Clear‑OPNsenseArp
Get‑OPNsenseInterface
Get‑OPNsenseResource
Get‑OPNsenseSystemHealth
ARP Scanner ClamAV Captive Portal Collectd IDS HA Proxy LLDP