Browse Source

Merge pull request #1575 from moucho/backups

Don't exclude "logs" folder recursively on backups
Serghey Rodin 6 years ago
parent
commit
20c7764485
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/v-backup-user

+ 1 - 1
bin/v-backup-user

@@ -241,7 +241,7 @@ if [ ! -z "$WEB_SYSTEM" ] && [ "$WEB" != '*' ]; then
         set +f
         set +f
 
 
         # Backup files
         # Backup files
-        tar -cpf- ${fargs[@]} * |gzip -$BACKUP_GZIP - > $tmpdir/web/$domain/domain_data.tar.gz
+        tar --anchored -cpf- ${fargs[@]} * |gzip -$BACKUP_GZIP - > $tmpdir/web/$domain/domain_data.tar.gz
     done
     done
 
 
     # Print total
     # Print total