Public | Automated Build

Last pushed: 2 years ago
Short Description
Prune your old ES snapshots from S3 easily
Full Description

Prune your ES S3 snapshots

Since it takes quite some disk space at some point, which is a waste.

This docker container is a self contained script which will prune old backups.

Run it with this command docker run -e -e ES_PORT=9200 -e MAX_AGE=7 -e SNAPSHOT=s3_backup es-prune-snapshot.
The MAX_AGE parameter is given in days.
The above command will trigger a dry-run.
Add the parameter -e DRYRUN=false to actually delete the old snapshots.

Docker Pull Command
Source Repository