Postgres/WAL-e: delete backups older than date

Jun 12, 2018

Deleting backups older than a particular date with WAL-e

WAL-e has the delete before and the delete retain commands to help with cleaning up old backups. However it doesn’t have an option to delete backups older than a date. The following script gets the job done: