Hello @LoganIN and welcome to Microsoft Q&A.
There is an option for preserving the metadata you mentioned. See Here. This option applies only to binary dataset because other types allow mapping, which can change contents, and make the metadata invalid.
When you configure source as Data Lake Storage Gen1/Gen2 with binary format or the binary copy option, and sink as Data Lake Storage Gen2 with binary format or the binary copy option, you can find the Preserve option on the Settings page in Copy Data Tool or on the Copy Activity > Settings tab for activity authoring.
Thanks, Martin
- Please don't forget to click on
or upvote
button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
Hmm okay. I'll take a look at that, but I do have some off-the-cuff comments, @LoganIN .
Namely, what should happen if the owner's identity exists in the SFTP source, but not in the sink data store? If the owner might not be valid, then the ACL's also would become invalid. Those two features likely will not transfer over. The reason it works between Azure storage services, is that Azure Active Directory helps with the identities (this statement needs verification).
The Time Stamp has a much better chance of preservation. Do specify what this Time Stamp is describing (creation or last update / modified on). Last update / modified on is a much more widespread feature than creation date.
Thanks @MartinJaffer-MSFT , Awaiting your reply for such a scenario.
If it doesn't copy the ACLs then we can't migrate the data as it's the primary requirement. Now the timestamp we are looking for the last modified only but i don't see any option in ADF to copy those attributes.
Ouch. Things aren't looking so good @LoganIN .
This difficulty of transferring ACL's isn't just an Azure thing. Even if you were going from one SFTP to another SFTP, you would still run into the same issue. Unless the identity provider is shared, you will need to re-construct all the users in the destination. It is like if you wanted to move your friend list between chat clients, like between Slack and Skype. If you friend on Slack doesn't have Skype, then Skype doesn't know who to send messages to.
So, there isn't any easy button I know of for this, but I can imagine a process to see your migration through. Here is a high-level view:
I know it is messy. @Saurabh Sharma do you know of any identity-migration tools?
I know it's quite old but i just wanted to conclude this question.
I can understand the ACL's part but what about the attributes Like File Owner, File Modified date, file created date are not copied to Azure.
Sign in to comment