29 lines
580 B
Bash
29 lines
580 B
Bash
#!/bin/bash
|
|
# Configuration file for ribs.sh
|
|
|
|
# Dry run option. Set to 0 for normal mode or 1 for testing.
|
|
DRY_RUN=0
|
|
|
|
# Remount option. Set to 0 to not remount or 1 to remount read-only.
|
|
REMOUNT=1
|
|
|
|
# Mount point of backup drive
|
|
BACKUP_ROOT="/mnt/incremental_backup_drive"
|
|
|
|
# Backup device
|
|
BACKUP_DEV="/dev/sde"
|
|
BACKUP_PART=$BACKUP_DEV"1"
|
|
|
|
# Backup device serial number (as reported by smartctl -a)
|
|
BACKUP_DEV_SN=W4Z1490W
|
|
|
|
# File containing patterns to exclude
|
|
EXC_FILE="/etc/ribs/exclude_list"
|
|
|
|
#Number of days of backups to keep
|
|
DAY_LMT=60
|
|
|
|
# source directory
|
|
SRC="/mnt/raid/"
|
|
|