Transfer the Pi-hole settings across to a new install with Teleporter. Not recommended to clone the image of a supposedly dying SD card imo