Skip to content

Instantly share code, notes, and snippets.

Paolo ppiccolo

Block or report user

Report or block ppiccolo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View rancher_backup.sh
#! /bin/bash
# -- VARS
DAY=`date +"%Y%m%d"`
HOUR=`date +"%H%M"`
BACKUP_PATH=/var/backups/rancher
RANCHER_CONTAINER_ID=rancher_server
RANCHER_HOME=/home/user/rancher
RANCHER_DB_NAME=RANCHER
RANCHER_DB_USER=root
You can’t perform that action at this time.