DigitalOcean home
  • Droplets
  • Spaces
  • Kubernetes
  • Tools & Integrations
  • One-click Apps
  • API Documentation
  • Community
  • Tutorials
  • Q&A
  • Projects
  • Meetups
  • Customers
  • Pricing
  • Docs
  • Support
  • DigitalOcean home
  • Products
    • Droplets

      Scalable compute services.

    • Spaces

      Simple object storage.

    • Kubernetes

      Run managed Kubernetes clusters.

    • Tools & Integrations

      Automate your infrastructure.

    • One-click Apps

      Deploy pre-built applications.

    • API Documentation
  • Customers
  • Community
    • Community Overview

      Connect, share and learn

    • Tutorials

      DevOps and development guides

    • Questions & Answers

      Development and systems Q&A

    • Projects

      Community-built integrations

    Get Involved
    Write for DOnations
    Join us at a Meetup
    Featured Post
    An Introduction to Kubernetes

    by Justin Ellingwood

  • Pricing
  • Docs
  • Support
    • Documentation

    • Contact Support

    • Network Status

  • Home /
  • DO-I-225 /
  • New idea
37 Vote

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.

  • Harold
  • Sep 11 2018
  • Needs review
Object Storage (Spaces)
  • Comments (9)
  • Votes (37)
  • Attach files
  • Varun Priolkar commented
    11 Jun, 2019 06:55am

    Any updates on this? Badly needed.

    ×

    Attachments Open full size

  • John Gannon commented
    11 Sep, 2018 03:50pm

    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.

    ×

    Attachments Open full size

  • Harold commented
    11 Sep, 2018 03:50pm

    Awesome, thanks! :)

    ×

    Attachments Open full size

  • Roeland commented
    11 Sep, 2018 03:50pm

    This would also be great to remove old backups after x days.

    ×

    Attachments Open full size

  • Jonathan commented
    11 Sep, 2018 03:50pm

    It seems from your API docs that this should alread be possible?

    https://developers.digitalocean.com/documentation/spaces/#create-bucket-lifecycle

    ×

    Attachments Open full size

  • Jeff Ferguson commented
    11 Sep, 2018 03:50pm

    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 :)

    ×

    Attachments Open full size

  • Óscar de Arriba commented
    11 Sep, 2018 03:50pm

    Look like it already exists as @Jonathan pointed! https://developers.digitalocean.com/documentation/spaces/#create-bucket-lifecycle

    ×

    Attachments Open full size

  • Anonymous commented
    11 Sep, 2018 03:50pm

    Would be great if we could set TTL to entire folder trough dashboard

    ×

    Attachments Open full size

  • Vadim Gusev commented
    11 Sep, 2018 03:50pm

    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?

    ×

    Attachments Open full size

Log in / Sign up

Identify yourself with your email address

Subscribe

You won't be notified about changes to this idea.

Related ideas

DigitalOcean home

© 2018 DigitalOcean, LLC. All rights reserved.
Proudly made in NY

  • Twitter
  • Facebook
  • Instagram
  • YouTube
  • LinkedIn
  • Glassdoor
Company
About
Leadership
Blog
Careers
Partner Network
Referral Program
Events
Press
Legal & Security
Products
Droplets
Spaces
Kubernetes
Tools & Integrations
One-click Apps
API
Pricing
Documentation
Release Notes
Community
Tutorials
Meetups
Q&A
Write for DOnations
Droplets for Demos
Hatch
Shop Swag
Research Program
Currents Research
Open Source
Support
Contact Support
FAQ
Network Status