Skip to content

Instantly share code, notes, and snippets.

Avatar

Paolo ppiccolo

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.