Get backup script to actually work
This commit is contained in:
parent
9dbf04c710
commit
0a6befd3dd
1 changed files with 2 additions and 2 deletions
4
backup
4
backup
|
@ -10,7 +10,7 @@
|
||||||
name="$(date -u +'%Y-%m-%d')"
|
name="$(date -u +'%Y-%m-%d')"
|
||||||
# repository_dir="$(dirname "${1:-}/gets-removed")"
|
# repository_dir="$(dirname "${1:-}/gets-removed")"
|
||||||
# repository="${repository_dir}/${name}/$(date -u +'%Y-%m')"
|
# 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.
|
# Set the `bup` directory here so it affects all the `bup` commands.
|
||||||
export BUP_DIR="${repository}"
|
export BUP_DIR="${repository}"
|
||||||
|
@ -51,4 +51,4 @@ nice -n19 ionice -c3 \
|
||||||
--name="${name}" \
|
--name="${name}" \
|
||||||
--compress=9 \
|
--compress=9 \
|
||||||
-vv \
|
-vv \
|
||||||
"${repository}"
|
'/'
|
||||||
|
|
Loading…
Reference in a new issue