You are not logged in.

#1 2023-02-23 21:34:02

860lacov
Member
Registered: 2020-05-02
Posts: 497

Need help with btrfs send | btrfs receive

I have 3 subvolumes I want, so send from one disk to another.

btrfs send --help shows:

-e               If sending multiple subvols at once, use the new
                     format and omit the end-cmd between the subvols.

and btrfs receive --help shows:

-e               terminate after receiving an <end cmd> marker in the stream.
                     Without this option the receiver side terminates only in case

I understand the words, but not the sentence in general. I've checked man 8 btrfs-send but it is the same.
At the end I don't know If I should use
btrfs send @ @home @cache | btrfs receive
or
btrfs send -e @ @home @cache | btrfs receive
or
btrfs send @ @home @cache | btrfs receive -e
or
btrfs send -e @ @home @cache | btrfs receive -e


And can I use
btrfs send @* instead of btrfs send @ @home @cache?

Last edited by 860lacov (2023-02-23 21:34:50)

Offline

Board footer

Powered by FluxBB