A shell script to manage PostgreSQL archiving and basebackups