How to update pihole to a new version and opt out of downloading all the lists again?

I have more than 1 pihole. The 2 piholes are kept in sync using gravity-sync.

I am already able to disable the weekly update on the second pihole that updates from the primary by editing the cron entry and uncommenting the lines in the /etc/cron.d/ directory.

However when a new update comes out, part of the update script is to update the gravity database. This is not required and inefficient on the secondary/backup pihole.

When updating I tried using the flag that already exists in pihole to avoid updating but it does not have an effect (skip-download).

eg:

pihole -up --skip-download

Question:
How can I disable pihole from updating the gravitylists when I initiate an update and or disable them altogether via some method?

What I have changed since installing Pi-hole:
Disabled weekly update on secondary pihole via cron entry edit (must be done each time an update happens).
Setup gravity-sync in one direction from Primary ---> secondary.
Changed cache size from 10000 to zero. (via setupvars).

Kind regards
P

Im surprised nobody knows the answer to this. I would have thought a specifically coded option would work such as the --skip-download option. Thanks for looking anyway to anyone that did.
P

Looking at the code commit here: Finish migrating gravity.db to using our new gravity database That option was removed 3 years ago. As far as I know there is no other option to skip gravity.

1 Like

Ah how disappointing that a useful option was removed. Oh well.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.