Skip to content

Commit 5ed6218

Browse files
authored
Merge pull request hestiacp#4264 from ev0net/bugfix/evonet-domaindir-writable
bugfix: v-backup-user >>> fix for missing dotfile backup
2 parents dcc7f5b + b0d04c4 commit 5ed6218

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/v-backup-user

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,9 +390,9 @@ if [ -n "$WEB_SYSTEM" ] && [ "$WEB" != '*' ]; then
390390

391391
# Backup files
392392
if [ "$BACKUP_MODE" = 'zstd' ]; then
393-
tar "${fargs[@]}" -cpf- * | pzstd -"$BACKUP_GZIP" - > $tmpdir/web/$domain/domain_data.tar.zst
393+
tar "${fargs[@]}" -cpf- . | pzstd -"$BACKUP_GZIP" - > $tmpdir/web/$domain/domain_data.tar.zst
394394
else
395-
tar "${fargs[@]}" -cpf- * | gzip -"$BACKUP_GZIP" - > $tmpdir/web/$domain/domain_data.tar.gz
395+
tar "${fargs[@]}" -cpf- . | gzip -"$BACKUP_GZIP" - > $tmpdir/web/$domain/domain_data.tar.gz
396396
fi
397397
done
398398

0 commit comments

Comments
 (0)