How To
Summary
How to restore a specific object or directory to UDFS in an iASP. The UDFS was unmounted during the save and need to restore just a specific directory or object to that UDFS from this save.
Objective
How to restore a specific object or directory to UDFS in an iASP. The UDFS was unmounted during the save and need to restore just a specific directory or object to that UDFS from this save. After a full save of the system or FSFC where the UDFS was unmounted during the save of the IFS, a specific directory or object needs to be restored.
Steps
In this example we're going to assume an iASP name of IASP01, a UDFS name of QDEFAULT.UDFS and it will be mounted over the directory /IASP01.
- Make sure that the iASP is varied on. Use DSPASPSTS ASPDEV(IASP01) and make sure it shows available
- Make sure the UDFS is mounted. Run DSPUDFS UDFS('/dev/IASP01/QDEFAULT.UDFS').
- If the parameter 'Path where mounted' shows 'not mounted', then run MOUNT TYPE(*UDFS) MFS('/dev/IASP01/QDEFAULT.UDFS') MNTOVRDIR('/IASP01').
- If the parameter 'Path were mounted' is already showing the correct mount point (i.e. /IASP01), then continue to the next step
If you are using BRMS to restore, or the save was done in parallel (which requires BRMS to do the restore) and you save object level detail for the *LINK save.
- WRKMEDIBRM CTLGRP(<backup control group>)
- Take opt 9 (Work with saved objects) next to the *LINK,
- Take opt 9 again (Work with directory information) next to the directory (i.e. /dev/IASP01/QDEFAULT.UFDS/<directory path or object to restore>).
- On the 'Work with Directory Information', take opt 7 (Restore) which brings up the 'Select Recovery Items' screen
- Finally, take opt 7 (specify object) to prompt the RST command.
- With the RST command prompted, press F9 for all parameters
- The object parameter 'Name' should be filled in ('/dev/IASP1/QDEFAULT.UFDS/<directory path or object to restore>'), however in the 'New object name', put in the path to the mounted directory '/IASP1/<directory path or object to restore>'
If you are using BRMS to restore, or the save was done in parallel (which requires BRMS to do the restore) and you do not save object level detail for the *LINK save.
- WRKMEDIBRM CTLGRP(<backup control group>)
- Take opt 7 (Restore) next to the *LINK
- Take opt 7 (Restore) again to prompt the RST command.
- With the RST command prompted, press F9 for all parameters. Put in the 'Name' as ''/dev/IASP1/QDEFAULT.UFDS/<directory path or object to restore>' and the 'New object name' as'/IASP1/<directory path or object to restore>'
If BRMS is not being used, the following command can be used:
1. RST DEV('/QSYS.LIB/DEVD.DEVD') OBJ(('/dev/IASP01/QDEFAULT.UFDS/<directory path or object to restore>' *INCLUDE '/IASP1/<directory path or object to restore>'))
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z000000cwp6AAA","label":"Save Restore"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions"}]
Was this topic helpful?
Document Information
Modified date:
01 December 2022
UID
ibm16841877