{
    "content": [
        {
            "type": "text",
            "text": "# BTRFS-SEND (info)\n\n## NAME\n\nbtrfs-send - generate a stream of changes between two subvolume snapshots\n\n## SYNOPSIS\n\nbtrfs send [-ve] [-p <parent>] [-c <clone-src>] [-f <outfile>] <subvol>\n[<subvol>...]\n\n## DESCRIPTION\n\nThis command will generate a stream of instructions that describe\nchanges between two subvolume snapshots. The stream can be consumed by\nthe btrfs receive command to replicate the sent snapshot on a different\nfilesystem. The command operates in two modes: full and incremental.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (5 subsections)\n- **EXIT STATUS**\n- **AVAILABILITY**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "BTRFS-SEND",
        "section": "",
        "mode": "info",
        "summary": "btrfs-send - generate a stream of changes between two subvolume snapshots",
        "synopsis": "btrfs send [-ve] [-p <parent>] [-c <clone-src>] [-f <outfile>] <subvol>\n[<subvol>...]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-e",
                "long": null,
                "arg": null,
                "description": "if sending multiple subvolumes at once, use the new format and omit the end cmd marker in the stream separating the subvolumes"
            },
            {
                "flag": "-p",
                "long": null,
                "arg": "<parent>",
                "description": "send an incremental stream from parent to subvol"
            },
            {
                "flag": "-c",
                "long": null,
                "arg": "<clone-src>",
                "description": "use this snapshot as a clone source for an incremental send (multiple allowed)"
            },
            {
                "flag": "-f",
                "long": null,
                "arg": "<outfile>",
                "description": "output is normally written to standard output so it can be, for example, piped to btrfs receive. Use this option to write it to a file instead."
            },
            {
                "flag": "",
                "long": "--no-data",
                "arg": null,
                "description": "send in NOFILEDATA mode The output stream does not contain any file data and thus cannot be used to transfer changes. This mode is faster and is useful to show the differences in metadata. -q|--quiet:::: (deprecated) alias for global -q option -v|--verbose:: (deprecated) alias for global -v option Global options -q|--quiet suppress all messages except errors -v|--verbose increase output verbosity, print generated commands in a readable form"
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "mkfs.btrfs",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/mkfs.btrfs/8/json"
            },
            {
                "name": "btrfs-receive",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/btrfs-receive/8/json"
            },
            {
                "name": "btrfs-subvolume",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/btrfs-subvolume/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 29,
                "subsections": [
                    {
                        "name": "-e",
                        "lines": 3,
                        "flag": "-e"
                    },
                    {
                        "name": "-p <parent>",
                        "lines": 2,
                        "flag": "-p",
                        "arg": "<parent>"
                    },
                    {
                        "name": "-c <clone-src>",
                        "lines": 3,
                        "flag": "-c",
                        "arg": "<clone-src>"
                    },
                    {
                        "name": "-f <outfile>",
                        "lines": 4,
                        "flag": "-f",
                        "arg": "<outfile>"
                    },
                    {
                        "name": "--no-data",
                        "lines": 17,
                        "long": "--no-data"
                    }
                ]
            },
            {
                "name": "EXIT STATUS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AVAILABILITY",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "btrfs-send - generate a stream of changes between two subvolume\nsnapshots\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "btrfs send [-ve] [-p <parent>] [-c <clone-src>] [-f <outfile>] <subvol>\n[<subvol>...]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This command will generate a stream of instructions that describe\nchanges between two subvolume snapshots. The stream can be consumed by\nthe btrfs receive command to replicate the sent snapshot on a different\nfilesystem. The command operates in two modes: full and incremental.\n\nAll snapshots involved in one send command must be read-only, and this\nstatus cannot be changed as long as there's a running send operation\nthat uses the snapshot.\n\nIn the full mode, the entire snapshot data and metadata will end up in\nthe stream.\n\nIn the incremental mode (options -p and -c), previously sent snapshots\nthat are available on both the sending and receiving side can be used\nto reduce the amount of information that has to be sent to reconstruct\nthe sent snapshot on a different filesystem.\n\nThe -p <parent> option can be omitted when -c <clone-src> options are\ngiven, in which case btrfs send will determine a suitable parent from\namong the clone sources.\n\nYou must not specify clone sources unless you guarantee that these\nsnapshots are exactly in the same state on both sides--both for the\nsender and the receiver. For implications of changed read-write status\nof a received snapshot please see section SUBVOLUME FLAGS in\nbtrfs-subvolume(8).\n\nOptions\n",
                "subsections": [
                    {
                        "name": "-e",
                        "content": "if sending multiple subvolumes at once, use the new format and omit\nthe end cmd marker in the stream separating the subvolumes\n",
                        "flag": "-e"
                    },
                    {
                        "name": "-p <parent>",
                        "content": "send an incremental stream from parent to subvol\n",
                        "flag": "-p",
                        "arg": "<parent>"
                    },
                    {
                        "name": "-c <clone-src>",
                        "content": "use this snapshot as a clone source for an incremental send\n(multiple allowed)\n",
                        "flag": "-c",
                        "arg": "<clone-src>"
                    },
                    {
                        "name": "-f <outfile>",
                        "content": "output is normally written to standard output so it can be, for\nexample, piped to btrfs receive. Use this option to write it to a\nfile instead.\n",
                        "flag": "-f",
                        "arg": "<outfile>"
                    },
                    {
                        "name": "--no-data",
                        "content": "send in NOFILEDATA mode\n\nThe output stream does not contain any file data and thus cannot be\nused to transfer changes. This mode is faster and is useful to show\nthe differences in metadata. -q|--quiet:::: (deprecated) alias for\nglobal -q option -v|--verbose:: (deprecated) alias for global -v\noption\n\nGlobal options\n\n-q|--quiet\nsuppress all messages except errors\n\n-v|--verbose\nincrease output verbosity, print generated commands in a readable\nform\n",
                        "long": "--no-data"
                    }
                ]
            },
            "EXIT STATUS": {
                "content": "btrfs send returns a zero exit status if it succeeds. Non zero is\nreturned in case of failure.\n",
                "subsections": []
            },
            "AVAILABILITY": {
                "content": "btrfs is part of btrfs-progs. Please refer to the btrfs wiki\nhttp://btrfs.wiki.kernel.org for further details.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "mkfs.btrfs(8), btrfs-receive(8), btrfs-subvolume(8)\n\nBtrfs v5.16.2                     02/16/2022                     BTRFS-SEND(8)",
                "subsections": []
            }
        }
    }
}