On Raspbian stretch, every day at 6:30 am, an alternatives.tar.0 file is created in the /var/backups folder, leaving 0% free space. So far, I have not been able to figure out what is doing this or why. Crontab shows there are no jobs scheduled.
This is a pi-zero with an 8G card. Running a node app that writes to Sqlite3 a small amount of data every minute. Ran fine for a few weeks then stopped. The data amounts to about 30k/day and I had 3G available.
Found that it stopped because Sqlite returned a disk full message. I freed up about 500M by deleting some apps and the next day it was full again. Then found the culprit, a file (just over 3G) named alternatives.tar.0 in /var/backups.
Inside that file were some small files like mt, rcp, jarsigner, desktop-background, and one huge file (8.5G) named jdb.
Many searches have turned up very little to nothing about the alternatives.tar or jdb files. I did read about the Debian alternatives feature but it doesn't seem related.
Any ideas are welcome!