Get backup script to actually work

This commit is contained in:
Anthony Wang 2021-09-05 20:47:23 -05:00
parent 9dbf04c710
commit 0a6befd3dd
Signed by: a
GPG key ID: BC96B00AEC5F2D76

4
backup
View file

@ -10,7 +10,7 @@
name="$(date -u +'%Y-%m-%d')"
# repository_dir="$(dirname "${1:-}/gets-removed")"
# repository="${repository_dir}/${name}/$(date -u +'%Y-%m')"
repository=/mnt/drive/Backups
repository=/mnt/drive/Backups/
# Set the `bup` directory here so it affects all the `bup` commands.
export BUP_DIR="${repository}"
@ -51,4 +51,4 @@ nice -n19 ionice -c3 \
--name="${name}" \
--compress=9 \
-vv \
"${repository}"
'/'