10-directories.conf 837 Bytes
Newer Older
Steve Kemp's avatar
Merge  
Steve Kemp committed
1
2
3
4
5
6

##################################################
# Source files

# List of directories to make backups of.
# All paths MUST be absolute and start with a '/'!
Steve Kemp's avatar
Steve Kemp committed
7
SRCLIST=(/etc /root /srv /home /var/mail /var/lib /usr/local /var/backups/mysql)
Steve Kemp's avatar
Merge  
Steve Kemp committed
8
9
10
11
12
13
14
15
16
17
18
19
20
21

# The following expression specifies the files not to be archived.
# See the find(1) man page for further info. It is discouraged to
# use anything different from conditions (e. g. actions) as it may have
# unforeseeable side effects.

# This example skips all files and directories with a path name containing
# '.nobackup' and all .o files:
SKIPCOND=(-path "*.nobackup*" -o -name "*.o")



##################################################
# Destination
Steve Kemp's avatar
Steve Kemp committed
22
#
Steve Kemp's avatar
Merge  
Steve Kemp committed
23
24
# Destination directory for backups;
# it must exist and must not be the top-level of BACKUP_DEV
Steve Kemp's avatar
Steve Kemp committed
25
26
#
BACKUP_DIR="/var/backups/localhost"