Changed Files backed up and frequency
This commit is contained in:
@@ -13,7 +13,7 @@ trap 'echo $( date ) Backup interrupted >&2; exit 2' INT TERM
|
|||||||
|
|
||||||
info "Starting backup"
|
info "Starting backup"
|
||||||
|
|
||||||
borg create -n \
|
borg create \
|
||||||
--verbose \
|
--verbose \
|
||||||
--filter AME \
|
--filter AME \
|
||||||
--list \
|
--list \
|
||||||
@@ -23,16 +23,9 @@ borg create -n \
|
|||||||
--exclude-caches \
|
--exclude-caches \
|
||||||
--exclude 'home/*/.cache/*' \
|
--exclude 'home/*/.cache/*' \
|
||||||
--exclude 'var/tmp/*' \
|
--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}' \
|
::'{hostname}-{now}' \
|
||||||
/etc \
|
/etc \
|
||||||
/home \
|
/home/jerick/Documents \
|
||||||
/root \
|
/root \
|
||||||
/var \
|
/var \
|
||||||
backup_exit=$?
|
backup_exit=$?
|
||||||
@@ -49,7 +42,7 @@ borg prune \
|
|||||||
--prefix '{hostname}-' \
|
--prefix '{hostname}-' \
|
||||||
--show-rc \
|
--show-rc \
|
||||||
--keep-daily 1 \
|
--keep-daily 1 \
|
||||||
--keep-weekly 1 \
|
--keep-weekly 2 \
|
||||||
--keep-monthly 4 \
|
--keep-monthly 4 \
|
||||||
|
|
||||||
prune_exit=$?
|
prune_exit=$?
|
||||||
|
|||||||
Reference in New Issue
Block a user