pg_dump icon indicating copy to clipboard operation
pg_dump copied to clipboard

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

Open JaLe29 opened this issue 1 year ago • 1 comments

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

JaLe29 avatar Feb 08 '24 20:02 JaLe29

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

Martlark avatar Feb 09 '24 10:02 Martlark