aboutsummaryrefslogtreecommitdiff
path: root/hourly-backup.sh
diff options
context:
space:
mode:
authorTrey Bastian <hello@treybastian.com>2025-11-19 12:05:51 +0000
committerTrey Bastian <hello@treybastian.com>2025-11-19 12:05:51 +0000
commitc0e01aa667040650fddb1a4120c77f51d4bbb092 (patch)
tree444680c63a52c34dc48c24b3243a545592b88927 /hourly-backup.sh
parentf461ad76f7c90b69e6807a32c55c18d2f8b37fd7 (diff)
format fial maybe?
Diffstat (limited to 'hourly-backup.sh')
-rwxr-xr-xhourly-backup.sh14
1 files changed, 1 insertions, 13 deletions
diff --git a/hourly-backup.sh b/hourly-backup.sh
index 1c3bdc2..746da39 100755
--- a/hourly-backup.sh
+++ b/hourly-backup.sh
@@ -10,16 +10,4 @@
# !! WARNING SLOW FIRST RUN !!
# the first run will be slow so run this first before setting up the hourly job
-rsync -aAX --exclude={ \
- "/dev/*", \
- "/proc/*", \
- "/sys/*", \
- "/tmp/*", \
- "/usr/tmp/*", \
- "/run/*", \
- "/mnt/*", \
- "/media/*", \
- "/var/cache/*", \
- "/", \
- "/lost+found" } \
- /* /mnt/backup/live/ --delete
+rsync -aAX --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/usr/tmp/*","/run/*","/mnt/*","/media/*","/var/cache/*","/","/lost+found"} /* /mnt/backup/live/ --delete