@@ -2,46 +2,46 @@ Resumable Transfers
2
2
======================================
3
3
BlobPorter supports resumable transfers. To enable this feature you need to set the -l option with a path to the transfer status file.
4
4
5
- ```
5
+ ``
6
6
blobporter -f "manyfiles/*" -c "many" -l mylog
7
- ```
7
+ ``
8
8
9
9
The status transfer file contains entries for when a file is queued and when it was succesfully tranferred.
10
10
11
11
The log entries are created with the following tab-delimited format:
12
12
13
- ```
13
+ ``
14
14
[Timestamp] [Filename] [Status (1:Started,2:Completed,3:Ignored)] [Size] [Transfer ID ]
15
- ```
15
+ ``
16
16
17
17
The following output from a transfer status file shows that three files were included in the transfer (file10, file11 and file15).
18
18
However, only two were successfully transferred: file10 and file11.
19
19
20
- ```
20
+ ``
21
21
2018-03-05T03:31:13.034245807Z file10 1 104857600 938520246_mylog
22
22
2018-03-05T03:31:13.034390509Z file11 1 104857600 938520246_mylog
23
23
2018-03-05T03:31:13.034437109Z file15 1 104857600 938520246_mylog
24
24
2018-03-05T03:31:25.232572306Z file10 2 104857600 938520246_mylog
25
25
2018-03-05T03:31:25.591239355Z file11 2 104857600 938520246_mylog
26
- ```
26
+ ``
27
27
28
28
In case of failure, you can reference the same status file and BlobPorter will skip files that were already transferred.
29
29
30
30
Consider the previous scenario. After executing the transfer again, the status file has entries only for the missing file (file15).
31
31
32
- ```
32
+ ``
33
33
2018-03-05T03:31:13.034245807Z file10 1 104857600 938520246_mylog
34
34
2018-03-05T03:31:13.034390509Z file11 1 104857600 938520246_mylog
35
35
2018-03-05T03:31:13.034437109Z file15 1 104857600 938520246_mylog
36
36
2018-03-05T03:31:25.232572306Z file10 2 104857600 938520246_mylog
37
37
2018-03-05T03:31:25.591239355Z file11 2 104857600 938520246_mylog
38
38
2018-03-05T03:54:33.660161772Z file15 1 104857600 495675852_mylog
39
39
2018-03-05T03:54:34.579295059Z file15 2 104857600 495675852_mylog
40
- ```
40
+ ``
41
41
42
42
When the transfer is sucessful, a summary is created at the end of the transfer status file.
43
43
44
- ```
44
+ ``
45
45
----------------------------------------------------------
46
46
Transfer Completed----------------------------------------
47
47
Start Summary---------------------------------------------
@@ -52,7 +52,7 @@ File:file10 Size:104857600 TID:938520246_mylog
52
52
File:file11 Size: 104857600 TID:938520246_mylog
53
53
Transferred Files:3 Total Size:314572800
54
54
End Summary-----------------------------------------------
55
- ```
55
+ ``
56
56
57
57
58
58
0 commit comments