You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same as uploading to block blob storage, but with the transfer definiton (-t option) set to ``file-pageblob``.
37
+
Same as uploading to block blob storage, but with the transfer definiton (-t option) set to ``file-pageblob``. For example, a single file upload to page blob:
**Note:** For better performance, consider running this tranfer from a high-bandwidth VM running in the same region as source or the target. Data is uploaded as it is downloaded from the source, therefore the transfer is bound to the bandwidth of the VM for performance.
58
-
Synchronously Copy data between Azure Blob Storage targets and sources
Transfer Data Between Azure Storage Accounts, Containers and Blob Types
72
+
BlobPorter will upload the data as it downloads it from the source.
73
+
The performance of the transfer will be constraint by the bandwidth of the host running BlobPorter. Consider running this type of transfer from a Virtual Machine running in the same Azure region as the target or the source.
74
+
75
+
Transfer data between Azure Storage accounts, containers and blob types
**Note:** For better performance, consider running this tranfer from a high-bandwidth VM running in the same region as source or the target. Data is uploaded as it is downloaded from the source, therefore the transfer is bound to the bandwidth of the VM for performance.
73
-
Synchronously Copy data between Azure Blob Storage targets and sources
91
+
.. note::
74
92
93
+
BlobPorter will upload the data as it downloads it from the source.
94
+
The performance of the transfer will be constraint by the bandwidth of the host running BlobPorter. Consider running this type of transfer from a Virtual Machine running in the same Azure region as the target or the source.
75
95
76
96
Transfer from an HTTP/HTTPS source to Azure Blob Storage
**Note:** For better performance, consider running this tranfer from a high-bandwidth VM running in the same region as source or the target. Data is uploaded as it is downloaded from the source, therefore the transfer is bound to the bandwidth of the VM for performance.
88
-
Synchronously Copy data between Azure Blob Storage targets and sources
111
+
.. note::
112
+
113
+
BlobPorter will upload the data as it downloads it from the source.
114
+
The performance of the transfer will be constraint by the bandwidth of the host running BlobPorter. Consider running this type of transfer from a Virtual Machine running in the same Azure region as the target or the source.
89
115
90
116
Download from Azure Blob Storage
91
-
--------------------------
117
+
--------------------------------
92
118
93
119
For download scenarios, the source can be a page, append or block blob:
You can use the -n option to specify a prefix. All blobs that match the prefix will be downloaded.
98
126
99
127
The following will download all blobs in the container that start with f:
100
128
101
-
``./blobporter -c mycontainer -n f -t blob-file``
129
+
::
130
+
131
+
./blobporter -c mycontainer -n f -t blob-file
132
+
102
133
103
134
Without the -n option all files in the container will be downloaded.
104
135
105
-
``./blobporter -c mycontainer -t blob-file``
136
+
::
137
+
138
+
./blobporter -c mycontainer -t blob-file
139
+
106
140
107
141
By default files are downloaded keeping the same directory structure as the remote source.
108
142
109
-
If you want download to the same directory where you are running blobporter, set -i option.
143
+
If you want download to the same directory where you are running blobporter set -i option.
144
+
145
+
::
146
+
147
+
./blobporter -c mycontainer -t blob-file -i
148
+
149
+
150
+
For scenarios where blob endpoint is from a soverign cloud (e.g. China and Germany), Azure Gov or Azure Stack, you can specify the fully qualified domain name:
Can also be specified via the ACCOUNT_KEY environment variable.
59
+
-s, --http_timeout (int) HTTP client timeout in seconds. Default value is 600s.
60
+
-d, --dup_check_level (string) Desired level of effort to detect duplicate data blocks to minimize upload size.
61
+
62
+
Must be one of None, ZeroOnly, Full (default "None")
63
+
-t, --transfer_type (string) Defines the source and target of the transfer.
64
+
65
+
Must be one of file-blockblob, file-pageblob, http-blockblob, http-pageblob, blob-file, pageblock-file (alias of blob-file), blockblob-file (alias of blob-file), http-file, blob-pageblob, blob-blockblob, s3-pageblob and s3-blockblob.
66
+
-m, --compute_blockmd5 (bool) If set, block level MD5 has will be computed and included as a header when the block is sent to blob storage.
67
+
68
+
Default is false.
69
+
-q, --quiet_mode (bool) If set, the progress indicator is not displayed.
70
+
71
+
The files to transfer, errors, warnings and transfer completion summary is still displayed.
72
+
-x, --files_per_transfer (int) Number of files in a batch transfer. Default is 500.
73
+
-h, --handles_per_file (int) Number of open handles for concurrent reads and writes per file. Default is 2.
74
+
-i, --remove_directories (bool) If set blobs are downloaded or uploaded without keeping the directory structure of the source.
75
+
76
+
Not applicable when the source is a HTTP endpoint.
77
+
-o, --read_token_exp (int) Expiration in minutes of the read-only access token that will be generated to read from S3 or Azure Blob sources.
78
+
79
+
Default value: 360.
80
+
-l, --transfer_status (string) Transfer status file location.
81
+
If set, blobporter will use this file to track the status of the transfer.
82
+
83
+
In case of failure and the same file is referrenced, the source files that were transferred will be skipped.
84
+
85
+
If the transfer is successful a summary will be appended.
Copy file name to clipboardExpand all lines: docs/index.rst
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,9 @@ BlobPorter
8
8
9
9
BlobPorter is a data transfer tool for Azure Blob Storage that maximizes throughput through concurrent reads and writes that can scale up and down independently.
10
10
11
+
::
12
+
13
+
11
14
.. image :: bptransfer.png
12
15
13
16
.. toctree::
@@ -16,6 +19,7 @@ BlobPorter is a data transfer tool for Azure Blob Storage that maximizes through
0 commit comments