Hello,
I need to backup configuration of new pfsense 2.2.6. This operation is simple but any of templates does not fit.
After login pfsense dislpays menu:
*** Welcome to pfSense 2.2.6-RELEASE-pfSense (amd64) on pfs-oph01 *** WAN_C6K (wan) -> vmx0_vlanxx -> v4: xxxxxx LAN (lan) -> vmx1_vlanxx -> BACKUP (opt1) -> vmx1_vlanxx -> v4: xxxxxx SERVERS (opt2) -> vmx1_vlanXx -> v4: xxxxxx MANAGEMENT (opt3) -> vmx0_vlanxx -> v4: xxxxxx 0) Logout (SSH only) 9) pfTop 1) Assign Interfaces 10) Filter Logs 2) Set interface(s) IP address 11) Restart webConfigurator 3) Reset webConfigurator password 12) pfSense Developer Shell 4) Reset to factory defaults 13) Upgrade from console 5) Reboot system 14) Disable Secure Shell (sshd) 6) Halt system 15) Restore recent configuration 7) Ping host 16) Restart PHP-FPM 8) Shell Enter an option: |
I must type "8" and press enter. After that I have command prompt:
[2.2.6-RELEASE][admin@xxx.xxx]/root: |
Command to display config is very simple.
After many tries my template almost works 
<Configuration-Management Device="pfsense Devices" SystemOID="1.3.6.1.4.1.12325.1.1.2.1.1"> <Commands> <Command Name="DownloadConfig" Value="cat /conf/config.xml"/> <Command Name="EnterConfigMode" Value="8"/> <Command Name="VirtualPrompt" Value="Enter an option: "/> <Command Name="EnablePrompt" Value="%/root: "/> </Commands> </Configuration-Management> |
Thank you in advance! 