Share via

BlobPorter examples?

Dave Gray 586 Reputation points
2020-07-03T19:01:52.223+00:00

Hello,

Is anyone using BlobPorter to move page blobs to block blobs? I have read the docs and I think this seems to be correct but all I get is no matching files.

My source container is: https://mystorage.blob.core.windows.net/test - this contains a mix of 7 page and block blobs
My target container is https://mystorage.blob.core.windows.net/test2

I want to move/convert all blobs from src to trg and convert the page blobs to block blobs.

The command I'm running is

C:\Program Files\BlobPorter>BlobPorter.exe -f "https://mystorage.blob.core.windows.net/test/*.*"  -c test2 -g 8 -t file-blockblob  

Tried with and without the . at the end, same result

> 2020/07/03 18:46:04 the pattern https://mystorage.blob.core.windows.net/test/*.* did not match any files

11355-image-083.png

Community Center | Not monitored
0 comments No comments

Answer accepted by question author

Dave Gray 586 Reputation points
2020-07-07T18:03:48.397+00:00

Hi @deherman-MSFT

Ok this works now after changing to blob-blockblob as you suggested.

 BlobPorter.exe -f "https://mystorage.blob.core.windows.net/test"  -c test2  -t blob-blockblob

Thanks for your help

Was this answer helpful?


1 additional answer

Sort by: Most helpful
  1. Anonymous
    2020-07-06T20:52:39.643+00:00

    @DaveGray-0128 Apologies for the delayed response. I believe having a mix of page and block blobs could be the issue here. Are you able to run it on a single page blob? BlobPorter also has examples available here. I recommend reaching out to the maintainers here to get your questions answered.


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

    Was this answer helpful?


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.