Skip to content

Commit 6f21191

Browse files
committed
- update docs
1 parent 1877f3b commit 6f21191

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/resumable_transfers.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,46 +2,46 @@ Resumable Transfers
22
======================================
33
BlobPorter supports resumable transfers. To enable this feature you need to set the -l option with a path to the transfer status file.
44

5-
```
5+
``
66
blobporter -f "manyfiles/*" -c "many" -l mylog
7-
```
7+
``
88
99
The status transfer file contains entries for when a file is queued and when it was succesfully tranferred.
1010

1111
The log entries are created with the following tab-delimited format:
1212

13-
```
13+
``
1414
[Timestamp] [Filename] [Status (1:Started,2:Completed,3:Ignored)] [Size] [Transfer ID ]
15-
```
15+
``
1616

1717
The following output from a transfer status file shows that three files were included in the transfer (file10, file11 and file15).
1818
However, only two were successfully transferred: file10 and file11.
1919

20-
```
20+
``
2121
2018-03-05T03:31:13.034245807Z file10 1 104857600 938520246_mylog
2222
2018-03-05T03:31:13.034390509Z file11 1 104857600 938520246_mylog
2323
2018-03-05T03:31:13.034437109Z file15 1 104857600 938520246_mylog
2424
2018-03-05T03:31:25.232572306Z file10 2 104857600 938520246_mylog
2525
2018-03-05T03:31:25.591239355Z file11 2 104857600 938520246_mylog
26-
```
26+
``
2727

2828
In case of failure, you can reference the same status file and BlobPorter will skip files that were already transferred.
2929

3030
Consider the previous scenario. After executing the transfer again, the status file has entries only for the missing file (file15).
3131

32-
```
32+
``
3333
2018-03-05T03:31:13.034245807Z file10 1 104857600 938520246_mylog
3434
2018-03-05T03:31:13.034390509Z file11 1 104857600 938520246_mylog
3535
2018-03-05T03:31:13.034437109Z file15 1 104857600 938520246_mylog
3636
2018-03-05T03:31:25.232572306Z file10 2 104857600 938520246_mylog
3737
2018-03-05T03:31:25.591239355Z file11 2 104857600 938520246_mylog
3838
2018-03-05T03:54:33.660161772Z file15 1 104857600 495675852_mylog
3939
2018-03-05T03:54:34.579295059Z file15 2 104857600 495675852_mylog
40-
```
40+
``
4141

4242
When the transfer is sucessful, a summary is created at the end of the transfer status file.
4343

44-
```
44+
``
4545
----------------------------------------------------------
4646
Transfer Completed----------------------------------------
4747
Start Summary---------------------------------------------
@@ -52,7 +52,7 @@ File:file10 Size:104857600 TID:938520246_mylog
5252
File:file11 Size:104857600 TID:938520246_mylog
5353
Transferred Files:3 Total Size:314572800
5454
End Summary-----------------------------------------------
55-
```
55+
``
5656

5757

5858

0 commit comments

Comments
 (0)