Save files
Using a save file allows you to save and restore objects without first placing save media into your save media device.
You can also use a save file to send objects from one System i environment to another over communications lines.
You can use the save file as an online container to save the contents of a single library to run overnight. The next day, save the contents of the save file to storage media with the Save Save File Data (SAVSAVFDTA) command.
Objects saved to media using the SAVSAVFDTA command can be restored directly from save media, using...
- RSTLIB
- RSTOBJ
- RST
A few things to consider when saving to save files are:
- Only one library can be saved to a save file.
- You cannot save or send a save file that is larger than the target release allows.
- Performance can vary, depending on other disk activity. Save files can be created on or moved to an ASP for improved performance and additional protection from system disk device failures.
- The maximum capacity of a save file is about one terabyte. You can specify the maximum size of the save file on the Create Save File (CRTSAVF) command.
Remember to specify data compression on the save commands to reduce the space for the save file and the amount of media needed for the SAVSAVFDTA command. (Data compression is not an option on the SAVSAVFDTA command.)
- Copying save files to media
You can back up parts of your system 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.- Working with save files
You can use the CL commands that are listed here with save files.- About save file security
The authority you grant for a save file is the same as for any file. Be careful when granting authority for save files. The authority you grant to the save file allows access to objects in the save file.- I/O operations on a save file
There are several considerations apply to input and output operations on a save file.- Damage to a save file
A save file is marked partially damaged if an attempt to read a record or restore an object from the file encounters an auxiliary storage error. You can restore objects from a partially damaged save file other than the objects on the damaged part of auxiliary storage.- Sending network files
The only objects you can send with the Send Network (SNDNETF) command are database file members or save files. The SNDNETF command creates a save file and copies the information into it.
Parent topic:
Choosing your save mediaRelated concepts
Choosing compression type