I found this thread because I'm trying to do a two way sync between pihole installations. One is a docker, and the other is on a rpi. Haven't figured it out yet. This looks like what I was looking for:
then to here: https://github.com/vmstan/gravity-sync