blob: 7e0e3b0b50b53d4362cd9605c81daed5221af4ca (plain
.TH BTRFS-IMAGE 8
btrfs-image \- create/restore an image of the filesystem
[options] \fIsource\fP \fItarget\fP
is used to create an image of a btrfs filesystem. All data will be zeroed,
but metadata and the like is preserved.
is the special file corresponding to the device containing a btrfs filesystem.
is the image file that btrfs-image creates. When used with \fB-r\fP option,
\fBbtrfs-image\fP restores the image file from source into target.
restore metadump image.
compression level (0 ~ 9).
number of threads (1 ~ 32) to be used to process the image dump or restore.
use the old restore method, this does not fixup the chunk tree so the restored
file system will not be able to be mounted.
Walk all the trees manually and copy any blocks that are referenced. Use this
option if your extent tree is corrupted to make sure that all of the metadata is
is part of btrfs-progs. Btrfs is currently under heavy development,
and not suitable for any uses other than benchmarking and review.
Please refer to the btrfs wiki
http://btrfs.wiki.kernel.org for further details.
.SH SEE ALSO
.BR btrfsck (8), mkfs.btrfs (8)