As far as Pi-hole is concerned:
Ideally, you'd have created a backup of your Pi-hole configuration via Settings | Teleporter and stashed that away in a safe place where you could just have pulled it out from now.
But as you are asking here, that may not have happened.
In that case, see e.g. Cloning Pi-hole setup and db's? - #5 by Bucking_Horn.
And consider creating a teleporter backup once your Pi-hole is running again. ![]()