Skip to content
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

Is there any way how to set some TTL on S3 bucket? #19

Open
JaLe29 opened this issue Feb 8, 2024 · 1 comment
Open

Is there any way how to set some TTL on S3 bucket? #19

JaLe29 opened this issue Feb 8, 2024 · 1 comment

Comments

@JaLe29
Copy link
Contributor

JaLe29 commented Feb 8, 2024

Is there any way how to set some TTL on S3 bucket?

In short: I would like to store dumps only for one day.

Solution:
Write some cron for clear old files.

Better:
Use some flag via ENV variable

@Martlark
Copy link
Owner

Martlark commented Feb 9, 2024

An interesting idea. But I think your S3 policy should be run by a more centralized solution. S3 is really about long term survival.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants