Open dwr-psandhu opened 4 weeks ago
@dwr-psandhu
Step 1 is by using azcopy --preserve-symlinks Both source and destination are Storage v2 general purpose No error messages. Just the blob that represent symlinks are not copied over to destination. They are missing.
Both source and destination are Storage v2 general purpose.
So hierarchical namespaces is not enabled, correct?
No error messages. Just the blob that represent symlinks are not copied over to destination. They are missing.
Interesting. Can you share both your app logs and your AzCopy logs? Can you copy the symlinks using AzCopy directly, and does it work as expected?
Yes it says on the portal that "Hierarchical namespace Disabled" I am using azcopy command line from linux 10.24+ to copy symlinks. I can also use azcopy with --preserve-symlinks to copy between blob containers and that works fine. It is really storage explorer that doesn't have that option turned on, e.g. when i ask to see what azcopy command storage explorer uses it doesn't have "--preseve-symlinks" in it stated options.
@dwr-psandhu Correct, Storage Explorer is not using the --preserve-symlinks
to copy. We will need to discuss the full implications of including this. We may just add an app setting to enable it.
Ok, I believe it is a harmless option or perhaps there is another option that keeps metadata on blobs intact ?
@dwr-psandhu Metadata is a different concept than symbolic links in this context. Can you clarify what you mean?
It is my understanding that when this feature was implemented it was as a blob with contents as name of the file being linked to and metadata property indicating it was a symlink https://github.com/Azure/azure-storage-azcopy/pull/1829/commits/873c86ab7001210fea258ce119d8f85c3970eb76
Preflight Checklist
Storage Explorer Version
1.34.0
Regression From
N/A
Architecture
x64
Storage Explorer Build Number
No response
Platform
Windows
OS Version
No response
Bug Description
I used the --preserve-symlinks to copy from linux keeping the symbolic links as blobs. However these special blobs are not respected by storageexplorer when copying from one container to another. Downloads also simply fail to materialize a file on Windows.
Steps to Reproduce
Actual Experience
Symbolic links disappear or are not copied over.
Expected Experience
No response
Additional Context
No response