From e42ae622cc85f91f98d8a219f3fccaf7eaaf46f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Wed, 8 Jun 2016 10:02:35 +0200 Subject: [PATCH] fix #1005: don't exclude /var/log/?* with stdexcludes the old behaviour can be easily restored with --exclude-path and this seemed to surprise a lot of users. --- PVE/CLI/vzdump.pm | 1 - PVE/VZDump.pm | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/PVE/CLI/vzdump.pm b/PVE/CLI/vzdump.pm index a048a384..75d2bb77 100755 --- a/PVE/CLI/vzdump.pm +++ b/PVE/CLI/vzdump.pm @@ -119,7 +119,6 @@ You can specify a hook script with option C<--script>. This script is called at vzdump skips the following files wit option --stdexcludes - /var/log/?* /tmp/?* /var/tmp/?* /var/run/?*pid diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm index 4587a9d1..1e00c2db 100644 --- a/PVE/VZDump.pm +++ b/PVE/VZDump.pm @@ -558,8 +558,7 @@ sub new { } if ($opts->{stdexcludes}) { - push @$findexcl, '/var/log/?*', - '/tmp/?*', + push @$findexcl, '/tmp/?*', '/var/tmp/?*', '/var/run/?*.pid'; }