Changed Files backed up and frequency

This commit is contained in:
2022-12-19 12:59:12 -05:00
parent 41fddb14ad
commit e27734c3c6

View File

@@ -13,7 +13,7 @@ trap 'echo $( date ) Backup interrupted >&2; exit 2' INT TERM
info "Starting backup"
borg create -n \
borg create \
--verbose \
--filter AME \
--list \
@@ -23,16 +23,9 @@ borg create -n \
--exclude-caches \
--exclude 'home/*/.cache/*' \
--exclude 'var/tmp/*' \
--exclude '/home/jerick/.steam/*' \
--exclude '~/VirtualBox\ VMs/* ' \
--exclude '/home/jerick/Games/* ' \
--exclude '/home/*/.cache/* ' \
--exclude '/home/jerick/NFSFolder/* ' \
--exclude '/home/jerick/Documents/Kingdom\ Hearts\ III\ and\ Re-Mind/*' \
\
::'{hostname}-{now}' \
/etc \
/home \
/home/jerick/Documents \
/root \
/var \
backup_exit=$?
@@ -49,7 +42,7 @@ borg prune \
--prefix '{hostname}-' \
--show-rc \
--keep-daily 1 \
--keep-weekly 1 \
--keep-weekly 2 \
--keep-monthly 4 \
prune_exit=$?