mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-27 15:21:28 +00:00
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.
This commit is contained in:
parent
ef456bd0b0
commit
e42ae622cc
@ -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
|
vzdump skips the following files wit option --stdexcludes
|
||||||
|
|
||||||
/var/log/?*
|
|
||||||
/tmp/?*
|
/tmp/?*
|
||||||
/var/tmp/?*
|
/var/tmp/?*
|
||||||
/var/run/?*pid
|
/var/run/?*pid
|
||||||
|
@ -558,8 +558,7 @@ sub new {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($opts->{stdexcludes}) {
|
if ($opts->{stdexcludes}) {
|
||||||
push @$findexcl, '/var/log/?*',
|
push @$findexcl, '/tmp/?*',
|
||||||
'/tmp/?*',
|
|
||||||
'/var/tmp/?*',
|
'/var/tmp/?*',
|
||||||
'/var/run/?*.pid';
|
'/var/run/?*.pid';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user