Using the Duplicate Optical (DUPOPT) command

The Duplicate Optical (DUPOPT) command can be used to create a duplicate optical volume.

The created duplicate volume is identical to the original volume except for the volume identifier and the time created.

Performance improves significantly when you use DUPOPT instead of CPYOPT to back up an entire volume from scratch. The DUPOPT command has the following requirements:

Use the DUPOPT command when you want to copy the entire volume or for incremental backups of your source volume. For an entire backup, wait until your source volume is full before you use the DUPOPT command.

DUPOPT always makes a complete copy of your source volume. However, you can use it to make incremental backups of your optical volumes in the following manner:

  1. Determine how often you want to back up your source and how many backup copies you want to keep.
  2. Use DUPOPT to duplicate your source media to a target media that has a media type of *ERASE. This will give you an exact copy of the source media.
  3. Continue making duplicates of your source volume as often as you want until your source volume becomes full.
  4. Once the source media is full and you have a successful final copy, you can reuse all previous target media for backups of other source media.
  5. If your source media type is *WORM, before your final backup determine whether your final target media type needs to be media type *WORM or *ERASE.

This command is an example of duplicating a virtual optical volume to a recordable optical volume. The optical volume VIRTVOL is duplicated on volume DVDRW. The volume in device OPT02 will be unloaded after the duplication process is completed and will have a volume identifier of VIRTVOL

DUPOPT   FROMVOL(VIRTVOL)  TOVOL(DVDRW)  NEWVOL(*FROMVOL)
 CLEAR(*YES)  TODEV(OPT02) TOENDOPT(*UNLOAD)
Attention: If the DUPOPT command does not complete successfully or it ends for any reason while processing, the backup is unsuccessful. In addition, if the target media type is *WORM, the target volume may no longer be usable.