From 260d6d41a7eab55a051a5a8497f7bae2c9538006 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 24 Jan 2016 13:06:19 +0100 Subject: better backup dirs --- custom/simp_le.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom/simp_le.nix b/custom/simp_le.nix index 7478bcbf..686533a6 100644 --- a/custom/simp_le.nix +++ b/custom/simp_le.nix @@ -7,7 +7,7 @@ domain: let script = writeText "${domain}.sh" '' - backupDir=/root/ssl_archive/$(date +'%Y-%m-%d')-${domain} + backupDir=/root/ssl_archive/$(date +'%Y-%m-%d')-$$-${domain} mkdir -p ${dir} cd ${dir} mkdir -p $backupDir -- cgit v1.2.3