gravity-sync icon indicating copy to clipboard operation
gravity-sync copied to clipboard

Add option to disable sync of group assignments.

Open weisrc opened this issue 2 years ago • 2 comments

It will be great if there was an option to disable the syncing of user IP and hostname along with anything user related such as comments and group assignments because in some situations, identical IPs are not the same user, at least in the project I am working on.

Is it possible edit the code such that it does not sync the user information? It will also be great if this becomes something configurable in the config file of Gravity Sync.

Thank you!

weisrc avatar May 05 '22 00:05 weisrc

Unfortunately not possible with the way it stores all that in the database. I've been resistant to doing anything beyond backing it up and moving it to another location. As such it's an all or nothing thing.

vmstan avatar May 05 '22 00:05 vmstan

Do you think it is possible to make a copy of the gravity.db, then perform the syncing, and move the group assignments back using SQLite cli? I am asking this because I am not very familiar with the mechanics of PiHole.

Thank you!

weisrc avatar May 05 '22 02:05 weisrc