Home > Ask the AS/400 Experts > iSeries Backup and Recovery Questions & Answers > Performing an unattended system save
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Performing an unattended system save

Ken Graap EXPERT RESPONSE FROM: Ken Graap

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 27 July 2005
How can an unattended system Save Option 21 be done?


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
iSeries Backup and Recovery
Authority restrictions on the AUTL on backup/test systems and AUTL on live system
Perform a full system backup without user profile QSECOFR
Faster backup method for System i
Solve problems concerning the ALLOW OBJECT DIFFERENCES parameter when restoring a library
System i backup not advised using network NETBACKUP
How to clear expired BRMS created *SAVF files from System i
Restore a full system backup from the production partition to the test partition
Remove a media with a *PERM expiration date from the inventory
Booting iSeries from internal or external sources
SAVF by FTP on AS/400 -- error "source file not found"

Data backup, storage and retrieval on iSeries
Authority restrictions on the AUTL on backup/test systems and AUTL on live system
Perform a full system backup without user profile QSECOFR
Faster backup method for System i
Solve problems concerning the ALLOW OBJECT DIFFERENCES parameter when restoring a library
System i backup not advised using network NETBACKUP
How to clear expired BRMS created *SAVF files from System i
Restore a full system backup from the production partition to the test partition
Tivoli Service Manager 6 released with DB2 integration and dedupe
Remove a media with a *PERM expiration date from the inventory
Booting iSeries from internal or external sources
Data backup, storage and retrieval on iSeries Research

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


Sign on to the system console as QSYSOPR or a user with equal authority.

 
 
       Type:  GO SAVE
 
       Use Option 20 to set your save defaults.
 
       If you running in an unattended mode make sure you specify "N" for:
 
            Prompt for commands  . . . . .   N            Y=Yes, N=No
                                                         
            Check for active files . . . .   N            Y=Yes, N=No
 
       Specify *NOTIFY for message queue delivery:
 
            Message queue delivery . . . .   *NOTIFY      *BREAK, *NOTIFY 
 
       Specify a start time (for example)....
 
            Start time . . . . . . . . . .   02:00:00     *CURRENT, time
 
       Specify 'Y' to:
 
            Use system reply list  . . . .   Y            Y=Yes, N=No
 
       If MSGID(CPA3708) is not already in your reply list, add it.  For xxxx, substitute
         an unused sequence number from 1 to 9999: 
 
            ADDRPYLE SEQNBR(xxxx) MSGID(CPA3708) RPY('G')
 
         This will insure that tape mount inquiry messages are replied to.              
 
       Mount your tape(s).
 
       Then type "21" and hit enter, twice... Your backup will begin at the time specified.
 
       The following commands will be executed in this order:
 
            ENDSBS SBS(*ALL) OPTION(*IMMED) 
            SAVSYS                          
            SAVLIB LIB(*NONSYS) ACCPTH(*YES)
            SAVDLO DLO(*ALL) FLR(*ANY)        
            SAV OBJ(('/*') ('/QSYS.LIB' *OMIT)
                  ('/QDLS' *OMIT) UPDHST(*YES)    
            STRSBS SBSD(controlling-subsystem)

The reason why you must be signed on to the system console is that when the ENDSBS executes, the system will be taken to a "Restrictive State". All processes except the backup process running on the system console, will be immediately ended. From a security point of view you will want to make sure your system console in physically secure. Anyone could enter System Request Option 2 and gain access to your system as a system operator, not to mention stop your backup from running.

Also keep in mind that the system console will be "input inhibited" from the time you hit enter until the backup finishes. All the BU process does is execute a DLYJOB command specifying the time you entered as the start time. If you have set system value QINACTITV to anything but *NONE the system console will be varied off in the of time specified and your backup won't run.

There are more secure ways to run an unattended backup of your system. It usually requires that you install and implement a more secure BU Recovery solution such as BRMS.




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



iSeries Networking - Printing, Remote Access, TCP/IP
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts