xfs_mdrestore(8)xfs_mdrestore(8)NAMExfs_mdrestore - restores an XFS metadump image to a filesystem image
SYNOPSISxfs_mdrestore [ -g ] source target
DESCRIPTIONxfs_mdrestore is a debugging tool that restores a metadata image gener‐
ated by xfs_metadump(8) to a filesystem. The source argument specifies
the location of the metadump image and the target argument specifies
the destination for the filsystem image. If the source 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
xfs_mdrestore. The target can be either a file or a device.
xfs_mdrestore should not be used to restore metadata onto an existing
filesystem unless you are completely certain the target can be
destroyed.
OPTIONS-g Shows restore progress on stdout.
DIAGNOSTICSxfs_mdrestore returns an exit code of 0 if all the metadata is success‐
fully restored or 1 if an error occurs.
SEE ALSOxfs_metadump(8), xfs_repair(8), xfs_check(8), xfs(5)BUGS
Email bug reports to xfs@oss.sgi.com.
xfs_mdrestore(8)