summaryrefslogtreecommitdiffstats
path: root/krebs/3modules
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-07 06:22:56 +0100
committertv <tv@krebsco.de>2016-02-07 06:24:04 +0100
commitb746dd09361b0cfb14abd3995afe10536c8fcad8 (patch)
treef04c6c2a2fda42a2677230e7c73a7d58b0939ea8 /krebs/3modules
parent076f93bc02897b01e3ed997fb2f9a543eb6547c9 (diff)
krebs.backup: ensure link dest exists
Diffstat (limited to 'krebs/3modules')
-rw-r--r--krebs/3modules/backup.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/backup.nix b/krebs/3modules/backup.nix
index ae766fa9d..d50628073 100644
--- a/krebs/3modules/backup.nix
+++ b/krebs/3modules/backup.nix
@@ -160,7 +160,7 @@ let
-aAXF --delete \
-e "ssh -F /dev/null -i $identity ''${dst_port:+-p $dst_port}" \
--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" \
"$src/" \
"$dst/.partial"