xfs_mdrestore - restores an XFS metadump image to a filesystem image
is a debugging tool that restores a metadata image generated by
to a filesystem. The
argument specifies the location of the metadump image and the
argument specifies the destination for the filsystem image.
is -, then the metadata image is read from stdin. This allows the output of
be another program such as a compression application to be redirected to
can be either a file or a device.
should not be used to restore metadata onto an existing filesystem unless
you are completely certain the
can be destroyed.
Shows restore progress on stdout.
returns an exit code of 0 if all the metadata is successfully restored or
1 if an error occurs.