Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

The Save/Restore IFS (SAVRST) command saves and restores a copy of one or more o

bjects, that can be used in the integrated file system (IFS).


For more information about integrated file system commands, see the Integrated f
ile system topic collection in the IBM i Information Center at http://www.ibm.co
m/systems/i/infocenter/.
The SAVRST command uses the current save and restore support for objects in libr
aries and for document library objects. As a result, there are restrictions when
you use the SAVRST command on these objects.
Restrictions:
For name patterns in the root directory:
OBJ must be one of the following:
OBJ(('/*') ('/QSYS.LIB' *OMIT) ('/QDLS' *OMIT))
OBJ(('/*') ('/QSYS.LIB' *OMIT) ('/QDLS' *OMIT) ('/other values' *OMIT)
For names involving objects in libraries:
OBJ must have only one name, except when omitting /QSYS.LIB from /*
OBJ must be one of the following:
OBJ('/QSYS.LIB/libname.LIB')
OBJ('/QSYS.LIB/libname.LIB/*')
OBJ('/QSYS.LIB/libname.LIB/*.type')
OBJ('/QSYS.LIB/libname.LIB/objname.type')
OBJ('/QSYS.LIB/libname.LIB/filename.FILE/*')
OBJ('/QSYS.LIB/libname.LIB/filename. FILE/*.MBR')
OBJ('/QSYS.LIB/libname.LIB/filename. FILE/membername.MBR')
OBJ('/QSYS.LIB/*.type')
OBJ('/QSYS.LIB/objname.type')
OBJ('/QSYS.LIB/filename.FILE/*')
OBJ('/QSYS.LIB/filename.FILE/*.MBR')
OBJ('/QSYS.LIB/filename. FILE/membername.MBR')
The .type must be an object type supported by SAVOBJ and RSTOBJ
libname cannot be QSYS, QDOC, QDOCxxxx, QTEMP, QSPL, QSPLxxxx, QSRV, QRECOVERY,
QPTFOBJ1, QPTFOBJ2, QRPLOBJ, or QSR if libname.LIB is the last component of the
name
SUBTREE must be *ALL
For SAVRST:
CHGPERIOD end date and end time must be *ALL
CHGPERIOD must be default if a file member is specified
An object cannot be renamed
For database file members, OPTION(*NEW) only restores members for new files
For names involving document library objects:
OBJ must have only one name, except when omitting /QDLS from /*
OBJ and SUBTREE must be one of the following:
OBJ('/QDLS/path/foldername') SUBTREE(*ALL)
OBJ('/QDLS/path/documentname') SUBTREE(*OBJ)
For SAVRST:
The defaults must be taken on the PRECHK and SAVACTMSGQ parameters
CHGPERIOD must be default with OBJ('/QDLS/path/documentname') SUBTREE(*OBJ)
CHGPERIOD start date cannot be *LASTSAVE
CHGPERIOD end date and end time must be *ALL
SAVACT cannot be *SYNC
SAVACTMSGQ must be *NONE
ALWOBJDIF must be *NONE or *ALL
OPTION must be *ALL
Both systems intended to participate in the save and restore operation must be c
onnected to the same APPN network, or, if the OptiConnect for IBM i option is to
be used, both systems must be joined by the OptiConnect for IBM i hardware and
software.

You might also like