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 ES_HOST=es.inventid.net -e ES_PORT=9200 -e MAX_AGE=7 -e SNAPSHOT=s3_backup es-prune-snapshot.
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.