summaryrefslogtreecommitdiff
path: root/borgAuto.sh
diff options
context:
space:
mode:
Diffstat (limited to 'borgAuto.sh')
-rwxr-xr-x[-rw-r--r--]borgAuto.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/borgAuto.sh b/borgAuto.sh
index e7192ad..b33cb12 100644..100755
--- a/borgAuto.sh
+++ b/borgAuto.sh
@@ -2,14 +2,14 @@
# 8 Sept 2019 SJ Pratt
# Copied from https://blog.andrewkeech.com/posts/170718_borg.html
# the envvar $REPONAME is something you should just hardcode
-export REPOSITORY="/mnt/bak/borg"
+export REPOSITORY="/mnt/bak/st33vHome"
# Fill in your password here, borg picks it up automatically
-export BORG_PASSPHRASE=""
+#export BORG_PASSPHRASE=""
# Backup all of /home except a few excluded directories and files
-borg create -v --stats --compression lz4 \
- $REPOSITORY::'{hostname}-{now:%Y-%m-%dT%H:%M}' /home \
+borg create -v --stats -e none --compression lz4 \
+ $REPOSITORY::'{hostname}-{now:%Y-%m-%dT%H:%M}' /home/st33v \
--exclude '/home/*/.cache' \
--exclude '/home/$USER/cargo' \
--exclude '/home/lost+found' \