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
faccd543
Commit
faccd543
authored
Dec 24, 2014
by
Nigel Kukard
Browse files
/tmp and /var/tmp are actually data directories
Treat /tmp and /var/tmp as data directories
parent
6668851d
Changes
1
Hide whitespace changes
Inline
Side-by-side
dbackup
View file @
faccd543
...
@@ -43,7 +43,7 @@ use MIME::Base64;
...
@@ -43,7 +43,7 @@ use MIME::Base64;
my
$VERSION
=
"
0.0.x
";
my
$VERSION
=
"
0.0.x
";
# System dirs we don't care about
# System dirs we don't care about
my
@defaultSystemExcl
=
("
/dev
","
/run
","
/proc
","
/sys
","
/
tmp
","
/var/tmp
","
/
misc
","
/media
","
/mnt
");
my
@defaultSystemExcl
=
("
/dev
","
/run
","
/proc
","
/sys
","
/misc
","
/media
","
/mnt
");
# These should be backed up separately
# These should be backed up separately
my
@defaultDataExcl
=
(
my
@defaultDataExcl
=
(
# We cannot backup the DB reliably by just copying files
# We cannot backup the DB reliably by just copying files
...
@@ -70,7 +70,11 @@ my @defaultDataExcl = (
...
@@ -70,7 +70,11 @@ my @defaultDataExcl = (
"
/var/cache/apt/archives
",
"
/var/cache/apt/archives
",
# cPanel
# cPanel
"
/home/virtfs
"
"
/home/virtfs
",
# Temporary dirs
"
/tmp
",
"
/var/tmp
"
);
);
...
...
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