diff --git a/roles/minecraft-paper/templates/backup.sh b/roles/minecraft-paper/templates/backup.sh index a1bf9fa..3975835 100644 --- a/roles/minecraft-paper/templates/backup.sh +++ b/roles/minecraft-paper/templates/backup.sh @@ -24,5 +24,7 @@ if ! [ -d "$OUTDIR" ]; then fi # WE MAKE BACKUP NOW SERGEI -tar czf "$OUTDIR/{{ paper_name }}-$(date -Iseconds)-full.tar.gz" "{{ paper_home }}/{{ paper_name }}/" +tar czf "$OUTDIR/{{ paper_name }}-$(date -Iseconds)-full.tar.gz" \ + --exclude "{{ paper_home }}/{{ paper_name }}/backups" \ + "{{ paper_home }}/{{ paper_name }}/"