diff options
| author | Trey Bastian <hello@treybastian.com> | 2025-11-19 15:13:52 +0000 |
|---|---|---|
| committer | Trey Bastian <hello@treybastian.com> | 2025-11-19 15:13:52 +0000 |
| commit | af49fd64a313816cb1a34ce3b70c20abcaaead4c (patch) | |
| tree | ca0feb8d16b98e76ff6bf1c3df58c457ca021eaa | |
| parent | d7094759958b5c0ca93e503c978a18721b231546 (diff) | |
added excludes that were breaking rsync
| -rwxr-xr-x | hourly-backup.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
