Is there any way to run gravity-sync? #101
-
I used your script to install Pi Hole for WSL and I would really like to sync this Pi Hole instance with another one that I'm running on a Raspberry Pi. How should I go about using gravity-sync? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If you're running a debian-based distro (like Raspbian) you can use You'll be prompted with a question:
If you want your "real" Pi-hole's configuration sent to a fresh install of Pi-hole for Windows, answer push It will create a script which you copy/paste into a remote SSH session on the gravity-sync partner. The script downloads gravity-sync and performs pre-requisite setup: Note that sync jobs are configured and run on the partner side, and are never run from Windows. I haven't heard much feedback on this funcionality so let me know if it's working for you. |
Beta Was this translation helpful? Give feedback.
If you're running a debian-based distro (like Raspbian) you can use
C:\Program Files\Pi-hole\Gravity Sync.cmd
You'll be prompted with a question:
Replication partner's first sync will 'pull' records from this Pi-hole, or 'push' records to this Pi-hole? [pull]:
If you want your "real" Pi-hole's configuration sent to a fresh install of Pi-hole for Windows, answer push
It will create a script which you copy/paste into a remote SSH session on the gravity-sync partner. The script downloads gravity-sync and performs pre-requisite setup:
Note that sync jobs are configured and run on the partner side, and are never run from Windows.
From your Raspberry Pi, run
sudo gravity-sync info
to verify th…