official / postgresql:backup
Creates a PostgreSQL database dump backup
To run this Prog command, type this

README for postgresql:backup

Description

Create a backup of your PostgreSQL database using this Prog command.

  • Use this with a cron job to enable regular backing up
  • Add this Prog to your Prog command and send your backups to your S3 bucket
  • Automatically zips up your archive to save space

Requirements

  • PostgreSQL

Usage

proggy run official/postgresql:backup --save-defaults

When you run this, you will be prompted for your database name, username, and password, as well as the location of where you want your backups to go.

This Prog will also automatically name the backup files with a timestamp.

If you need to reset the settings and save new ones, run your command like so:

proggy run official/postgresql:backup --reset--defaults --save-defaults

The --reset-defaults flag will erase the previously saved inputs.