Make it possible to expire files in Spaces.
I use spaces for logging data that I don't want to have in my database (mainly because of the size of the data). When creating the files it would be awesome to be able to set a expiry flag to make sure that the files will be automatically removed after X time.
Vadim Gusev commented
I was able to set Epriation after 1 day for a Prefix via s3cmd, yet files are not deleted even after 3 days. I was wondering if API docs are misleading or I've done something wrong?
Would be great if we could set TTL to entire folder trough dashboard
Óscar de Arriba commented
Look like it already exists as @Jonathan pointed! https://developers.digitalocean.com/documentation/spaces/#create-bucket-lifecycle
Jeff Ferguson commented
Some type of lifecycle for files would be very convenient and shouldn't be that difficult to implement although now I think I should write a bash script to accomplish this in the meantime :)
It seems from your API docs that this should alread be possible?
This would also be great to remove old backups after x days.
Awesome, thanks! :)
Hi Harold - thanks for the feedback. We hope to be able to support this soon. Can't promise a specific date yet but it's something we're looking at prioritizing.