question

Efffdd-3114 avatar image
0 Votes"
Efffdd-3114 asked ·

azcopy only psts

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

office-exchange-server-administrationazure-storage-accountsazure-blob-storage
· 1
10 |1000 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.

Hi @Efffdd-3114 ,
After you import the file into the mailbox, you can use the search function of Exchange to search the data in the mailbox. But according to my research on AzCopy.exe, this is an Azure AD related tool. If you want to use this tool, you need the help of an Azure AD engineer. I changed the tag of this post to Azure AD, and then will introduce the help of Azure AD engineers, you will get more professional help.

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

@Efffdd-3114
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.



·
10 |1000 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.

Efffdd-3114 avatar image
0 Votes"
Efffdd-3114 answered ·

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"

·
10 |1000 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.