Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Collection of some shell scripts for backing up a PostgreSQL database
branch: master


2010 Andreas Wenk

Here you can find some helpfull shell scripts for creating automated backups of a PostgreSQL database or a whole cluster.

Description of each script: can be used for manual backups or cronjob backups. Actually, it's more kind of a how to, because you can simply use pg_restore. But for sure it provides some convenient stuff like killing the running process when trying to delete the database. is a very simple backup script which creates backups from each database in the cluster and transfers it to a defined place on the server. Actually it's not possible to give any options to the script. Feel free to add them ;-)

Something went wrong with that request. Please try again.