pub struct SendCommand { /* private fields */ }Expand description
Send the subvolume(s) to stdout.
Generate a stream representation of one or more subvolumes that can be transmitted over the network or stored for later restoration. Streams are incremental and can be based on a parent subvolume to only send changes. The stream output is in btrfs send format and can be received with the receive command. Requires CAP_SYS_ADMIN.
With –offline, the kernel BTRFS_IOC_SEND ioctl is bypassed entirely and the stream is generated by reading the image directly via btrfs-fs. Useful for sending from images that aren’t mounted, FUSE mounts where the ioctl can’t complete, and unprivileged scenarios (no CAP_SYS_ADMIN required). Tier 1 of the send roadmap: full sends only — incremental, clone sources, NO_FILE_DATA, alternate protocol versions, and compressed-data passthrough are not yet supported in offline mode.
Trait Implementations§
Source§impl Args for SendCommand
impl Args for SendCommand
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl CommandFactory for SendCommand
impl CommandFactory for SendCommand
Source§impl Debug for SendCommand
impl Debug for SendCommand
Source§impl FromArgMatches for SendCommand
impl FromArgMatches for SendCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.