1era_restore(8) System Manager's Manual era_restore(8)
2
3
4
6 era_restore - restore era metadata file to device or file.
7
9 era_restore [options] -i {xml file} -o {device|file}
10
12 era_restore restores era metadata created by the respective device-map‐
13 per target dumped into an XML formatted (see era_dump(8)) file, which
14 optionally can be preprocessed before the restore to another device or
15 file. If restored to a metadata device, the metadata can be processed
16 by the device-mapper target.
17
18 This tool cannot be run on live metadata.
19
21 -h, --help
22 Print help and exit.
23
24 -V, --version
25 Print version information and exit.
26
27 -q, --quiet
28 Don't print any output. Check the exit code to test for suc‐
29 cess.
30
31 -i, --input {xml file}
32 Specify input file containing xml metadata.
33
34 -o, --output {device|file}
35 Output device or file for restored binary metadata.
36
37 If a file is used, then it must be preallocated, and large enough to hold
38 the metadata.
39
40
42 Restores the XML formatted era metadata on file metadata to logical
43 volume /dev/vg/metadata for further processing by the respective
44 device-mapper target:
45
46 $ era_restore -i metadata -o /dev/vg/metadata
47
48
50 era_restore returns an exit code of 0 for success or 1 for error.
51
53 era_dump(8), era_check(8)
54
56 Joe Thornber <ejt@redhat.com>, Heinz Mauelshagen <HeinzM@RedHat.com>
57
58
59
60System Manager's Manual Device Mapper Tools era_restore(8)