Fix paper backup script rolling in hourlies

This commit is contained in:
Salt 2020-11-11 05:14:12 -06:00
parent d2a038bf8a
commit 9e8b2fefb9

View File

@ -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 }}/"