Commit b6c4f70d authored by Steve Kemp's avatar Steve Kemp
Browse files

Sync directories.

parent 98e9d2a8
......@@ -4,7 +4,7 @@
# List of directories to make backups of.
# All paths MUST be absolute and start with a '/'!
SRCLIST=(/etc /root /home /var/mail /usr/local)
SRCLIST=(/etc /root /srv /home /var/mail /var/lib /usr/local /var/backups/mysql)
# The following expression specifies the files not to be archived.
# See the find(1) man page for further info. It is discouraged to
......@@ -15,22 +15,12 @@ SRCLIST=(/etc /root /home /var/mail /usr/local)
# '.nobackup' and all .o files:
SKIPCOND=(-path "*.nobackup*" -o -name "*.o")
# If you want to exclude several directories use the following expression:
# SKIPCOND=(-path '/path1' -o -path '/path1/*' -o -path '/path2' -o -path '/path2/*')
# NOTE: If you do not have anything to skip, use:
# SKIPCOND=(-false) # "SKIPCOND=()" does not work
##################################################
# Destination
# Mount point of backup device (optional)
#BACKUP_DEV="/disk2"
#
# Destination directory for backups;
# it must exist and must not be the top-level of BACKUP_DEV
BACKUP_DIR="/disk2/backup"
#
BACKUP_DIR="/var/backups/localhost"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment