Get backup script to actually work
This commit is contained in:
parent
9dbf04c710
commit
0a6befd3dd
4
backup
4
backup
|
@ -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}"
|
||||
'/'
|
||||
|
|
Loading…
Reference in a new issue