Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
#
## OpenShift redis backup script
## usage
## Edit openshift ID and backup directory to reflect your setup
## Install cron cartridge and place this script in the appropriate cron directory for your needs (daily, hourly, etc.)
openshift_id="your_openshift_id"