Save (SAV) command support
The SAV command can be used to save High Performance Optical File System (HPOFS) formatted volumes or Universal Disk Format (UDF) volumes.
This function does not support the backup of ISO 9660 formatted media.
Select a volume or volumes to save. The SAV command prevents the implicit saving of all optical volume images in the QOPT file system when the OBJ parameter includes the entry ’/*’. The file system QOPT cannot be saved; however, volumes below the file system can be saved. If you want to save all volumes within the QOPT file system, ’/QOPT/*’ must be explicitly specified on the OBJ parameter. If all volumes are selected, be aware that this SAV operation could take a long time to complete depending on the number of volumes being saved.
In order to specify that a volume image is to be saved, specify a value of *STG on the SUBTREE parameter.
Saving an optical volume image to another optical volume is allowed; however, the target volume cannot be the opposite side of the saved volume.
The performance of the SAV command is comparable to the DUPOPT command, although it depends on the target device chosen.
Parameters
- OBJ
- Specify a single or multiple path names. The path name cannot be extended beyond the volume level. Examples of invalid path names include ’/QOPT/VOL/*’ or ’/QOPT/VOL/DIR/FILE’.
- SUBTREE
- This must be *STG when saving optical volume images.
- CHGPRIOD
- The Start date, Start time, End date, and End time parameter must all be *ALL.
- UPDHST
- This must be *NO.
- SAVACT
- This parameter is ignored when attempting to save optical volume images.
- PRECHK
- This must be *NO.
- TGTRLS
- The value cannot precede V5R2M0.
Examples
- Save all volumes within the QOPT file system to a save file.
SAV DEV(’/qsys.lib/xyz.lib/xzysavfile.file’) + OBJ((’/qopt/*’)) SUBTREE(*STG)
- Save all volumes beginning with vola and volb to a save file.
SAV DEV(’/qsys.lib/xyz.lib/xzysavfile.file’) + OBJ((’qopt/vola*’) (’/qopt/volb*’)) SUBTREE(*STG)
- Save one volume vol1 to a tape device.
SAV DEV(’/qsys.lib/tap01.devd’) OBJ((’/qopt/vol1’)) SUBTREE(*STG)
Parent topic:
Save and restore commands