26 lines
505 B
Bash
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"\
|
|
)
|