Skip to content
Snippets Groups Projects
Commit 7a08fabf authored by Vladimír Štill's avatar Vladimír Štill
Browse files

backup-tar: Allow workdir setting

parent b934d9d3
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,7 @@ fail() { ...@@ -15,6 +15,7 @@ fail() {
if [[ $1 ]]; then if [[ $1 ]]; then
. $1 . $1
[[ $WORK_DIR ]] && mkdir -p $WORK_DIR && cd $WORK_DIR
else else
SHORT_HOST=$(hostname -s) SHORT_HOST=$(hostname -s)
TARGET=backup-$SHORT_HOST@antea TARGET=backup-$SHORT_HOST@antea
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment