![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/a/ec/aec6f60a-fbd9-460c-8ac0-6902d8420164/aec6f60a-fbd9-460c-8ac0-6902d8420164-bg19b.png)
Chapter 21. VSAM Backup/Restore
21.1 VSAM Backup/Restore
The following describes the methods and utilities used in OS/390 as compared to
VSE VSAM Backup/Restore procedures.
21.1.1 OS/390 VSAM Backup/Restore
There are several tools that can be used in an OS/390 system to back up and
restore VSAM files. Considerations for which tool you may want to use can be
found in Chapter 4 of
DFSMS/MVS Using Data Sets
, SC26-4922. A brief
description of these tools follows:
•
DFSMSdfp
DFSMSdfp provides the IDCAMS commands, EXPORT/IMPORT, for backup
and restore of VSAM files. These commands are documented in the
DFSMS/MVS Access Methods Services for ICF
SC26-4906.
•
DFSMShsm
DFSMShsm can be used to back up and restore VSAM files. For more
information see
DFSMShsm Managing Your Own Data
. In addition, backup of
data can be done automatically with DFSMShsm in a non-SMS or SMS
environment.
•
DFSMSdss
DFSMSdss can be used for VSAM backup/restore. See the manual
DFSMSdss Storage Administration Reference
, SC26-4929, for command
syntax as well as hints and tips.
•
RVA/SnapShot V1R2
With RVA and SnapShot V1R2, you can SNAP a VSAM data set to disk and
offload it to tape at a later time.
21.1.2 VSE/VSAM Backup/Restore
You can use the VSE/VSAM Backup/Restore feature to back up VSE/VSAM files
to magnetic tape or disk devices, and restore the files again to VSE/VSAM data
sets. You can use the two IDCAMS commands BACKUP and RESTORE.
Use this feature to write and read data sets as follows:
•
Copy VSAM disk files to magnetic tape or disk (BACKUP).
•
Copy from magnetic tape or disk to VSAM disk files (RESTORE).
The operations listed below can be done for the following VSE/VSAM objects:
•
KSDS files
•
ESDS files
•
RRDS files
•
VRDS files
•
Alternate indexes
•
SAM ESDS files in CI format
Copyright IBM Corp. 1998 387