summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-10-02 10:31:17 +0200
committerErich Eckner <git@eckner.net>2023-10-02 10:31:17 +0200
commit29af4b410573b546aa1816b2c6656bab1286288a (patch)
tree272542a41e2ac6e769375bcc07b0b5ac93958f0b
parentbd82e993b03e627919d0c5a368bd7c8822948bb1 (diff)
downloadhardlinkedBackups-29af4b410573b546aa1816b2c6656bab1286288a.tar.xz
backup: do not overwrite existing files
-rwxr-xr-xbackup.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/backup.in b/backup.in
index 2d4a046..77a0c00 100755
--- a/backup.in
+++ b/backup.in
@@ -261,7 +261,7 @@ if [ -z "${rsyncShell}" ]; then
esac
fi
if [ -f "${cache_file}" ]; then
- tar -C "${neues:?}/wip/" --zstd -xf "${cache_file}"
+ tar -C "${neues:?}/wip/" --zstd -xkf "${cache_file}"
fi
done
}