Go to file
2023-03-29 18:00:22 +02:00
src/subprocess_util feat: total and current transfer speed 2023-03-29 18:00:05 +02:00
.gitignore add setup.cfg and project.toml; bug fixes; add test; add LICENSE 2023-01-11 19:17:07 +01:00
LICENSE add setup.cfg and project.toml; bug fixes; add test; add LICENSE 2023-01-11 19:17:07 +01:00
Makefile update Makefile 2023-03-19 19:02:50 +01:00
pyproject.toml add setup.cfg and project.toml; bug fixes; add test; add LICENSE 2023-01-11 19:17:07 +01:00
README.md feat: update README 2023-03-29 18:00:22 +02:00
setup.cfg refactor 2023-03-29 18:00:05 +02:00

subprocess-util

Example to replicate a BTRFS subvolume with an active sending side

The sending side "pushes" the BTRFS snapshot to the receiving side. The sender needs password-less SSH access to the receiver.

First, start the receiving side:

sudo btrfs-receive-chunks-passive \
  /target-snapshot-path/20230213T1809_u/

Then, start the sending side:

sudo btrfs-send-chunks-active \
  /source-snapshot-path/20230213T1809_u/ \
  ssh-hostname-of-receiving-side \
  /target-snapshot-path/20230213T1809_u/

See test16().

Example to replicate a BTRFS subvolume with an active receiving side

The receiving side "pulls" the BTRFS snapshot from the sending side. The receiver needs password-less SSH access to the sender.

See test17().