aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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