btrfs-image

btrfs-image

Manual page and help for the btrfs-image linux command. Btrfs-image is a tool for creating an image of the btrfs file system. All data is reset, but metadata and the like are retained. It is mainly used for debugging purposes. In dump mode, the source is the btrfs device / file and the destination is the output file (use the '-' switch to write to standard output (stdout)). In restore mode (-r option), the source is the dumped image file and the destination is the btrfs device / file.