#!/bin/bash MAILADDRESS="ore@kashyyyk" #LOCAL_STORAGE_PATH="/var/backups.system" #LOCAL_STORAGE_KEEP="1 month" REMOTE_STORAGE_TYPE="ftp" REMOTE_STORAGE_KEEP="6 months" REMOTE_STORAGE_HOST="10.10.250.133" REMOTE_STORAGE_CRED="backup:test" REMOTE_STORAGE_PATH="/" BACKUPS="system config home source" BACKUP_system="tar" BACKUP_system_FILES="/" BACKUP_system_EXCLUDE="/home /proc /sys /tmp /var/tmp /usr/src /usr/local/src /var/cache/apt/archives" BACKUP_config="tar" BACKUP_config_FILES="/etc /usr/local/etc /boot/$(hostname).* /boot/grub/menu.lst" BACKUP_home="tar" BACKUP_home_EXCLUDE="/home/ftp /home/newsnet /home/squid /home/oldsystem" BACKUP_home_FILES="/home" BACKUP_source="tar" BACKUP_source_FILES="/usr/src /usr/local/src"