Also ignore logs
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

Such as Nextcloud logs saved in config folder
This commit is contained in:
Nico Schottelius 2024-09-18 16:16:26 +09:00
parent bcca97da1a
commit efcbf765bf

View file

@ -28,6 +28,7 @@ restic -r ${repo} backup \
--exclude ~/.cdist \ --exclude ~/.cdist \
--exclude ~/.cache \ --exclude ~/.cache \
--exclude ~/.config/**/cache \ --exclude ~/.config/**/cache \
--exclude ~/.config/**/logs \
~/ ~/
restic -r ${repo} forget --keep-last 20 --prune restic -r ${repo} forget --keep-last 20 --prune