This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Author: Bruno Coimbra <[email protected]> | |
# | |
# Backups database located in DB_HOST, DB_PORT, DB_NAME | |
# and can be accessed using DB_USER. Password should be | |
# located in $HOME/.pgpass and this file should be | |
# chmod 0600[1]. | |
# | |
# Target bucket should be set in BACKUP_BUCKET variable. |