dbdump is actually rather small script designed to periodically dump databases. It supports dumping PostgreSQL and MySQL databases and is optionally able to sign and encrypt the data using GPG. It can also dump the data to a remote host via SSH, if used together with GPG encryption the data is encrypted before it is sent to the remote host.
It is developed together with dbclean, which periodically cleans old database dumps created by this script.
Authors, download and licence
dbdump is developed by Mati. I thus share the source in the public part of my SVN-repository, the URL is:
The whole project is of course under the GPLv3.
Installation and configuration
A simple svn-checkout
will download all the files you need. You can run dbdump as a normal user. If you want to run dbdump as a cron-job, it has to run without password entry.