Q
Manage Learn to apply best practices and optimize your operations.

Completing an unattended Option 21 save to tape

ISeries backup and recovery expert Ken Graap explains how to do an unattended Option 21 save to tape.

Ken, do you know a way to do an unattended Option 21 save to tape? Our entire system will fit on one tape so there are no issues there.
You could do this …

Make sure your system console is in a physically secure location, your tape drive is clean and a scratch tape is mounted and ready.

Sign on as the system operator or a user with *SAVSYS special authority. Go to the SAVE menu (GO SAVE) and take Option 21.

One of the parameters for this option is Message Queue Delivery. Change it from *BREAK to *NOTIFY.

Another option is Start Time. Change it from *CURRENT to the time you want the save to start. Use the F1 key for additional information.

Verify that all the other parameters are set as required for your save process, then hit the enter key. The following functions will begin at the time you specified this save to start.

Option Number Description Commands
21 Entire server (QMNSAVE) ENDSBS SBS(*ALL) OPTION(*IMMED)
CHGMSGQ MSGQ(QSYSOPR) DLVRY(*NOTIFY)
SAVSYS
SAVLIB LIB(*NONSYS) ACCPTH(*YES)
SAVDLO DLO(*ALL) FLR(*ANY)
SAV DEV('/QSYS.LIB/media-device-name.DEVD') +
OBJ(('/*') ('/QSYS.LIB' *OMIT) +
('/QDLS' *OMIT))1 UPDHST(*YES)
STRSBS SBSD(controlling-subsystem)
1The command omits QSYS.LIB file system because the SAVSYS command and the SAVLIB LIB(*NONSYS) command both save it. The command omits the QDLS file system because the SAVDLO command saves it.

This should all work just fine unless you encounter a tape drive or tape media error, and as long as no one turns off or signs off your console.

Good luck

Kenneth

Dig Deeper on Data backup, storage and retrieval on iSeries

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close