Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Can I restore part of a config.xml?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Can I restore part of a config.xml? (Read 1878 times)
cybermaus
Newbie
Posts: 22
Karma: 2
Can I restore part of a config.xml?
«
on:
May 16, 2021, 03:44:44 pm »
On a old 18.7.9 build,
due to ssd failure and an outdated cold standby build, I am in urgent need to "transplant" only the <monit>, <openvpn> and various <ca> and <cert> sections.
Some context: I do have a recent backup, but its of the failed device, not the currently running slight different hardware cold standby one. And I cannot get onsite. Therefore reboots must be a "sure thing" and I am scared to apply the entire backup XML.
Can such partial config transplant be done easily, with little to no risk to the core routing?
Can I simply remove anything except the <monit> from XML, and then import it via the GUI? Or would such import overwrite everything, leaving a nearly emtpy config.
Or should I manually edit and merge both XML before importing it?
Or do I need to really re-enter every monit line and ca/cert manually one by one?
Many thanks for any advise.
Logged
chemlud
Hero Member
Posts: 2487
Karma: 112
Re: Can I restore part of a config.xml?
«
Reply #1 on:
May 16, 2021, 04:35:27 pm »
System -> Configuration -> Backups go to Restore section and see drop-down menu for which parts of the config can be imported separately...
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare
felix eichhorns premium katzenfutter mit der extraportion energie
A router is not a switch - A router is not a switch - A router is not a switch - A rou....
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Can I restore part of a config.xml?