Skip to content

Instantly share code, notes, and snippets.

View ppiccolo's full-sized avatar

Paolo ppiccolo

View GitHub Profile
#! /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