-
-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local backup not cleaned up by retention policy #496
Comments
What's the full log output of such a run? It'd be interesting to see the deadline used by Dropbox as printed here docker-volume-backup/internal/storage/storage.go Lines 52 to 57 in 94e59a1
|
I'll provide the logs in a few days; as I was tinkering around and doing manual backups I used up my dropbox contingent and had to remove them manually because no new ones could be created |
Hi @m90
I have 6 other backup containers in my environment, prune behavior is being respected like above. The only time this did not ever work as expected was when I had set a memory limit to the backup container which was too low in comparison to the output backup file size (the dropbox upload was aborted without any error messages, it took me a little while to figure out why for some stacks' uploads it worked ok and for others it did not 😞 ). |
Fixing the failing dropbox backup seems to also have fixed the retention |
Describe the bug
Using local backup
/archive
leaves me with backups that are not cleaned up by the configured retention policy. Dropbox on the other hand is being cleaned up correctly.To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect only 11/22 to 11/25 to be left after pruning.
Version (please complete the following information):
offen/docker-volume-backup latest 4c971ebeada2 3 months ago 34.3MB
Additional context
The text was updated successfully, but these errors were encountered: