subprocess-util/README.md

44 lines
1.3 KiB
Markdown
Raw Normal View History

2023-01-27 11:31:11 +01:00
# subprocess_util
## Example output
`btrfs receive` side, actively pulling a snapshot.
```
[STDOUT] OK
Reading chunk /mnt/backup/snap/cloud.privacy1st.de/20221015T1432_u.CHUNK.12212
[STDOUT] OK
Elapsed time: 14 days, 5:38:16.172379
Transferred: 2.981 TB
Speed: 2.542 MB/s
Reading chunk /mnt/backup/snap/cloud.privacy1st.de/20221015T1432_u.CHUNK.12213
[STDOUT] OK
Elapsed time: 14 days, 5:39:54.104637
Transferred: 2.982 TB
Speed: 2.542 MB/s
Reading chunk /mnt/backup/snap/cloud.privacy1st.de/20221015T1432_u.CHUNK.12214
[STDOUT] EOF
Elapsed time: 14 days, 5:42:02.535829
Transferred: 2.982 TB
Speed: 2.542 MB/s
Reading chunk /mnt/backup/snap/cloud.privacy1st.de/20221015T1432_u.CHUNK.12215
Elapsed time: 14 days, 5:42:24.937967
Transferred: 2.982 TB
Speed: 2.542 MB/s
```
`btrfs send` side, passive.
```
Received "b'OK\n'".
Handling chunk /mnt/data/btrfs-transfer-chunks/20221015T1432_u.CHUNK.12212
Saving chunk /mnt/data/btrfs-transfer-chunks/20221015T1432_u.CHUNK.12215
Received "b'OK\n'".
Handling chunk /mnt/data/btrfs-transfer-chunks/20221015T1432_u.CHUNK.12213
Received "b'OK\n'".
Handling chunk /mnt/data/btrfs-transfer-chunks/20221015T1432_u.CHUNK.12214
Received "b'OK\n'".
Handling chunk /mnt/data/btrfs-transfer-chunks/20221015T1432_u.CHUNK.12215
Received "b'OK\n'".
```