[SUPPORT] Orbital Sync


Recommended Posts

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.

Link to comment
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
image.png.53cf01e92945280c2807a956c3f524b9.png

 

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!

Link to comment
  • 2 weeks later...

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.

  • Like 1
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.