PhilBarker Posted December 9, 2023 Share Posted December 9, 2023 Overview: Support for Docker image mattwebbio/orbital-sync which can synchronise a master pihole container on Unraid to a single or multiple slave pihole instance (either virtualised or physical on Raspberry PI). Docker Hub: https://hub.docker.com/r/mattwebbio/orbital-sync GitHub: https://github.com/mattwebbio/orbital-sync No credit is taken for this excellent application, I spent days trying to find a nice solution without SSH/Rsync capability in the pihole container, this works perfectly as it connects to the admin interface, creates a backup using the inbuilt "teleporter" then imports the backup into the slaves. You can also setup notifications if you want to be notified on success/failure. Expectations: This container will run when started, perform a synchronisation, then wait for x minutes (as specified by a container variable). It will run every x minutes until stopped. 12/9/2023, 11:12:20 PM: ➡️ Signing in to http://192.168.1.xxx/admin... 12/9/2023, 11:12:20 PM: ✔️ Successfully signed in to http://192.168.1.xxx/admin! 12/9/2023, 11:12:20 PM: ➡️ Downloading backup from http://192.168.1.xxx/admin... 12/9/2023, 11:12:20 PM: ✔️ Backup from http://192.168.1.xxx/admin completed! 12/9/2023, 11:12:20 PM: ➡️ Signing in to http://192.168.1.yyy/admin... 12/9/2023, 11:12:20 PM: ✔️ Successfully signed in to http://192.168.1.yyy/admin! 12/9/2023, 11:12:20 PM: ➡️ Uploading backup to http://192.168.1.yyy/admin... 12/9/2023, 11:12:26 PM: ✔️ Backup uploaded to http://192.168.1.yyy/admin! 12/9/2023, 11:12:26 PM: ➡️ Updating gravity on http://192.168.1.yyy/admin... 12/9/2023, 11:12:28 PM: ✔️ Gravity updated on http://192.168.1.yyy/admin! 12/9/2023, 11:12:28 PM: ✔️ Success: 1/1 hosts synced. 12/9/2023, 11:12:28 PM: Waiting 30 minutes... Logs This container logs to stdout. To see the logs you will have to execute the docker logs command. docker logs OrbitalSync or use the logs link from Unraid gui. Quote Link to comment
dbrown2 Posted December 13, 2023 Share Posted December 13, 2023 thank you so much... this is so easy to setup and works great. 1 Quote Link to comment
Helmonder Posted December 14, 2023 Share Posted December 14, 2023 Looks like exactly what I need... My piholes do not have passwords for the admin interface though... the setup will not allow me to not fill in a password. ? Quote Link to comment
PhilBarker Posted December 19, 2023 Author Share Posted December 19, 2023 On 12/14/2023 at 2:20 PM, Helmonder said: Looks like exactly what I need... My piholes do not have passwords for the admin interface though... the setup will not allow me to not fill in a password. ? I'm not sure if the actual script itself supports a blank password, but you can try clicking the edit button next to the password field and changing "required" to no Then click save and you'll be able to continue with the field blank If that doesn't work you can try clicking the remove button next to the password fields, then they won't be passed to the container at all Let me know how you get on! Quote Link to comment
Helmonder Posted December 30, 2023 Share Posted December 30, 2023 Seems to work ! 12/30/2023, 11:33:11 AM: ➡️ Signing in to http://192.168.2.251/admin... 12/30/2023, 11:33:11 AM: ✔️ Successfully signed in to http://192.168.2.251/admin! 12/30/2023, 11:33:11 AM: ➡️ Downloading backup from http://192.168.2.251/admin... 12/30/2023, 11:33:11 AM: ✔️ Backup from http://192.168.2.251/admin completed! 12/30/2023, 11:33:11 AM: ➡️ Signing in to http://192.168.2.253/admin... 12/30/2023, 11:33:11 AM: ✔️ Successfully signed in to http://192.168.2.253/admin! 12/30/2023, 11:33:11 AM: ➡️ Uploading backup to http://192.168.2.253/admin... 12/30/2023, 11:33:12 AM: ✔️ Backup uploaded to http://192.168.2.253/admin! 12/30/2023, 11:33:12 AM: ➡️ Updating gravity on http://192.168.2.253/admin... 12/30/2023, 11:33:15 AM: ✔️ Gravity updated on http://192.168.2.253/admin! 12/30/2023, 11:33:15 AM: ✔️ Success: 1/1 hosts synced. 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.