@mrdenmark Maybe this will help:
https://discourse.pi-hole.net/t/how-to-fully-uninstall-pihole/14133
But otherwise just save the config.js, and the list of modules, and do a clean install and install the modules and apply the config.js
Oh, and the ‘dict’ files as well, if you use MMM-MQTTbridge.
Held og lykke!