Skip to content
GitLab
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
dee3e1aa
Commit
dee3e1aa
authored
Dec 24, 2014
by
Nigel Kukard
Browse files
Fixed bug where --exclude-data didn't work
parent
730441c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
dbackup
View file @
dee3e1aa
...
...
@@ -103,6 +103,7 @@ my %config = (
'
log-level
'
=>
LOG_NOTICE
,
'
tar
'
=>
'
tar
',
'
exclude-system
'
=>
0
,
'
exclude-data
'
=>
0
,
'
backup-upgrade
'
=>
0
,
'
compress
'
=>
"
bzip2
"
);
...
...
@@ -315,6 +316,10 @@ if (defined($optctl{'exclude-system'})) {
$config
{'
exclude-system
'}
=
1
;
}
if
(
defined
(
$optctl
{'
exclude-data
'}))
{
$config
{'
exclude-data
'}
=
1
;
}
if
(
defined
(
$optctl
{'
system-base
'}))
{
push
(
@
{
$config
{'
system-base
'}},
@
{
$optctl
{'
system-base
'}});
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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