Disable long term data?

Is there any way to disable long term data, I don't use it at all so I could save some space since I'm using 2GB SD card and extend it's lifespan a little bit

Thanks

Yes, as documented here:

You can create a file /etc/pihole/pihole-FTL.conf with the following content to disable the database altogether:

MAXDBDAYS=0
1 Like

Thanks! Does this configuration file stays even after updating pihole?

Yes, it will remain after updating Pi-hole.