6 btrfs-receive - receive subvolumes from send stream
10 *btrfs receive* [options] <path>
15 Receive a stream of changes and replicate one or more subvolumes that were
16 previously used with *btrfs send* The received subvolumes are stored to
19 *btrfs receive* will fail int the following cases:
21 1. receiving subvolume already exists
23 2. previously received subvolume was changed after it was received
25 3. default subvolume has changed or you didn't mount BTRFS filesystem at the toplevel subvolume
27 A subvolume is made read-only after the receiving process finishes succesfully.
32 enable verbose debug output, print each operation (each occurrence of this
33 option increases the verbosity level)
36 by default, btrfs receive uses standard input to receive the stream,
37 use this option to read from a file instead
40 confine the process to 'path' using `chroot`(1)
43 terminate after receiving an 'end cmd' marker in the stream.
45 Without this option, the receiver terminates only if an error is encountered
49 terminate as soon as N errors happened while processing commands from the send
50 stream, default value is 1, 0 means no limit
53 the root mount point of the destination filesystem
55 By default the mountpoint is searched in '/proc/self/mounts'.
56 If you do not have '/proc', eg. in a chroot environment, use this option to tell
57 us where this filesystem is mounted.
61 *btrfs receive* returns a zero exit status if it succeeds. Non zero is
62 returned in case of failure.
66 *btrfs* is part of btrfs-progs.
67 Please refer to the btrfs wiki http://btrfs.wiki.kernel.org for