summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-07-31 21:54:45 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-07-31 21:54:45 +0000
commitc9030aec2206b2612f32eaa79ddbedcb282b639a (patch)
treec06b0f96df36b90b377beda705ad2ce03742e51d /etc
parent9226ab399f156f544c42d95e9d23c3c05f7c63de (diff)
downloadpfsense-c9030aec2206b2612f32eaa79ddbedcb282b639a.zip
pfsense-c9030aec2206b2612f32eaa79ddbedcb282b639a.tar.gz
Do not backup /var/empty
Diffstat (limited to 'etc')
-rw-r--r--etc/phpshellsessions/cvssync2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync
index fb3d913..fdb7159 100644
--- a/etc/phpshellsessions/cvssync
+++ b/etc/phpshellsessions/cvssync
@@ -96,7 +96,7 @@ if($branch == "RESTORE") {
echo "===> Backing up current pfSense information...\n";
echo "===> Please wait... ";
-exec("tar czPf /root/cvssync_backup.tgz --exclude /root --exclude /dev --exclude /tmp --exclude /var/run /");
+exec("tar czPf /root/cvssync_backup.tgz --exclude /root --exclude /dev --exclude /tmp --exclude /var/run --exclude /var/empty /");
$size = filesize("/root/cvssync_backup.tgz");
echo "{$size} bytes.\n\n";
sleep(5);
OpenPOWER on IntegriCloud