|
|
@ -32,17 +32,18 @@ SERVERS_FALLBACK=${SERVERS_FALLBACK:-1} |
|
|
|
# timeout (in seconds) for SSH connections |
|
|
|
SSH_CONNECT_TIMEOUT=${SSH_CONNECT_TIMEOUT:-90} |
|
|
|
|
|
|
|
## We use /home/backup : feel free to use your own dir |
|
|
|
# We use /home/backup : feel free to use your own dir |
|
|
|
LOCAL_BACKUP_DIR="/home/backup" |
|
|
|
|
|
|
|
# You can set "linux" or "bsd" manually or let it choose automatically |
|
|
|
SYSTEM=$(uname | tr '[:upper:]' '[:lower:]') |
|
|
|
|
|
|
|
# Change these 2 variables if you have more than one backup cron |
|
|
|
PIDFILE="/var/run/evobackup.pid" |
|
|
|
LOGFILE="/var/log/evobackup.log" |
|
|
|
# Store pid and logs in a file named after this program's name |
|
|
|
PROGNAME=$(basename $0) |
|
|
|
PIDFILE="/var/run/${PROGNAME}.pid" |
|
|
|
LOGFILE="/var/log/${PROGNAME}.log" |
|
|
|
|
|
|
|
## Enable/Disable tasks |
|
|
|
# Enable/Disable tasks |
|
|
|
LOCAL_TASKS=${LOCAL_TASKS:-1} |
|
|
|
SYNC_TASKS=${SYNC_TASKS:-1} |
|
|
|
|
|
|
|