aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrey Bastian <hello@treybastian.com>2025-11-19 11:42:13 +0000
committerTrey Bastian <hello@treybastian.com>2025-11-19 11:42:13 +0000
commit1facaa0e384c2f7f58ce959c2b809b61f7f5897d (patch)
tree8bbf3ce42588541e2c38502ff0f615b4f887d922
parentf1194b68568a05a9cb7c35ccc14b2b56dc181aa8 (diff)
excluded dumb dirs to backup
-rwxr-xr-xhourly-backup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hourly-backup.sh b/hourly-backup.sh
index 8fee9c0..4062cad 100755
--- a/hourly-backup.sh
+++ b/hourly-backup.sh
@@ -10,4 +10,4 @@
# !! WARNING SLOW FIRST RUN !!
# the first run will be slow so run this first before setting up the hourly job
-rsync -a /* /mnt/backup/live/ --delete
+rsync -a --exclude /{dev,proc,sys,tmp,run,mnt,media,cdrom} --exclude=lost+found /* /mnt/backup/live/ --delete