Disk usage limit, was it there, is it there? #241
-
I'm trying to remember there used to be a setting from long ago that set the disk usage limit for the audio recordings cleanup etc... But I do not see it in the setup menu. I think the backup script is in place, but it tells me there is not enough room, I went back and just made the setting to only keep 10 of each birdsong, but would like to know if I was dreaming or if the disk usage limit really existed, and if it still exists... :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi, there is 2 options in the advanced tab to manage the disk. The first one is Purge/Keep : of you select purge then it will cap size at 95% and routinely eliminate everything that goes above. The 95% is not configurable. BirdNET-Pi/scripts/disk_check.sh Line 7 in abcbcb6 The second one is "Amount of files to keep for each species : ". If different than 0 (keep all), defines the maximum number of files to be kept for each species, with priority give to files with highest confidence. This value does not take into account the last 7 days (protected by default). If the backup script tells you there is not enough place then one of the 2 options is likely not working and it's a bug : could you please check the disk size and the amount of files for a particular bird (can be through with a command like |
Beta Was this translation helpful? Give feedback.
-
Worked like a champ! Thanks! From my memory at one time there was a config option to change that 95% to another number, I remember tweaking it, but it probably went away sometime during the last repository, as it is not in any recent configs... |
Beta Was this translation helpful? Give feedback.
Hi, there is 2 options in the advanced tab to manage the disk.
The first one is Purge/Keep : of you select purge then it will cap size at 95% and routinely eliminate everything that goes above. The 95% is not configurable.
BirdNET-Pi/scripts/disk_check.sh
Line 7 in abcbcb6
The second one is "Amount of files to keep for each species : ". If different than 0 (keep all), defines the maximum number of files to be kept for each species, with priority give to files with highest confidence. This value does not take into account the last 7 days (protected by default).
Note only the spectrogram and audio files are deleted, the obsevation data rema…