Skip to content

Add Dokku postgres backup file pruner #1

Closed
@philbudne

Description

@philbudne

I've written most of a program that uses the boto3 S3 API (the lingua franca of the cloud storage world?) to inventory a bucket containing postgres backups, and determine which should be kept.

The only part remaining to be written is deleting the objects.
For S3, if bucket versioning is enabled, we may have to provide the VersionId for each object?

The API includes a bulk delete call:
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3/client/delete_objects.html

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions