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" }