A shell script to manage PostgreSQL archiving