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
Set environment variables (if using the command prompt):
52
52
@@ -175,9 +175,11 @@ By default files are downloaded to the same directory where you are running blob
175
175
176
176
-`q`, `--quiet_mode`*bool* if present or true, the progress indicator is not displayed. The files to transfer, errors, warnings and transfer completion summary is still displayed.
177
177
178
-
-`x`, `---files_per_transfer`*int* number of files in a batch transfer. Default is 200.
178
+
-`x`, `--files_per_transfer`*int* number of files in a batch transfer. Default is 200.
179
179
180
-
-`h`, `----handles_per_file`*int* number of open handles for concurrent reads and writes per file. Default is 2.
180
+
-`h`, `--handles_per_file`*int* number of open handles for concurrent reads and writes per file. Default is 2.
181
+
182
+
-`p`, `--keep_directories`*bool* if set blobs are downloaded or uploaded keeping the directory structure from the source. Not applicable when the source is a HTTP endpoint.
181
183
182
184
## Performance Considerations
183
185
@@ -189,11 +191,9 @@ By default, BlobPorter creates 5 readers and 8 workers for each core on the comp
189
191
190
192
- For transfers from fast disks (SSD) or HTTP sources reducing the number readers or workers could provide better performance than the default values. Reduce these values if you want to minimize resource utilization. Lowering these numbers reduces contention and the likelihood of experiencing throttling conditions.
191
193
192
-
- Starting with version 0.5.10:
193
-
194
-
-- Transfers are batched. Each batch transfer will concurrently read and transfer up to 200 files (default value) from the source. The batch size can be modified using the -x option, the maximum value is 500.
194
+
- Transfers can be batched. Each batch transfer will concurrently read and transfer up to 200 files (default value) from the source. The batch size can be modified using the -x option, the maximum value is 500.
195
195
196
-
--Blobs smaller than the block size are transferred in a single operation. With relatively small files (<32MB) performance may be better if you set a block size equal to the size of the files. Setting the number of workers and readers to the number of files could yield performance gains.
196
+
- Blobs smaller than the block size are transferred in a single operation. With relatively small files (<32MB) performance may be better if you set a block size equal to the size of the files. Setting the number of workers and readers to the number of files could yield performance gains.
Copy file name to clipboardExpand all lines: blobporter.go
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ const (
49
49
// User can use environment variables to specify storage account information
50
50
storageAccountNameEnvVar="ACCOUNT_NAME"
51
51
storageAccountKeyEnvVar="ACCOUNT_KEY"
52
-
programVersion="0.5.11a"// version number to show in help
52
+
programVersion="0.5.12"// version number to show in help
53
53
)
54
54
55
55
constnumOfWorkersFactor=8
@@ -87,7 +87,7 @@ func init() {
87
87
dupcheckLevelMsg="Desired level of effort to detect duplicate data to minimize upload size.\n\tMust be one of "+transfer.DupeCheckLevelStr
88
88
transferDefMsg="Defines the type of source and target in the transfer.\n\tMust be one of:\n\tfile-blockblob, file-pageblob, http-blockblob, http-pageblob, blob-file,\n\tpageblock-file (alias of blob-file), blockblob-file (alias of blob-file)\n\tor http-file."
89
89
exactNameMatchMsg="If set or true only blobs that match the name exactly will be downloaded."
90
-
keepDirStructureMsg="If set blobs are downloaded to the same directory structure as in the storage account.\n\tIf the directory structure does not exists it will be created."
90
+
keepDirStructureMsg="If set blobs are downloaded or uploaded keeping the directory structure from the source.\n\tNot applicable when the source is a HTTP endpoint."
91
91
numberOfHandlersPerFileMsg="Number of open handles for concurrent reads and writes per file."
92
92
numberOfFilesInBatchMsg="Maximum number of files in a transfer.\n\tIf the number is exceeded new transfers are created"
0 commit comments