Can I restore part of a config.xml?

Started by cybermaus, May 16, 2021, 03:44:44 PM

Previous topic - Next topic
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.

System -> Configuration -> Backups go to Restore section and see drop-down menu for which parts of the config can be imported separately...
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....