How to upload files from local to Azure blob storage - Automation

Loganathan R 86 Reputation points
2021-08-31T07:29:11.943+00:00

Hello All,
My requirement to Upload daily backups from local to azure blob storage in automation.
I need to upload only the last modified files or folders from the last backup . How to proceed on this.

Regards,
Loganathan. R

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,843 questions
Azure Batch
Azure Batch
An Azure service that provides cloud-scale job scheduling and compute management.
330 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 37,081 Reputation points Microsoft Employee
    2021-08-31T17:59:40.593+00:00

    @Loganathan R
    The easiest method without writing any code would be to use AzCopy sync. With sync the last modified times are used for comparison. The file is skipped if the last modified time in the destination is more recent. If running Windows you can have azcopy run as a schedule task or cron if using Linux.

    Hope this helps! Let me know if you have further questions or concerns and I will be happy to assist.

    -------------------------------

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.