btrfs-progs: Documentaion: rename to .asciidoc
[platform/upstream/btrfs-progs.git] / Documentation / btrfs-send.asciidoc
1 btrfs-send(8)
2 =============
3
4 NAME
5 ----
6 btrfs-send - send data of subvolume(s) to stdout/file.
7
8 SYNOPSIS
9 --------
10 *btrfs send* [-ve] [-p <parent>] [-c <clone-src>] [-f <outfile>] <subvol> [<subvol>...]
11
12 DESCRIPTION
13 -----------
14 Sends the subvolume(s) specified by <subvol> to stdout.
15
16 By default, this will send the whole subvolume. To do an incremental
17 send, use '-p <parent>'.
18
19 If you want to allow btrfs to clone from any additional local snapshots,
20 use '-c <clone-src>' (multiple times where applicable). 
21
22 You must not specify clone sources unless you guarantee that these snapshots
23 are exactly in the same state on both sides, the sender and the receiver.
24
25 It is allowed to omit the '-p <parent>' option when '-c <clone-src>' options
26 are given, in which case *btrfs send* will determine a suitable parent among the
27 clone sources itself.
28
29 `Options`
30
31 -v::
32 Enable verbose debug output. Each occurrence of this option increases the
33 verbose level more.
34 -e::
35 If sending multiple subvols at once, use the new format and omit the <end cmd> between the subvols.
36 -p <parent>::
37 Send an incremental stream from <parent> to <subvol>.
38 -c <clone-src>::
39 Use this snapshot as a clone source for an incremental send (multiple allowed).
40 -f <outfile>::
41 Output is normally written to stdout. To write to a file, use this option.
42 An alternative would be to use pipes.
43
44 EXIT STATUS
45 -----------
46 *btrfs send* returns a zero exit status if it succeeds. Non zero is
47 returned in case of failure.
48
49 AVAILABILITY
50 ------------
51 *btrfs* is part of btrfs-progs.
52 Please refer to the btrfs wiki http://btrfs.wiki.kernel.org for
53 further details.
54
55 SEE ALSO
56 --------
57 `mkfs.btrfs`(8),
58 `btrfs-receive`(8)