1xfs_mdrestore(8)            System Manager's Manual           xfs_mdrestore(8)
2
3
4

NAME

6       xfs_mdrestore - restores an XFS metadump image to a filesystem image
7

SYNOPSIS

9       xfs_mdrestore [ -gi ] source target
10       xfs_mdrestore -i source
11       xfs_mdrestore -V
12

DESCRIPTION

14       xfs_mdrestore is a debugging tool that restores a metadata image gener‐
15       ated by xfs_metadump(8) to a filesystem. The source argument  specifies
16       the  location  of  the metadump image and the target argument specifies
17       the destination for the filesystem image.  If the source is -, then the
18       metadata image is read from stdin. This allows the output of be another
19       program  such  as  a  compression  application  to  be  redirected   to
20       xfs_mdrestore.  The target can be either a file or a device.
21
22       xfs_mdrestore  should  not be used to restore metadata onto an existing
23       filesystem  unless  you  are  completely  certain  the  target  can  be
24       destroyed.
25

OPTIONS

27       -g     Shows restore progress on stdout.
28
29       -i     Shows  metadump  information  on stdout.  If no target is speci‐
30              fied, exits after displaying information.  Older  metadumps  man
31              not include any descriptive information.
32
33       -V     Prints the version number and exits.
34

DIAGNOSTICS

36       xfs_mdrestore returns an exit code of 0 if all the metadata is success‐
37       fully restored or 1 if an error occurs.
38

SEE ALSO

40       xfs_metadump(8), xfs_repair(8), xfs(5)
41

BUGS

43       Email bug reports to linux-xfs@vger.kernel.org.
44
45
46
47                                                              xfs_mdrestore(8)
Impressum