Commit faccd543 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

/tmp and /var/tmp are actually data directories

Treat /tmp and /var/tmp as data directories
parent 6668851d
...@@ -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"
); );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment