{"id":479,"date":"2026-09-09T17:24:12","date_gmt":"2026-09-09T17:24:12","guid":{"rendered":"http:\/\/blog.ltzs.us\/?p=479"},"modified":"2026-09-09T17:24:12","modified_gmt":"2026-09-09T17:24:12","slug":"pihole-backup","status":"publish","type":"post","link":"http:\/\/blog.ltzs.us\/?p=479","title":{"rendered":"pihole backup"},"content":{"rendered":"\n<p>Pihole runs my site blocking as well as my DHCP server. It&#8217;s a LXC container on Proxmox. If the host goes down or there&#8217;s a network problem, I lose my DHCP server. I need a second pihole running on a separate machine to reduce downtime in case of failure. However, I have a bunch of DHCP assignments that need to be correct. The answer is <a href=\"https:\/\/github.com\/08shiro80\/gravity-sync-updated\">https:\/\/github.com\/08shiro80\/gravity-sync-updated<\/a><\/p>\n\n\n\n<p>Using ssh, inotify-tools and rsync, any changes made to the primary pihole are immediately copied to the backup instance, so whichever DHCP server responds will correctly assign addresses.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pihole runs my site blocking as well as my DHCP server. It&#8217;s a LXC container on Proxmox. If the host goes down or there&#8217;s a network problem, I lose my DHCP server. I need a second pihole running on a separate machine to reduce downtime in case of failure. However, I have a bunch of&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-479","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=\/wp\/v2\/posts\/479","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=479"}],"version-history":[{"count":1,"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=\/wp\/v2\/posts\/479\/revisions"}],"predecessor-version":[{"id":480,"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=\/wp\/v2\/posts\/479\/revisions\/480"}],"wp:attachment":[{"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=479"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=479"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}