Restoring to a different user/minidisk.

Document ID : KB000045567
Last Modified Date : 14/02/2018
Show Technical Document Details

Question: 

We need to restore some CMS minidisks that have been backed up for one user, and restore those disks to different user IDs and minidisks; restore them to a different minidisk/location.   How can we accomplish that?

Environment:  

Using VM:Backup to back up all of our data.  

Answer: 

You  can create a restore template and an MDSKLIST file and then specify MDSKLIST on the VMBACKUP SUBMIT command.

Example: 

Let's call your MDSKLIST file, RESTORE MDSKLIST, and this file will reside on the job submitter's A-disk. 

RESTORE MDSKLIST

--------------------

USERA A00  NEWUSER A00
USERA 901  NEWUSER 901
USERA A01  NEWUSER A01
...and so on....

Create a restore template specifying the user IDs.  Then include the MDSKLIST with the new user ID and minidisks.  You can use this list as input

to a restore job by specifying it on the MDSKLIST option of the SUBMIT command.  The restore job will restore the listed minidisks and ignore the 

input guidelines specified in the restore job template.  Additionally, you can use the MDSKLIST command to scan the CP directory and create a list of minidisks defined

on a specified DASD volume. 

Additional Information:

Refer to the SUBMIT command in the VM:Backup System Programmer's Reference which can be accessed at 

https://docops.ca.com/ca-vm-backup-for-zvm/3-6/en/system-programmers-reference/system-programmer-commands/submit-command-system-programmers