Backups go to s3, but still a few random local backups stored

Hi there, I was checking my disk space and I found a significant amount of data in /var/discourse/shared/standalone/backups/default/ despite my backups being configured to s3.

3.6G Sep 15  2023 forum-com-2023-09-15-060642-v20230910021213.tar.gz
3.6G Sep 23  2023 forum-com-2023-09-23-060044-v20230910021213.tar.gz
3.7G Oct  7  2023 forum-com-2023-10-07-060258-v20230910021213.tar.gz
4.6G Mar  1 01:07 forum-com-2024-03-01-060255-v20240122015630.tar.gz
5.1G May 31 01:09 forum-com-2024-05-31-060527-v20240307231053.tar.gz

Would those be failed backups?

If that’s the case, it seems like they should be automatically deleted according to my maximum backups policy of 15 backups. Or maybe it’s happening because I have not set remove older backups ?

At any rate, I can manually delete them, right?

This is a long standing bug. I’ve been unable to figure out what causes it. It happens very rarely so it’s difficult to diagnose. The solution is to just delete the local backups.

1 Like

Try changing your backup time.

1 Like