azcopy snapshots

Michael Littman 41 Reputation points
2022-02-10T19:45:36.957+00:00

Hello! I am working on a project combine multiple azure file shares (different sync groups and regions) into a single azure fileshare with 1 sync folder. So far i been able to use AZcopy to get the data over but couple questions....

  1. When all the data comes over it all appears to have todays date.
  2. How do I get the snapshots? We dont want to lose any backup data but end the end i do want to delete those storage groups so we only have one.

Thanks!

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,156 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sumarigo-MSFT 43,406 Reputation points Microsoft Employee
    2022-02-11T17:40:13.55+00:00

    @Michael Littman Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    1. --include-after string Include only those files modified on or after the given date/time. The value should be in ISO8601 format. If no timezone is specified, the value is assumed to be in the local timezone of the machine running AzCopy. for example, 2020-08-19T15:04:00Z for a UTC time, or 2020-08-19 for midnight (00:00) in the local timezone. As at AzCopy 10.5, this flag applies only to files, not folders, so folder properties won't be copied when using this flag with --preserve-smb-info or --preserve-permissions.

    --include-before string Include only those files modified before or on the given date/time. The value should be in ISO8601 format. If no timezone is specified, the value is assumed to be in the local timezone of the machine running AzCopy. E.g. 2020-08-19T15:04:00Z for a UTC time, or 2020-08-19 for midnight (00:00) in the local timezone. As of AzCopy 10.7, this flag applies only to files, not folders, so folder properties won't be copied when using this flag with --preserve-smb-info or --preserve-permissions.

    For more information, refer to this article: https://learn.microsoft.com/en-us/azure/storage/common/storage-ref-azcopy-copy

    You can also use robocopy tool( you need to use the /COPY and /DCOPY options to preserve the timestamps)

    AzCopy vs. RoboCopy

    1. You can use Azure Data share offers snapshot-based sharing and in-place sharing.

    Please let us know if you have any further queries. I’m happy to assist you further.

    ----------

    Please do not forget to 173607-screenshot-2021-12-10-121802.png and 173598-image.png wherever the information provided helps you, this can be beneficial to other community members.


0 additional answers

Sort by: Most helpful