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;
my $VERSION = "0.0.x";
# 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
my @defaultDataExcl = (
# We cannot backup the DB reliably by just copying files
......@@ -70,7 +70,11 @@ my @defaultDataExcl = (
"/var/cache/apt/archives",
# cPanel
"/home/virtfs"
"/home/virtfs",
# Temporary dirs
"/tmp",
"/var/tmp"
);
......
Markdown is supported
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