1xfs_mdrestore(8) System Manager's Manual xfs_mdrestore(8)
2
3
4
6 xfs_mdrestore - restores an XFS metadump image to a filesystem image
7
9 xfs_mdrestore [ -g ] source target
10 xfs_mdrestore -V
11
13 xfs_mdrestore is a debugging tool that restores a metadata image gener‐
14 ated by xfs_metadump(8) to a filesystem. The source argument specifies
15 the location of the metadump image and the target argument specifies
16 the destination for the filesystem image. If the source is -, then the
17 metadata image is read from stdin. This allows the output of be another
18 program such as a compression application to be redirected to
19 xfs_mdrestore. The target can be either a file or a device.
20
21 xfs_mdrestore should not be used to restore metadata onto an existing
22 filesystem unless you are completely certain the target can be
23 destroyed.
24
26 -g Shows restore progress on stdout.
27
28 -V Prints the version number and exits.
29
31 xfs_mdrestore returns an exit code of 0 if all the metadata is success‐
32 fully restored or 1 if an error occurs.
33
35 xfs_metadump(8), xfs_repair(8), xfs(5)
36
38 Email bug reports to linux-xfs@vger.kernel.org.
39
40
41
42 xfs_mdrestore(8)