Fix paper backup script rolling in hourlies
This commit is contained in:
parent
d2a038bf8a
commit
9e8b2fefb9
@ -24,5 +24,7 @@ if ! [ -d "$OUTDIR" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# WE MAKE BACKUP NOW SERGEI
|
# 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 }}/"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user