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
9ca3fb59
Commit
9ca3fb59
authored
Jun 15, 2015
by
Nigel Kukard
Browse files
Added more debug information, pre-processing
parent
e3c19a90
Changes
1
Hide whitespace changes
Inline
Side-by-side
dbackup
View file @
9ca3fb59
...
@@ -421,6 +421,8 @@ sub backup
...
@@ -421,6 +421,8 @@ sub backup
# Strip first part of the path
# Strip first part of the path
(
my
$path
=
$
File::Find::
dir
)
=~
s#^$source/?##
;
(
my
$path
=
$
File::Find::
dir
)
=~
s#^$source/?##
;
printLog
(
LOG_DEBUG
,"
S: Path '[
$source
]/(
$path
)' pre-processing
\n
");
# Check if this dir should be backed up or not....
# Check if this dir should be backed up or not....
if
(
-
f
"
$source
/
$path
/.nodbackup
"
)
{
if
(
-
f
"
$source
/
$path
/.nodbackup
"
)
{
printLog
(
LOG_INFO
,"
S: Path '[
$source
]/(
$path
)' EXCLUDED from backup with .nodbackup
\n
");
printLog
(
LOG_INFO
,"
S: Path '[
$source
]/(
$path
)' EXCLUDED from backup with .nodbackup
\n
");
...
...
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