AS/400 command for full system backup

5 pts.
Tags:
AS/400
AS/400 backup
What is the command for a full system backup in AS/400? (not through the menu)

Answer Wiki

Thanks. We'll let you know when a new response is added.

I’ve listed the commands required to complete an opt 21, 22 and 23.
Opt 21 will get you everything on the system but it must be ran while the system is in a restricted status.

For more info: Click here.

For option 21 (Entire system) these prompt displays appear:

ENDSBS SBS(*ALL) OPTION(*IMMED)
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)) +
UPDHST(*YES)
STRSBS SBSD(controlling-subsystem)

For option 22 (System data only) these prompt displays appear:

ENDSBS SBS(*ALL) OPTION(*IMMED)
SAVSYS
SAVLIB LIB(*IBM) ACCPTH(*YES)
SAV DEV('/QSYS.LIB/media-device-name.DEVD') +
OBJ(('/QIBM/ProdData') +
('/QOpenSys/QIBM/ProdData')) +
UPDHST(*YES)
STRSBS SBSD(controlling-subsystem)

For option 23 (All user data) these prompt displays appear:

ENDSBS SBS(*ALL) OPTION(*IMMED)
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)) +
UPDHST(*YES)
STRSBS SBSD(controlling-subsystem)

Another command to consider is the Save Storage (SAVSTG) command. This does a complete save, the downside is you would need to do a complete system restore, you cannot restore individual objects.

Hope this helps,
Bill Poulin

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • slack400
    link Here's a good link for dissecting the option 21 backup.
    2,705 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following