mirror of
https://github.com/myvesta/vesta
synced 2025-07-16 10:03:23 -07:00
Merge pull request #1 from SteenSchutt/SteenSchutt-patch-1
Prevent v-backup-user from excluding folders named logs further down …
This commit is contained in:
commit
b650ae5bd5
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ if [ ! -z "$WEB_SYSTEM" ] && [ "$WEB" != '*' ]; then
|
|||
exlusion=$(echo -e "$WEB" |tr ',' '\n' |grep "^$domain:")
|
||||
set -f
|
||||
fargs=()
|
||||
fargs+=(--exclude='logs/*')
|
||||
fargs+=(--exclude='./logs/*')
|
||||
if [ ! -z "$exlusion" ]; then
|
||||
xdirs="$(echo -e "$exlusion" |tr ':' '\n' |grep -v $domain)"
|
||||
for xpath in $xdirs; do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue