Files
shell_sequencer/seqs/backup.cfg.example
Martin Winkler 7826addc26 Fix exclude rule for backup folder and backup logs
Before every file in the tree containing backup was excluded
2020-01-13 15:44:05 +01:00

26 lines
505 B
Bash

#!/bin/bash
# Backup sequence definitions
# A running debian needs at least the following runtime directories created to start up successfully:
## dev
## proc
## sys
## run
BACKUP_TARGET="/backup"
# Exclude notation "directory/*" creates the directory but NOT its content
# Leading slash binds the rule to the "root" of the transfer operation
BACKUP_EXCLUDES=(\
"/backup*"\
"/home/network/*"\
"/dev/*"\
"/proc/*"\
"/sys/*"\
"/tmp/*"\
"/run/*"\
"/mnt/*"\
"/media/*"\
"/lost+found"\
)