Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
awit-dbackup
awit-dbackup
Commits
e085203a
Commit
e085203a
authored
Dec 24, 2014
by
Nigel Kukard
Browse files
Added missing $sysdir to exclude-data
parent
931af67a
Changes
1
Show whitespace changes
Inline
Side-by-side
dbackup
View file @
e085203a
...
...
@@ -457,6 +457,8 @@ sub backup
}
# Check if we excluding data dirs
if
(
defined
(
$config
{'
exclude-data
'}))
{
# Loop through system dirs
foreach
my
$sysdir
(
@
{
$config
{'
system-base
'}})
{
# Loop with data dirs
foreach
my
$excl
(
@defaultDataExcl
,
@
{
$config
{'
data-dir
'}})
{
# Sanitize path
...
...
@@ -469,6 +471,7 @@ sub backup
}
}
}
}
# Exclude paths
foreach
my
$item
(
@
{
$config
{'
exclude-path
'}})
{
# Check...
...
...
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