Save user data with GO SAVE: Option 23

Option 23 saves all user data. This information includes files, records, and other data that your users supply into your server. Option 23 puts your server into a restricted state. This means that no users can access your server, and the backup is the only thing that is running on your server.

Note: If you are saving information on independent disk pools, make sure that you have varied on the independent disk pools that you want to save before using Option 23. For more information see "Saving independent ASPs" in the iSeries™ Information Center.
Option Number Description Commands
23 All user data (QSRSAVU)
ENDSBS SBS(*ALL) OPTION(*IMMED)
CHGMSGQ MSGQ(QSYSOPR) DLVRY(*BREAK or *NOTIFY)
SAVSECDTA 
SAVCFG
SAVLIB LIB(*ALLUSR) ACCPTH(*YES) 
SAVDLO DLO(*ALL) FLR(*ANY)
SAV DEV('/QSYS.LIB/media-device-name.DEVD') +
    OBJ(('/*') ('/QSYS.LIB' *OMIT) +
        ('/QDLS' *OMIT) +
        ('/QIBM/ProdData' *OMIT) +
        ('/QOpenSys/QIBM/ProdData' *OMIT))1 +
    UPDHST(*YES) 
STRSBS SBSD(controlling-subsystem)
1Menu option 23 omits the QSYS.LIB file system because the SAVSYS command, the SAVSECDTA command, the SAVCFG command, and the SAVLIB LIB(*ALLUSR) command save it. The command omits the QDLS file system because the SAVDLO command saves it. Menu option 23 also omits the /QIBM and /QOpenSys/QIBM directories because these directories contain IBM® supplied objects.

View entire GO SAVE checklist provides you with step-by-step instructions on how to save your user data with menu option 23 of the GO SAVE command.

Related tasks
Save independent ASPs
View entire GO SAVE checklist
Related reference
Save and restore spooled files
Methods to save security data
Methods to save configuration objects in QSYS
Related information
Independent disk pools