Explorar o código

bugfix: v-backup-user >>> fix for missing dotfile backup

* was causing dotfiles to be excluded. replaced with . lines 393 & 395
ev0net %!s(int64=2) %!d(string=hai) anos
pai
achega
b0d04c4c02
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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