Skip to content

Is there any way to run gravity-sync? #101

Answered by DesktopECHO
cristacheda asked this question in Q&A
Discussion options

You must be logged in to vote

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…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cristacheda
Comment options

Answer selected by cristacheda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #100 on July 23, 2023 00:07.