Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ian Eiloart
Sympl
Commits
b6c4f70d
Commit
b6c4f70d
authored
May 26, 2010
by
Steve Kemp
Browse files
Sync directories.
parent
98e9d2a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
backup/etc/backup.d/conf.d/10-directories.conf
View file @
b6c4f70d
...
...
@@ -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
/
loca
l
)
SRCLIST
=(/
etc
/
root
/
srv
/
home
/
var
/
mail
/
var
/
lib
/
usr
/
local
/
var
/
backups
/
mysq
l
)
# 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"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment