Unable to restore single file and not able to create Parent folder while kopia restore process

I have taken backup of D:\Folder6\File1.txt
C:\Temp\kopia-0.17.0-windows-x64\kopia-0.17.0-windows-x64>kopia snapshot create D:\Folder6\File1.txt
Snapshotting user@vmname:D:\Folder6\File1.txt …

  • 0 hashing, 1 hashed (7.8 MB), 0 cached (0 B), uploaded 0 B, estimating…
    Created snapshot with root Ixb0fe301d95acca3c2c57c6577b9cb8e8 and ID afff2d6ab4a23cf6b744392181c4abad in 0s

Now i removed Folder6 now kopia is not creating parent folder and trying to restore File1.txt , if manually create that path then its restoring , anyother way where it creates target directory and restore files and folders .
C:\Temp\kopia-0.17.0-windows-x64\kopia-0.17.0-windows-x64>kopia snapshot restore D:\Folder6\File1.txt
Restoring to local filesystem (D:\Folder6\File1.txt) with parallelism=8…
Restoring from
Snapshot source: user@vmname:D:\Folder6\File1.txt
Snapshot time: 2024-05-22 11:37:59 UTC
Relative path:
Object ID: Ixb0fe301d95acca3c2c57c6577b9cb8e8
Processed 1 (7.8 MB) of 0 (0 B).
ERROR error restoring: restore error: error copying: copy file: error creating file: open D:\Folder6\File1.txt: The system cannot find the path specified.

C:\Temp\kopia-0.17.0-windows-x64\kopia-0.17.0-windows-x64>kopia snapshot restore D:\Folder6\File1.txt
Restoring to local filesystem (D:\Folder6\File1.txt) with parallelism=8…
Restoring from
Snapshot source: user@vmname:D:\Folder6\File1.txt
Snapshot time: 2024-05-22 11:37:59 UTC
Relative path:
Object ID: Ixb0fe301d95acca3c2c57c6577b9cb8e8
Processed 1 (7.8 MB) of 0 (0 B).
Restored 1 files, 0 directories and 0 symbolic links (7.8 MB).
please help me with this issue , backup tool must create folders and do a restore , or am i missing anything

For some reason this doesn’t work for me neither. But this works:
kopia snapshot restore D:\Folder6

Looks like this is a bug. Please open an issue on Github.