Man page - xfs_mdrestore(8)
Packages contains this manual
- xfs_fsr(8)
- xfs_scrub(8)
- mkfs.xfs(8)
- xfs_protofile(8)
- xfs_bmap(8)
- xfs_metadump(8)
- xfs_copy(8)
- fsck.xfs(8)
- projects(5)
- xfs_logprint(8)
- xfs_info(8)
- projid(5)
- xfs_mdrestore(8)
- xfs_quota(8)
- xfs_scrub_all(8)
- xfs_repair(8)
- xfs_freeze(8)
- xfs_growfs(8)
- xfs(5)
- xfs_mkfile(8)
- xfs_estimate(8)
- xfs_io(8)
- xfs_db(8)
- xfs_rtcp(8)
- xfs_spaceman(8)
- xfs_property(8)
- xfs_ncheck(8)
- xfs_admin(8)
apt-get install xfsprogs
Manual
xfs_mdrestore
NAMESYNOPSIS
DESCRIPTION
OPTIONS
DIAGNOSTICS
SEE ALSO
BUGS
NAME
xfs_mdrestore - restores an XFS metadump image to a filesystem image
SYNOPSIS
xfs_mdrestore
[
-gi
] [
-l
logdev
] [
-r
rtdev
]
source target
xfs_mdrestore -i
[
-l
logdev
] [
-r
rtdev
]
source
xfs_mdrestore -V
DESCRIPTION
xfs_mdrestore is a debugging tool that restores a metadata image generated 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 filesystem 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. |
||
|
-i |
Shows metadump information on stdout. If no target is specified, exits after displaying information. Older metadumps man not include any descriptive information. |
-l logdev
Metadump in v2 format can contain metadata dumped from an external log. In such a scenario, the user has to provide a device to which the log device contents from the metadump file are copied.
-r rtdev
Restore realtime device metadata to this device. This is only required for a metadump in v2 format.
|
-V |
Prints the version number and exits. |
DIAGNOSTICS
xfs_mdrestore returns an exit code of 0 if all the metadata is successfully restored or 1 if an error occurs.
SEE ALSO
xfs_metadump (8), xfs_repair (8), xfs (5)
BUGS
Email bug reports to linux-xfs@vger.kernel.org .