Skip to content
Postgresql Backup Script
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
gpl.txt
postgresql

README.md

backupscript

Postgresql Backup Script

This script is intended to be used as a cron job.

Why it uses a temp directory?

Because it is also intended to be used along with Dropbox sync feature or any similar software. If we don't use a temp directory then Dropbox will start to sync files before being encrypted.

Do I need GnuPG?

If you want your files to be encrypted then yes, you do. If you leave the RECIPIENT variable empty then no files will be encrypted.

Can I backup more than one database?

Yes, you can. You must set them as a whitespace separated list. All databases must be owned by the same user and password.

You can’t perform that action at this time.