How to create $TEMPLAT and $XCEPT files for a TPI VOLSER restore job, restoring filepool to a different target filepool.
RESTO will work when restoring to another directory in a VOLSER TPI job.
EXCEPT DIRECTORY SFSVM200:DEIKI01
INPUT 0 VOLSER VW4817 DSSN 1
OPTIONS RESSFS REPLACE RESDATE OLDDATE
REPORT REPDETAIL FILE
RESTO DIRECTORY VMA:DEIKI01.
INCLUDE FILE * *
If you have a small number of directories or filepsaces to restore, you might consider using linemode command XRESTORE to do it.
You can use the XRESTORE command to restore from minidisks or directories and specify a different target.
As documented in the TPI guide for RESTO:
RESTO Record is OPTIONAL
In a VOLSER restore job exception file, use the RESTO record to specify a domain to which to restore data (a target domain).
You must specify a RESTO record for every source domain whose data the job will restore to a target other than the source.
This record is valid only in VOLSER jobs. VM:Backup ignores this record in CATSEARCH and VOLSEARCH jobs.
Note: This record is available only through TPI. Using this record will prevent you from managing the exception file through the VM:Backup screens.
A file can include one RESTO record for each EXCEPT record in the file. If the file does not include a RESTO record, the job restores the data to the same location from which it was backed up (the source).
BFSDIRECTORY filespace fulldirpathname
DISK userid vaddr