Ver código fonte

Merge pull request #1575 from moucho/backups

Don't exclude "logs" folder recursively on backups
Serghey Rodin 6 anos atrás
pai
commit
20c7764485
1 arquivos alterados com 1 adições e 1 exclusões
  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
 
         # 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
 
     # Print total