From 3d92aaec70c8fb224ce95801229ab10a69821022 Mon Sep 17 00:00:00 2001 From: Alex Denes Date: Wed, 11 Dec 2024 10:55:41 +0000 Subject: [PATCH] Reference parent directory rather than parent data --- btrfs/subvolume-delta-file | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btrfs/subvolume-delta-file b/btrfs/subvolume-delta-file index 4a8610c..e442d8f 100755 --- a/btrfs/subvolume-delta-file +++ b/btrfs/subvolume-delta-file @@ -33,7 +33,7 @@ delta() { msg "Attempting to send delta" mkdir -vp "$DEST/$TS_CURRENT" - ln -sv "../$TS_PARENT/$DESTNAME" "$DEST/$TS_CURRENT/$PARENTNAME" + ln -sv "../$TS_PARENT" "$DEST/$TS_CURRENT/$PARENTNAME" btrfs -v send --compressed-data -p "$CUR" "$TMP" | compress > "$DEST/$TS_CURRENT/$DESTNAME.tmp" mv -v "$DEST/$TS_CURRENT/$DESTNAME.tmp" "$DEST/$TS_CURRENT/$DESTNAME" }