kartoza / docker-pg-backup

A cron job that will back up databases running in a docker postgres container
GNU General Public License v2.0
452 stars 103 forks source link

back up globals #5

Closed gubuntu closed 5 years ago

gubuntu commented 8 years ago

If restoring fresh or into another environment you need to be able to restore globals (roles) so this needs to be added to the script:

pg_dumpall --globals -f globals.sql
NyakudyaA commented 5 years ago

Closed via https://github.com/kartoza/docker-pg-backup/commit/a5d5709672cca6aa614bd6fe85f86b0f5b79e70e