You can back up parts of your server to a save file on disk rather than removable save media. However, you should save the save file to removable media on a set schedule.
You can save the contents of your save file by two different methods. You can use the Save save file data (SAVSAVFDTA) command to save your save file data as if your objects were saved directly to media. Or, you can use the Save file data (SAVFDTA) parameter to save the entire save file to media.
SAVLIB LIB(LIBA) DEV(*SAVF) SAVF(LIBB/SAVFA) SAVSAVFDTA SAVF(LIBB/SAVFA) DEV(media-device-name)You can restore library LIBA either from the media volume or from the save file by using the RSTLIB command. When you use the SAVSAVFDTA command, the server does not save the save file object itself.
Save file data (SAVFDTA) parameterUse the save file data (SAVFDTA) parameter on the SAVLIB command, the SAVOBJ command, or the SAVCHGOBJ command. When you specify SAVFDTA(*YES), the server saves the save file and its contents to save media. You cannot restore individual objects that are in the save file from the media copy of the save file. You must restore the save file and then restore the objects from the save file.
The following restrictions apply when specifying SAVFDTA(*YES):