Dbdump

Aus Free Software
Version vom 7. Januar 2010, 16:09 Uhr von Mati (Diskussion | Beiträge) (Created page with '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 …')
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

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:

http://svn.fsinf.at/fs/dbdump

The whole project is of course under the GPLv3.

Installation and configuration

A simple svn-checkout

svn co http://svn.fsinf.at/fs/dbdump

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.

MySQL configuration

PostgreSQL configuration