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