NetBase for MPE Reference Guide
NetBase Shadowing
5-13
Example 3:
Set up the directory entries necessary to shadow all the files in DATA.PROD from SYSA to SYSB.
When shadowing entire groups or accounts, you must still specify an individual SHADOW statement
for IMAGE databases. This is to provide NBPOST with the correct password to use for opening the
shadow copy.
On the master system, enter:
RUN NBDIR.PUB.NETBASE
D> FILE @.DATA.PROD,SYSA,SYSB
On the shadow system, enter:
RUN NBDIR.PUB.NETBASE
D> FILE @.DATA.PROD,SYSA,SYSB
D> SHADOW @.DATA.PROD
D> SHADOW PAYDB.DATA.PROD;PASS=WRITER
Effective with version 9.6, shadow records are automatically added to the directory if the following
conditions are met:
• The directory is large enough to hold all the records
• A shadow record with wildcards exists for the shadowed file
Note. Although shadow records for IMAGE databases may be auto-added, they will not
work. This is because the password must be included in the shadow records for the
database to be opened without password violations.
See the following section for instruction on adding Third Party Shadowing (TPS) information after
the above examples.