I have some configs I saved (from b save all) from a viprion, I want to restore these on another viprion (which currently has another config on it), is the correct way to copy these files into /config and run a b load?
The reasoin Im asking is I got an error about routing.cpp when I did this. Also is there a way to reset the config back to defaults? As I think I have corruption somewhere, on one image my viprion is showing an unusual amount of interfaces (88) when there should be 22 and I get a database error when trying to view the stats.
Config files are used by the sync’ing mechanism so there’s a couple of maybe unexpected features in there. If the hostname of the loading box != the hostname saved in the config only the shared config will be loaded. This is where you’re probably losing the interface information, because interfaces aren’t shared config (Shared config are floating IP’s, pools, VS etc.
You could use the single configuration file method to port the configs, which will grab the system files as well, just make sure you save the active config to files first:
b config save all
b export /var/tmp/myConfig.scf
Then on your other system
b import /var/tmp/myConfig.scf (assuming you put it there)
b config save all
This single configuration file can be edited easily, and if you configure many systems, can be setup up as a template so you can script new config files. The overview for this functionality is in Solution 8435: Click here
thanks i restored it ok but on one software image it said there were 88 interfaces when there were only 22. Is there a way to restore back to defaults? Alternatively can I copy one software parition easily to another? i couldnt understand why this was.