Restore from AutoConfigBackup without user information
-
Hello,
I need to restore all config from AutoConfiBackup without all user information.
Is this possible to just remove the user and group blocks from the config?Thank you!
Kindly regards
-
Take a text editor to the XML file.
TBH I'd have thought it would be easer to import back and remove the users & groups via the GUI.
-
the problem is that all passwords which are backed up are lost! Thats why I want to restore just all other config INSTEAD users and passwords & groups
-
https://www.netgate.com/docs/pfsense/usermanager/locked-out-of-the-webgui.html
-
@nogbadthebad said in Restore from AutoConfigBackup without user information:
https://www.netgate.com/docs/pfsense/usermanager/locked-out-of-the-webgui.html
If that would be so simple I wouldn´t reinstall! Of course, I have read through all the docs. Single mode is not accessible due to keyboard not reacting, either usb or ps/2.
-
Guess you need to do a fresh install, then recover everything from a backup except System as that contains the users & groups.
Try it on a differnet PC first.
What is the device pfSense is running on ?
-
@nogbadthebad said in Restore from AutoConfigBackup without user information:
Guess you need to do a fresh install, then recover everything from a backup except System as that contains the users & groups.
Try it on a different PC first.
What is the device pfSense is running on?
it is an older Dell server with complete oversized hardware. 3 network cards.
I already started with the reinstall. Copied the config.xml down from AutoConfigBackup services and started to restore one by one service through the "standard" backup/restore function.
Looks good so far! Services and all rules etc. are restored including the snort stuff and so on. Found there a problem or may a bug during restore:- after restoring the config of the package manager the list of the manager shows the services which where installed what is good.
But just once! Will say everytime you choose to reinstall of a not yet complete restored package the list disappears again and you have to restore the package manager config again. This is taking time if you need to reinstall a lot of services.
So I guess the list is updated everytime a package has been installed too with the packages which are completely installed already.
Better would be if the package manager just updates/modify the list of installed packages instead overwriting it with just complete installed packages. - after restoring the config of the package manager the list of the manager shows the services which where installed what is good.