Adapted pull primary backups to hardlinks

This commit is contained in:
2022-03-29 21:20:51 +02:00
parent f4b8e2b8dd
commit 0727b179a6
2 changed files with 25 additions and 16 deletions

View File

@@ -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 --backup-dir /Backups/{{hashed_machine_id.stdout}}/docker-volume-backup/diffs/current/ . /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