CmdID

CmdID / Commands

btrfs-send

Transfer data (subvolume/snapshot) from one filesystem to another in a streamable format. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Transfer data (subvolume/snapshot) from one filesystem to another in a streamable format. Note: send requires the snapshot be read-only.

Send a subvolume snapshot to a file instead of stdout

sudo btrfs send -f path/to/file.btrfs path/to/source_snapshotIdentify

Restore a subvolume snapshot from a file instead of stdin

sudo btrfs receive -f path/to/file.btrfs path/to/destination_directoryIdentify

Send a subvolume snapshot stream and pipe it to a receiving destination

sudo btrfs send path/to/source_snapshot | sudo btrfs receive path/to/destination_directoryIdentify

Send an incremental update (differences between parent and new snapshot) to a file

sudo btrfs send -p path/to/parent_snapshot -f path/to/incremental.btrfs path/to/new_snapshotIdentify

Send an incremental update stream and pipe it to a receiving destination

sudo btrfs send -p path/to/parent_snapshot path/to/new_snapshot | sudo btrfs receive path/to/destination_directoryIdentify

Send a subvolume snapshot over SSH (the receiving sudo must be configured for passwordless execution)

sudo btrfs send path/to/source_snapshot | ssh user@host "sudo btrfs receive path/to/destination_directory"Identify

Dump stream metadata from a file without modifying the filesystem

sudo btrfs receive --dump -f path/to/file.btrfsIdentify