aboutsummaryrefslogtreecommitdiff
path: root/hourly-backup.sh
diff options
context:
space:
mode:
authorTrey Bastian <hello@treybastian.com>2025-11-19 15:13:52 +0000
committerTrey Bastian <hello@treybastian.com>2025-11-19 15:13:52 +0000
commitaf49fd64a313816cb1a34ce3b70c20abcaaead4c (patch)
treeca0feb8d16b98e76ff6bf1c3df58c457ca021eaa /hourly-backup.sh
parentd7094759958b5c0ca93e503c978a18721b231546 (diff)
added excludes that were breaking rsync
Diffstat (limited to 'hourly-backup.sh')
-rwxr-xr-xhourly-backup.sh4
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