Backup script for redmine over postgresql