Guidelines
•
You can use the COLLATIONS option with MAP NAMES, CATALOG, or both.
•
You can specify up to 10 file-set names or 80 collation names in a collation specification.
•
The order of mapping rules is important. The first collation specified whose simple name
matches the simple name of a collation referenced in the object being restored is mapped to
the restored object. If the restored object is referenced in more than one specified file set, the
first file set specified is used. If no collation names match, or if no specified file set contains
the new object, no mapping occurs.
•
If you omit the COLLATION option, a restored object that uses a collation references the same
collation that the original object references.
Examples
> RESTORE $TAPE, *.*.*, COLLATION[S] ((coll1 FOR a), (col1, col2) FOR (a,b)),
LISTALL, AUDITED
> RESTORE $TAPE, *.*.*, COLLATION (( col1, col2, col3 ) FOR ($A.*.*, $B.*.*),
(coll1 FOR $A.A.A1)), LISTALL, AUDITED
> RESTORE $TAPE, *.*.*, MAP NAMES ($old1.osubvol.* to $new1.nsubvol.*,
$old2.osubvol.* to $new2.nsubvol.*),
COLLATION ($new1.nsubvol.collation_1]
for $new1.nsubvol.*,
$new2.nsubvol.collation_1]
for $new2.nsubvol.*),LISTALL, AUDITED
> RESTORE $TAPE, *.*.*, CATALOG ($new1.nsubvol for
$new1.nsubvol.*),
MAP NAMES ($old1.osubvol.* to
$new1.nsubvol.*),
COLLATION ($new1.nsubvol.collation_1]
for $new1.nsubvol.*,
$new1.nsubvol.collation_2]
for $new1.nsubvol.*), LISTALL, AUDITED
DETAIL
The DETAIL option provides information about the file characteristics information for each file in
restore-files
.
DETAIL
Guidelines
•
The display format provided by the DETAIL option is similar to the one supplied by the FUP
INFO, DETAIL command.
•
Before restoring files, you can use DETAIL with the LISTONLY option to get information about
files that cannot be restored (and to see what BACKUP options were used to create the tape).
For more information, see
LISTONLY (page 137)
.
Example
To run RESTORE and produce a detailed listing (without restoring the files):
1> RESTORE/OUT $MYTERM/ $TAPE, $STAR.GAIL.*, &
1> &DETAIL, LISTONLY
The listing for H-series RVUs looks like this:
File Mode RESTORE Program - T9074H01 (01MAY2005) (H01)
(C)2000 Compaq (C)2003 Hewlett-Packard Development Company, L.P.
Drives: ($SG)
132
RESTORE