From ab66ce286add5e8abb141b1f7829b0809508f80c Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Tue, 29 Mar 2022 21:36:38 +0200 Subject: [PATCH] Added slash --- roles/native-user-backup/templates/ssh-wrapper.sh.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/native-user-backup/templates/ssh-wrapper.sh.j2 b/roles/native-user-backup/templates/ssh-wrapper.sh.j2 index db4a4d3e..a22b8635 100644 --- a/roles/native-user-backup/templates/ssh-wrapper.sh.j2 +++ b/roles/native-user-backup/templates/ssh-wrapper.sh.j2 @@ -9,7 +9,7 @@ fi # define executable commands hashed_machine_id_command="sha256sum /etc/machine-id"; find_command="find /Backups/{{hashed_machine_id.stdout}}/ -maxdepth 1 -type d"; -rsync_command="sudo rsync --server --sender -blogDtpre.iLsfxCIvu . /Backups/{{hashed_machine_id.stdout}}/docker-volume-backup/latest" +rsync_command="sudo rsync --server --sender -blogDtpre.iLsfxCIvu . /Backups/{{hashed_machine_id.stdout}}/docker-volume-backup/latest/" # filter commands case "$SSH_ORIGINAL_COMMAND" in