From af49fd64a313816cb1a34ce3b70c20abcaaead4c Mon Sep 17 00:00:00 2001 From: Trey Bastian Date: Wed, 19 Nov 2025 15:13:52 +0000 Subject: added excludes that were breaking rsync --- hourly-backup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hourly-backup.sh b/hourly-backup.sh index d718909..c301448 100755 --- a/hourly-backup.sh +++ b/hourly-backup.sh @@ -10,7 +10,7 @@ # !! WARNING SLOW FIRST RUN !! # the first run will be slow so run this first before setting up the hourly job -rsync -aAX \ +rsync -aAXH \ --exclude /dev/ \ --exclude /proc/ \ --exclude /sys/ \ @@ -21,4 +21,6 @@ rsync -aAX \ --exclude /media/ \ --exclude /var/cache/ \ --exclude lost+found/ \ + --exclude /var/log/journal \ + --exclude /var/lib/systemd/random-seed /* /mnt/backup/live/ --delete -- cgit v1.2.3