Is it safe to backup the entire /etc/pihole directory and restore it on a fresh Pi install?

This recent article discusses this a lttle. I've not done this but it seems the answer is yes.