Closed ep1cman closed 1 year ago
How old are we talking for those older files? In the latest update I turned down the purge frequency because on certain storage providers that charge per API call, it was incurring unacceptable costs.
Currently the application will check when it starts then once every 24h for files to delete. Is this not happening correctly for you? You can also adjust the purge interval using the PURGE_INTERVAL
envrioment variable for the container
I don't think I was seeing it check every 24hours. I will monitor it again over the next few days without a restart to make sure and report back with what I am seeing. It may be happening every 24hours but just feels like it's not, I only noticed it because every time I restart the container I get an email from OneDrive saying lots of files were deleted.
Is there a specific time the purge happens or is it just 24 hours from when it started up? I can see files are being deleted from OneDrive every day as well, either way I will report back after doing some more testing.
I have done some further testing on this and it is working now. It's been running continuously for 12 days now and has been cleaning up correctly, not sure why it was a few days behind before. This can be closed now 👍
Discussed in https://github.com/ep1cman/unifi-protect-backup/discussions/71