Share via

azcopy only psts

Efff dd 576 Reputation points
2021-03-27T19:38:37.707+00:00

Hello
is there a way to have AzCopy.exe search the source for particular file types? just psts and copy them up to the blob?

right now i have to move all pst to one new folder and then have AzCopy.exe /Source:"E:\Users\PSTs\and" to the blob storage.

thanks

Azure Storage
Azure Storage

Globally unique resources that provide access to data management services and serve as the parent namespace for the services.

Azure Blob Storage
Azure Blob Storage

An Azure service that stores unstructured data in the cloud as blobs.

Exchange | Exchange Server | Management
Exchange | Exchange Server | Management

The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.


Answer accepted by question author

Anonymous
2021-03-29T22:31:36.597+00:00

@Efff dd
The option you are looking for is --include-pattern see more in the documentation here and here .

Example:

azcopy cp "https://xx.blob.core.windows.net/test1/folder1?sas" "https://xx.blob.core.windows.net/test1/archive1?sas" --include-pattern "*.pst" --recursive=true  

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

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.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Efff dd 576 Reputation points
    2021-03-29T11:52:29.267+00:00

    No

    azcopy looks at the specified source given can it be set to only pickup PST file? (in my case)

    AzCopy.exe /Source:"E:\Users\PSTs\and*.pst"

    Was this answer helpful?

    0 comments No comments

Your answer

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