aboutsummaryrefslogtreecommitdiff
path: root/hourly-backup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hourly-backup.sh')
-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