Skip to content

Instantly share code, notes, and snippets.

Last active April 16, 2016 13:20
What would you like to do?
Backup OpenShift PostgreSQL Database
# Backs up the OpenShift PostgreSQL database for this application
# by Skye Book <>
NOW="$(date +"%Y-%m-%d")"
Copy link

I liked this way of taking backup and not taking the backup of entire app.
Thank you very much for quick 3 lines, really helpful

Copy link

shaiton commented Oct 23, 2014

Hi, I forked thinking we can do pull request but just found we can't actually.
I just added a line to clean old backup files (mtime +30 = 30 days old)

Copy link

lucas03 commented Aug 4, 2015

does not work if database is on separate gear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment