Guidelines - HP BACKCOPY Reference Manual

Guardian disk and tape utilities
Table of Contents

Advertisement

qualified file set operates in a separate catalog. The final PARTONLY ON operation cannot
be performed in parallel.
After a PARTONLY PARTIAL operation, NonStop SQL/MP objects might be in an unaudited
state, owned by the RESTORE user ID, and secured OOOO. The final PARTONLY ON operation
corrects these temporary states by putting all partitions online and linking all indexes.

Guidelines

If you specify PARTONLY ON or PARTIAL option, you can specify EMULATEFSF for faster
restore in some specific physical tapedrives such as M8501 and M8502 models of LTO-3
tape drives.
If you specify the PARTONLY ON or PARTIAL option, you cannot specify the EXT, INDEXES
or IMPLICIT options.
If you specify PARTONLY ON or PARTIAL option, you can specify the MAP NAMES or
CATALOG[S] option only if you also specify the KEEP option.
If you want to restore partitions to resemble tables using the PARTONLY option, delete the
partitions from target locations by using the GOAWAY command.
The following example describes how to restore the partitions using the PARTONLY option.
Consider that the source table (TABLE1) and target table (TABLE2) have three partitions each:
SQLCAT.TABLE1:
CATALOG $USER0.SQLCAT
KEY ( COLUMN 0, OFFSET 0, LENGTH 2, ASC )
PART ( 0, $USER0, 16 PAGES, 64 PAGES, MAXEXTENTS 160, FORMAT
1, 0 )
PART ( 1, $USER1, 16 PAGES, 64 PAGES, MAXEXTENTS 160, FORMAT
1, 10 )
PART ( 2, $USER2, 16 PAGES, 64 PAGES, MAXEXTENTS 160, FORMAT
1, 20 )
SQLCAT.TABLE2
CATALOG $USER1.SQLCAT
KEY ( COLUMN 0, OFFSET 0, LENGTH 2, ASC )
PART ( 0, $USER0, 16 PAGES, 64 PAGES, MAXEXTENTS 160, FORMAT
1, 0 )
PART ( 1, $USER1, 16 PAGES, 64 PAGES, MAXEXTENTS 160, FORMAT
1, 10 )
PART ( 2, $USER2, 16 PAGES, 64 PAGES, MAXEXTENTS 160, FORMAT
1, 20 )
The source and target tables have the same DDL (column and key definition, and partitioning
keys) except the catalog.
Back up partition 1 from TABLE1 using the PARTONLY option:
TACL>BACKUP
$TAPE,$USER1.SQLCAT.TABLE1,PARTONLY,AUDITED,LISTALL
Remove target partition 1 from TABLE2:
TACL>GOAWAY $USER1.SQLCAT.TABLE2
Restore partition 1 to the target partition of TABLE2:
TACL>RESTORE,
$TAPE,*.*.*,AUDITED,LISTALL,PARTONLY,KEEP,MAP NAMES (
$USER0.SQLCAT.TABLE1 to
$USER0.SQLCAT.TABLE2, $USER1.SQLCAT.TABLE1 to
$USER1.SQLCAT.TABLE2,
$USER2.SQLCAT.TABLE1 to $USER2.SQLCAT.TABLE2 ), CATALOG
($USER1.SQLCAT for $USER0.*.TABLE2, $USER1.SQLCAT for
$USER1.*.TABLE2, $USER1.SQLCAT for $USER2.*.TABLE2)
148 RESTORE

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

PakUnpakRestoreDcomDsapBackup ... Show all

Table of Contents