Browse Source

Merge pull request #4264 from ev0net/bugfix/evonet-domaindir-writable

bugfix: v-backup-user >>> fix for missing dotfile backup
Jaap Marcus 2 years ago
parent
commit
5ed6218625
1 changed files with 2 additions and 2 deletions
  1. 2 2
      bin/v-backup-user

+ 2 - 2
bin/v-backup-user

@@ -390,9 +390,9 @@ if [ -n "$WEB_SYSTEM" ] && [ "$WEB" != '*' ]; then
 
 
 		# Backup files
 		# Backup files
 		if [ "$BACKUP_MODE" = 'zstd' ]; then
 		if [ "$BACKUP_MODE" = 'zstd' ]; then
-			tar "${fargs[@]}" -cpf- * | pzstd -"$BACKUP_GZIP" - > $tmpdir/web/$domain/domain_data.tar.zst
+			tar "${fargs[@]}" -cpf- . | pzstd -"$BACKUP_GZIP" - > $tmpdir/web/$domain/domain_data.tar.zst
 		else
 		else
-			tar "${fargs[@]}" -cpf- * | gzip -"$BACKUP_GZIP" - > $tmpdir/web/$domain/domain_data.tar.gz
+			tar "${fargs[@]}" -cpf- . | gzip -"$BACKUP_GZIP" - > $tmpdir/web/$domain/domain_data.tar.gz
 		fi
 		fi
 	done
 	done