Download presentation
Presentation is loading. Please wait.
1
Chapter 10 Backup and Recovery
2
Understanding AS/400 System Operations
Introduction To backup is to copy some or all of a computer’s software to a storage location independent of the computer. Understanding AS/400 System Operations
3
Understanding AS/400 System Operations
Introduction To restore is to copy that remotely stored data back onto the computer and be able to use it. Understanding AS/400 System Operations
4
Understanding AS/400 System Operations
Reasons to Backup Object failure: Most common reason. Objects deleted or damaged or corrupted. System failure: Less common. Power lost or disk units fail etc. Understanding AS/400 System Operations
5
Understanding AS/400 System Operations
Reasons to Backup Site movement: Company moves from one computer to another. Common for disaster recovery. Efficiently save infrequently used information: Large objects take up disk space infrequently used. Site loss. Extremely rare. Flood, fire, riots, etc Understanding AS/400 System Operations
6
Understanding AS/400 System Operations
Copy Vs. Save Copy command: Two copies of the file. Accessed at any time. Could be lost if disk problem. Save command: Data files cannot be accessed except by restore. Object header updated. Off-site security. Understanding AS/400 System Operations
7
Understanding AS/400 System Operations
6 Object Categories Operating objects: MULIC/FULIC, Microcode. Understanding AS/400 System Operations
8
Understanding AS/400 System Operations
6 Object Categories System objects: OS/400 licensed program, User profiles, Private authorities, Device configuration, System and network values. 6 object categories on system in Save/Restore strategy. Understanding AS/400 System Operations
9
Understanding AS/400 System Operations
6 Object Categories Support objects: System libraries required normal operation, Compiler, Utilities. 6 object categories on system in Save/Restore strategy. Understanding AS/400 System Operations
10
Understanding AS/400 System Operations
6 Object Categories Production objects: Data files, Data areas, Job descriptions, Program, Objects running applications. 6 object categories on system in Save/Restore strategy. Understanding AS/400 System Operations
11
Understanding AS/400 System Operations
6 Object Categories Development objects: Source files. End-user objects: Data associated with applications. 6 object categories on system in Save/Restore strategy. Understanding AS/400 System Operations
12
Understanding AS/400 System Operations
Backup Media In general, objects can be saved to: Magnetic tape. DASD (through a save file). Diskette. Another AS/400. Optical Media. Save file (object type *SAVF). Understanding AS/400 System Operations
13
Initialize Tape (INZTAP)
Type choices, press Enter. Device Name New volume identifier *NONE Character value, *NONE... New owner identifier *BLANK Volume identifier *MOUNTED Character value, *MOUNTED Check for active files *YES *YES, *NO, *FIRST Tape density *DEVTYPE *DEVTYPE, *CTGTYPE, *QIC120... Code *EBCDIC *EBCDIC, *ASCII End of tape option *REWIND *REWIND, *UNLOAD Clear *NO *NO, *YES Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys Figure 10-1: Initialize Tape screen. Understanding AS/400 System Operations
14
Initialize Diskette (INZDKT)
Type choices, press Enter. Diskette device Name New volume identifier *NONE Character value, *NONE New owner identifier *BLANK Diskette format *DATA *DATA, 1, 2, 2D, *DATA2... Sector size *STD *STD, 128, 256, 512, 1024 Check for active files *YES *YES, *NO Code *EBCDIC *EBCDIC, *ASCII Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys Figure 10-2: Initialize Diskette screen. You may only find diskettes on the older machines. Understanding AS/400 System Operations
15
Understanding AS/400 System Operations
Save Command Menu SAVE Save System: BIGBLUE Select one of the following: Save Data 1. Files 2. Libraries 3. Documents and folders 4. Programs 5. Other objects 6. Changed objects only 7. Licensed programs 8. Security data 9. Storage 10. Configuration 11. Objects in directories Figure 10-3: Contains a sample of the SAVE command menu. (Screen 1) Note that the menu is shown on multiple screens. Understanding AS/400 System Operations
16
Understanding AS/400 System Operations
Save Command Menu Save System and User Data 20. Define save system and user data defaults 21. Entire system 22. System data only 23. All user data Save Document Library Objects 30. All documents, folders, and mail 31. New and changed documents, new folders, all mail 32. Documents and folders 33. Mail only 34. Calendars Figure 10-3: Contains a sample of the SAVE command menu. (Screen 2) Understanding AS/400 System Operations
17
Understanding AS/400 System Operations
Save Command Menu Save Libraries 40. All libraries other than system library 41. All IBM libraries other than system library 42. All user libraries 43. All changed objects in user libraries Save for Different Systems 50. Save in System/36 format Related Commands 70. Related commands Bottom Selection or command ===> _________________________________________________________________________ F3=Exit F4=Prompt F9=Retrieve F12=Cancel F13=Information Assistant F16=AS/400 Main menu Figure 10-3: Contains a sample of the SAVE command menu. (Screen 3) Understanding AS/400 System Operations
18
Understanding AS/400 System Operations
Figure 10-4: Save commands and their relationship to objects saved. Understanding AS/400 System Operations
19
Understanding AS/400 System Operations
Save Storage Copies DASD track by track. Can Only restore entire system. Can’t restore single object. Understanding AS/400 System Operations
20
Understanding AS/400 System Operations
Save System Required – Restricted State. It will save: OS/400 system objects. Licensed internal code. Optionally, the system configuration. System resource management objects. Security objects. All PTFs. Understanding AS/400 System Operations
21
Understanding AS/400 System Operations
Save System Not Saved: IBM licensed programs. Optional parts of OS/400. Folders. Libraries QGPL and QUSRSYS. Any user libraries. Understanding AS/400 System Operations
22
Understanding AS/400 System Operations
SAVSYS Command Save System (SAVSYS) Type choices, press Enter. Tape device TAP Name + for more values Volume identifier *MOUNTED Character value, *MOUNTED File expiration date *PERM Date, *PERM End of tape option *REWIND *REWIND, *LEAVE, *UNLOAD Use optimum block *YES *YES, *NO Omit *NONE *NONE, *CFG, *SECDTA Output *NONE *NONE, *PRINT, *OUTFILE Additional Parameters Clear *NONE *NONE, *ALL, *AFTER Data compression *DEV *DEV, *NO, *YES Data compaction *DEV *DEV, *NO Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys Figure 10-5: Prompted version of SAVSYS command. Understanding AS/400 System Operations
23
Understanding AS/400 System Operations
Save Configuration Device configurations are: Line descriptions. Controller descriptions. Device descriptions. Mode descriptions. Class-of-service descriptions. Network interface descriptions. Connection lists. Understanding AS/400 System Operations
24
Save Configuration - Continued
Configuration lists. System configuration. Hardware resources. Token ring adapter data Understanding AS/400 System Operations
25
Save Configuration Screen
Save Configuration (SAVCFG) Type choices, press Enter. Device Name, *SAVF + for more values Volume identifier *MOUNTED Character value, *MOUNTED Sequence number *END , *END File expiration date *PERM Date, *PERM End of tape option *REWIND *REWIND, *LEAVE, *UNLOAD Use optimum block *YES *YES, *NO Save file Name Library *LIBL Name, *LIBL, *CURLIB Additional Parameters Clear *NONE *NONE, *ALL, *AFTER Object pre-check *NO *NO, *YES Data compression *DEV *DEV, *NO, *YES More... F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys Figure 10-6: Prompted version of SAVCFG command (part 1). Understanding AS/400 System Operations
26
Save Configuration Screen 2
Data compaction *DEV *DEV, *NO Output *NONE *NONE, *PRINT, *OUTFILE File to receive output Name Library *LIBL Name, *LIBL, *CURLIB Output member options: Member to receive output *FIRST Name, *FIRST Replace or add records *REPLACE *REPLACE, *ADD Figure 10-6: Prompted version of SAVCFG command (part 2). Understanding AS/400 System Operations
27
Understanding AS/400 System Operations
Save Security Data The items saved are: User profiles. Private authorities to objects. Authorization lists. Understanding AS/400 System Operations
28
Save Security Data Screen 1
Save Security Data (SAVSECDTA) Type choices, press Enter. Device Name, *SAVF + for more values Volume identifier *MOUNTED Character value, *MOUNTED Sequence number *END , *END File expiration date *PERM Date, *PERM End of tape option *REWIND *REWIND, *LEAVE, *UNLOAD Use optimum block *YES *YES, *NO Save file Name Library *LIBL Name, *LIBL, *CURLIB Additional Parameters Clear *NONE *NONE, *ALL, *AFTER Object pre-check *NO *NO, *YES Data compression *DEV *DEV, *NO, *YES More... F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys Figure 10-7: Prompted version of SAVSECDTA command (part 1). Understanding AS/400 System Operations
29
Save Security Data Screen 2
Data compaction *DEV *DEV, *NO Output *NONE *NONE, *PRINT, *OUTFILE File to receive output Name Library *LIBL Name, *LIBL, *CURLIB Output member options: Member to receive output *FIRST Name, *FIRST Replace or add records *REPLACE *REPLACE, *ADD Figure 10-7: Prompted version of SAVSECDTA command (part 2). Understanding AS/400 System Operations
30
Understanding AS/400 System Operations
Save Library Screen 1 Save Library (SAVLIB) Type choices, press Enter. Library Name, generic*, *NONSYS... + for more values Device Name, *SAVF Volume identifier *MOUNTED Sequence number *END , *END Label *LIB File expiration date *PERM Date, *PERM End of tape option *REWIND *REWIND, *LEAVE, *UNLOAD Starting library *FIRST Name, *FIRST Save file Name Library *LIBL Name, *LIBL, *CURLIB Optical file Use optimum block *YES *YES, *NO More... F9=All parameters F11=Keywords F14=Command string F24=More keys Figure 10-8: The prompted version of the SAVLIB command (screen 1). Understanding AS/400 System Operations
31
Understanding AS/400 System Operations
Save Library Screen 2 Save Library (SAVLIB) Type choices, press Enter. Additional Parameters Target release *CURRENT *CURRENT, *PRV, V3R2M0... Update history *YES *YES, *NO Clear *NONE *NONE, *ALL, *AFTER Object pre-check *NO *NO, *YES Save active *NO *NO, *LIB, *SYNCLIB, *SYSDFN Save active wait time , *NOMAX Save active message queue *NONE Name, *NONE, *WRKSTN Library *LIBL Name, *LIBL, *CURLIB Save access paths *NO *NO, *YES Save file data *YES *YES, *NO Storage *KEEP *KEEP, *FREE Data compression *DEV *DEV, *NO, *YES Data compaction *DEV *DEV, *NO More... F9=All parameters F11=Keywords F14=Command string F24=More keys Figure 10-8: The prompted version of the SAVLIB command (screen 2). Understanding AS/400 System Operations
32
Understanding AS/400 System Operations
Save Library Screen 3 Save Library (SAVLIB) Type choices, press Enter. Libraries to omit *NONE Name, generic*, *NONE + for more values Objects to omit: Object *NONE Name, generic*, *NONE, *ALL Library *ALL Name, generic*, *ALL Object type *ALL *ALL, *ALRTBL, *BNDDIR... Output *NONE *NONE, *PRINT, *OUTFILE File to receive output Name Library *LIBL Name, *LIBL, *CURLIB Output member options: Member to receive output *FIRST Name, *FIRST Replace or add records *REPLACE *REPLACE, *ADD Type of output information *OBJ *OBJ, *LIB, *MBR, *ERR Bottom F9=All parameters F11=Keywords F14=Command string F24=More keys Figure 10-8: The prompted version of the SAVLIB command (screen 3). Understanding AS/400 System Operations
33
Understanding AS/400 System Operations
Libraries Save Libraries can be saved to: Tape. Diskette. Save File. Optical Media—but only if the command parameter lib is not set to the generic values: Save-while-active feature *ALLUSR *IBM *NONSYS Understanding AS/400 System Operations
34
Understanding AS/400 System Operations
SAVLIB Cannot Save QSYS QDOC QSPL QRPLOBJ QTEMP QSRV QRECOVERY Understanding AS/400 System Operations
35
Understanding AS/400 System Operations
What Is Saved? Figure 10-9: What objects are saved and not saved when various IBM values are used for the library. Understanding AS/400 System Operations
36
Understanding AS/400 System Operations
What Is Saved? Figure 10-9: What objects are saved and not saved when various IBM values are used for the library. Understanding AS/400 System Operations
37
Save Changed Object Screen
Save Changed Objects (SAVCHGOBJ) Type choices, press Enter. Objects Name, generic*, *ALL + for more values Library Name, generic*, *ALLUSR Device Name, *SAVF + for more values Object types *ALL *ALL, *ALRTBL, *BNDDIR... + for more values Journaled objects *NO *NO, *YES Reference date *SAVLIB Date, *SAVLIB Reference time *NONE Time, *NONE Volume identifier *MOUNTED + for more values Sequence number *END , *END Label *LIB File expiration date *PERM Date, *PERM More... F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys Figure 10-10: Prompted version of the SAVCHGOBJ command (screen 1). Understanding AS/400 System Operations
38
Save Changed Object Screen
Save Changed Objects (SAVCHGOBJ) Type choices, press Enter. End of tape option *REWIND *REWIND, *LEAVE, *UNLOAD Starting library *FIRST Name, *FIRST Save file Name Library *LIBL Name, *LIBL, *CURLIB Optical file Use optimum block *YES *YES, *NO Additional Parameters Target release *CURRENT *CURRENT, *PRV, V3R2M0... Update history *YES *YES, *NO Clear *NONE *NONE, *ALL, *AFTER Object pre-check *NO *NO, *YES Save active *NO *NO, *LIB, *SYNCLIB, *SYSDFN Save active wait time , *NOMAX More... F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys Figure 10-10: Prompted version of the SAVCHGOBJ command (screen 2). Understanding AS/400 System Operations
39
Save Changed Object Screen
Save Changed Objects (SAVCHGOBJ) Type choices, press Enter. Save active message queue *NONE Name, *NONE, *WRKSTN Library *LIBL Name, *LIBL, *CURLIB Save access paths *NO *NO, *YES Save file data *YES *YES, *NO Data compression *DEV *DEV, *NO, *YES Data compaction *DEV *DEV, *NO Libraries to omit *NONE Name, generic*, *NONE + for more values Objects to omit: Object *NONE Name, generic*, *NONE, *ALL Library *ALL Name, generic*, *ALL Object type *ALL *ALL, *ALRTBL, *BNDDIR... Output *NONE *NONE, *PRINT, *OUTFILE File to receive output Name More... F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys Figure 10-10: Prompted version of the SAVCHGOBJ command (screen 3). Understanding AS/400 System Operations
40
Save Changed Object Screen
Save Changed Objects (SAVCHGOBJ) Type choices, press Enter. Output member options: Member to receive output *FIRST Name, *FIRST Replace or add records *REPLACE *REPLACE, *ADD Type of output information *OBJ *OBJ, *LIB, *MBR, *ERR Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys Figure 10-10: Prompted version of the SAVCHGOBJ command (screen 4). Understanding AS/400 System Operations
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.