question

LoganathanR-0963 avatar image
0 Votes"
LoganathanR-0963 asked deherman-MSFT answered

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

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-storageazure-batch
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

deherman-MSFT avatar image
0 Votes"
deherman-MSFT answered

@LoganathanR-0963
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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.