krebs.backup: ensure link dest exists
This commit is contained in:
parent
076f93bc02
commit
b746dd0936
@ -160,7 +160,7 @@ let
|
|||||||
-aAXF --delete \
|
-aAXF --delete \
|
||||||
-e "ssh -F /dev/null -i $identity ''${dst_port:+-p $dst_port}" \
|
-e "ssh -F /dev/null -i $identity ''${dst_port:+-p $dst_port}" \
|
||||||
--rsync-path ${shell.escape
|
--rsync-path ${shell.escape
|
||||||
"mkdir -m 0700 -p ${shell.escape plan.dst.path} && rsync"} \
|
"mkdir -m 0700 -p ${shell.escape plan.dst.path}/current && rsync"} \
|
||||||
--link-dest="$dst_path/current" \
|
--link-dest="$dst_path/current" \
|
||||||
"$src/" \
|
"$src/" \
|
||||||
"$dst/.partial"
|
"$dst/.partial"
|
||||||
|
Loading…
Reference in New Issue
Block a user