beautypg.com

Changing subvolume and file name mapping, File and catalog name mapping using mapnames – HP NonStop G-Series User Manual

Page 48

background image

One-time Synchronization

HP AutoSYNC User’s Guide522580-020

3-10

Partitioned Files and Tables

command. AutoSYNC does not see the mapnames-file entry and assumes the
destination file is on $DATA01, and the following command will yield incorrect results:

Instead, first specify:

Then specify the volume mapping for the remaining secondary partitions in the
mapnames-file.

Changing Subvolume and File Name Mapping

Non-partitioned file

To synchronize the single partition file $DATA01.DB.FILE to subvolume and file
BACKDB.BACKFILE, use the following command:

Partitioned file

To synchronize the partitioned file $DATA*.DB.PARTFILE to different subvolume and
file names $DATA*.BACKDB.BACKFILE, the command must specify the primary
partition mapping,

and the mapnames file must contain an entry for each secondary partition, as follows:

File and Catalog Name Mapping using MAPNAMES

The

MAPNAMES mapnames-file

option mentioned throughout the preceding

paragraphs is used to specify the mapping of a source file set to a destination file set
and for catalog name mapping.

The mapnames-file is an edit or entry-sequenced file, located on the destination
system.

SYNC $DATA01.DB.PARTFILE TO \DEST.*.*.*, MAPNAMES mapnames-file;...

where mapnames-file has entry:

$DATA01.*.* TO $BACK01.*.*

SYNC $DATA01.DB.PARTFILE TO \DEST.$BACK01.*.*, MAPNAMES mapnames-file...;

SYNC $DATA01.DB.FILE TO $DATA01.BACKDB.BACKFILE,...;

SYNC $DATA01.DB.PARTFILE TO $DATA01.BACKDB.BACKFILE, MAPNAMES mapnames...;

$DATA02.DB.PARTFILE TO $DATA02.BACKDP.BACKFILE

$DATA03.DB.PARTFILE TO $DATA03.BACKDP.BACKFILE

...so on...

This manual is related to the following products: