1CACHE_RESTORE(8) System Manager's Manual CACHE_RESTORE(8)
2
3
4
6 cache_restore - restore cache metadata file to device or file
7
8
10 cache_restore [options] -i {device|file} -o {device|file}
11
12
14 cache_restore restores cache metadata created by the respective device-
15 mapper target dumped into an XML formatted (see cache_dump(8)) file ,
16 which optionally can be preprocessed before the restore to another
17 device or file. If restored to a metadata device , the metadata can be
18 processed by the device-mapper target.
19
20 This tool cannot be run on live metadata.
21
22
23 -i, --input {device|file}
24 Input file or device with metadata.
25
26
27 -o, --output {device|file}
28 Output file or device.
29
30
31 {--debug-override-metadata-version} <integer>
32 ONLY FOR DEBUGGING PURPOSES:
33 override the version stored in the metadata.
34
35
36 -h, --help
37 Print help and exit.
38
39
40 -V, --version
41 Output version information and exit.
42
43
45 Restores the XML formatted cache metadata on file metadata to logical
46 volume /dev/vg/metadata for further processing by the respective
47 device-mapper target:
48
49 cache_restore -i metadata -o /dev/vg/metadata
50
51
53 cache_restore returns an exit code of 0 for success or 1 for error.
54
55
57 cache_dump(8) cache_check(8) cache_repair(8)
58
59
61 Joe Thornber <ejt@redhat.com>
62 Heinz Mauelshagen <HeinzM@RedHat.com>
63
64
65
66Red Hat, Inc. Thin Provisioning Tools CACHE_RESTORE(8)