From ebee77682c7f18d08203c1d411c8c115c5fa21a9 Mon Sep 17 00:00:00 2001 From: Trey Bastian Date: Thu, 20 Nov 2025 08:12:42 +0000 Subject: simplified --- hourly-backup.sh | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100755 hourly-backup.sh (limited to 'hourly-backup.sh') diff --git a/hourly-backup.sh b/hourly-backup.sh deleted file mode 100755 index c301448..0000000 --- a/hourly-backup.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash -# -# This script will rsync the entire filesystem to /mnt/backup/live/ -# This script assumes /mnt/backup/live/ is where we want to backup files -# -# My personal setup: -# -- has this running hourly with cron -# -- mounts /mnt/backup to it's own specific NFS share configured for the host -# -# !! WARNING SLOW FIRST RUN !! -# the first run will be slow so run this first before setting up the hourly job - -rsync -aAXH \ - --exclude /dev/ \ - --exclude /proc/ \ - --exclude /sys/ \ - --exclude /tmp/ \ - --exclude /usr/tmp/ \ - --exclude /run/ \ - --exclude /mnt/ \ - --exclude /media/ \ - --exclude /var/cache/ \ - --exclude lost+found/ \ - --exclude /var/log/journal \ - --exclude /var/lib/systemd/random-seed - /* /mnt/backup/live/ --delete -- cgit v1.2.3