Commit ef6e4c19 authored by Patrick J Cherry's avatar Patrick J Cherry
Browse files

Updated directories.conf to exclude /var/lib/mysql and php5. Closes #2991

parent 331750d0
......@@ -3,18 +3,20 @@
# Source files
#
# List of directories to make backups of.
# List of directories to make backups of. /var/backups/mysql is included here
# such that versioned database backups are kept.
#
SRCLIST=(#SRCLIST#)
SRCLIST=(/etc /root /srv /home /usr/local /var/mail /var/lib /var/spool/cron /var/backups/mysql)
# The following expression specifies the files not to be archived.
#
# This example skips all files and directories with a path name containing
# '.nobackup' and all .o files:
#
SKIPCOND=(-path "*.nobackup*" -o -name "*.o")
# Exclude mysql binary dirs, as these are dumped to /var/backups/mysql before
# the backup. Also exclude php5 session files.
#
SKIPCOND=(-path "*.nobackup*" -o -name "*.o" -o '(' -path '/var/lib/mysql' -o -path '/var/lib/php5' ')' -prune )
##################################################
# Destination
......
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