From: Fabian Grünbichler Date: Wed, 8 Jun 2016 08:02:35 +0000 (+0200) Subject: fix #1005: don't exclude /var/log/?* with stdexcludes X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=454243d8c62e2ac943cd38d8fe46eca83ddcff28;p=pve-manager-legacy.git 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. --- 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'; }