Backup and Recovery

Published on June 2016 | Categories: Documents | Downloads: 58 | Comments: 0 | Views: 613
of 65
Download PDF   Embed   Report

Comments

Content

HCL Technologies Ltd.
An Introduction to the AS/400 / iSeries / i5 Mid-Range System (Backup and Recovery)

Rama Krishna 1 Thommandra

Introduction
To backup is to copy some or all of a computer’s software to a storage location independent of the computer.

2

Introduction


To restore is to copy that remotely stored data back onto the computer and be able to use it.

3

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.


4

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
5

Copy Vs. Save


Copy command:
  

Two copies of the file. Accessed at any time. Could be lost if disk problem. Data files cannot be accessed except by restore. Object header updated. Off-site security.
6



Save command:





6 Object Categories


Operating objects:
MULIC/FULIC,  Microcode.


7

6 Object Categories


System objects:
OS/400 licensed program,  User profiles,  Private authorities,  Device configuration,  System and network values.


8

6 Object Categories


Support objects:
System libraries required normal operation,  Compiler,  Utilities.


9

6 Object Categories


Production objects:
Data files,  Data areas,  Job descriptions,  Program,  Objects running applications.


10

6 Object Categories



Development objects:


Source files.

End-user objects:


Data associated with applications.

11

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).


12

Initialize Tape (INZTAP)
Initialize Tape (INZTAP)

Type choices, press Enter.
Device . . . . . . . . New volume identifier New owner identifier . Volume identifier . . Check for active files Tape density . . . . . Code . . . . . . . . . End of tape option . . Clear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Name Character value, *NONE... Character value, *MOUNTED *YES, *NO, *FIRST *DEVTYPE, *CTGTYPE, *QIC120... *EBCDIC, *ASCII *REWIND, *UNLOAD *NO, *YES

*NONE *BLANK *MOUNTED *YES *DEVTYPE *EBCDIC *REWIND *NO

F3=Exit F4=Prompt F24=More keys

F5=Refresh

F12=Cancel

Bottom F13=How to use this display

13

Initialize Diskette (INZDKT)
Initialize Diskette (INZDKT) Type choices, press Enter. Diskette device . . . New volume identifier New owner identifier . Diskette format . . . Sector size . . . . . Check for active files Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Name Character value, *NONE *DATA, 1, 2, 2D, *DATA2... *STD, 128, 256, 512, 1024 *YES, *NO *EBCDIC, *ASCII *NONE *BLANK *DATA *STD *YES *EBCDIC

F3=Exit F4=Prompt F24=More keys

F5=Refresh

F12=Cancel

Bottom F13=How to use this display

14

Save Command Menu
SAVE 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 Save

System:

BIGBLUE

15

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

16

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 F16=AS/400 Main menu

F9=Retrieve

F12=Cancel

F13=Information Assistant

17

System Auxiliary Storage BACKUP
Model-Unique Licensed Internal Code Licensed Internal Code SAVSYS Operating System Objects (QSYS) Private Authorities SAVSECDTA User Profiles, Authorization Lists, and Holders (in QSYS) Distribution Objects (in library QUSRSYS) Configuration Objects (in QSYS) Filed Documents and Folders (in QDOC)

SAVSTG

SAVDLO

SAVLIB

OS/400 Optional Libraries (QHLPSYS, QUSRTOOL) Licensed Program Libraries (QRPG, QCOBOL, etc.)

Q Libraries Provided by IBM Which Contain User Data (QGPL, QUSRSYS, QS36F) SAVOBJ SAVCHGOBJ Other User Libraries

18

Save Storage
Copies DASD track by track.  Can Only restore entire system.  Can’t restore single object.


19

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.


20

Save System


Not Saved:
IBM licensed programs.  Optional parts of OS/400.  Folders.  Libraries QGPL and QUSRSYS.  Any user libraries.


21

SAVSYS Command
Save System (SAVSYS)

Type choices, press Enter.
Tape device . . . . + for Volume identifier . + for File expiration date End of tape option . Use optimum block . Omit . . . . . . . . . . . . . . more values . . . . . . more values . . . . . . . . . . . . . . . . . . . . . . . . TAP01 *MOUNTED *PERM *REWIND *YES *NONE *NONE Name Character value, *MOUNTED Date, *PERM *REWIND, *LEAVE, *UNLOAD *YES, *NO *NONE, *CFG, *SECDTA *NONE, *PRINT, *OUTFILE

Output . . . . . . . . . . . . .

Additional Parameters Clear . . . . . . . . . . . . . Data compression . . . . . . . . Data compaction . . . . . . . . F3=Exit F4=Prompt F24=More keys F5=Refresh *NONE *DEV *DEV F12=Cancel *NONE, *ALL, *AFTER *DEV, *NO, *YES *DEV, *NO Bottom F13=How to use this display

22

Save Configuration


Device configurations are:
Line descriptions.  Controller descriptions.  Device descriptions.  Mode descriptions.  Class-of-service descriptions.  Network interface descriptions.  Connection lists.

23

Save Configuration Continued
Configuration lists.  System configuration.  Hardware resources.  Token ring adapter data


24

Save Configuration Screen
Save Configuration (SAVCFG)

Type choices, press Enter.
Device . . . . . . . + for Volume identifier . + for Sequence number . . File expiration date End of tape option . Use optimum block . Save file . . . . . Library . . . . . . . . . . . more values . . . . . . more values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Name, *SAVF *MOUNTED *END *PERM *REWIND *YES *LIBL Character value, *MOUNTED 1-16777215, *END Date, *PERM *REWIND, *LEAVE, *UNLOAD *YES, *NO Name Name, *LIBL, *CURLIB

Additional Parameters Clear . . . . . . . . . . . . . Object pre-check . . . . . . . . Data compression . . . . . . . . F3=Exit F4=Prompt F24=More keys F5=Refresh *NONE *NO *DEV F12=Cancel *NONE, *ALL, *AFTER *NO, *YES *DEV, *NO, *YES More... F13=How to use this display

25

Save Configuration Screen 2
Data compaction . . . . . Output . . . . . . . . . . File to receive output . . Library . . . . . . . . Output member options: Member to receive output Replace or add records . . . . . . . . . . . . . *DEV *NONE
*LIBL *FIRST *REPLACE

*DEV, *NO *NONE, *PRINT, *OUTFILE Name Name, *LIBL, *CURLIB
Name, *FIRST *REPLACE, *ADD

. . . . . .

26

Save Security Data


The items saved are:
User profiles.  Private authorities to objects.  Authorization lists.


27

Save Security Data Screen 1
Save Security Data (SAVSECDTA)

Type choices, press Enter.
Device . . . . . . . + for Volume identifier . + for Sequence number . . File expiration date End of tape option . Use optimum block . Save file . . . . . Library . . . . . . . . . . . more values . . . . . . more values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Name, *SAVF *MOUNTED *END *PERM *REWIND *YES *LIBL Character value, *MOUNTED 1-16777215, *END Date, *PERM *REWIND, *LEAVE, *UNLOAD *YES, *NO Name Name, *LIBL, *CURLIB

Additional Parameters Clear . . . . . . . . . . . . . Object pre-check . . . . . . . . Data compression . . . . . . . . F3=Exit F4=Prompt F24=More keys F5=Refresh *NONE *NO *DEV F12=Cancel *NONE, *ALL, *AFTER *NO, *YES *DEV, *NO, *YES More... F13=How to use this display

28

Save Security Data Screen 2
Data compaction . . . . . Output . . . . . . . . . . File to receive output . . Library . . . . . . . . Output member options: Member to receive output Replace or add records . . . . . . . . . . . . . *DEV *NONE
*LIBL *FIRST *REPLACE

*DEV, *NO *NONE, *PRINT, *OUTFILE Name Name, *LIBL, *CURLIB
Name, *FIRST *REPLACE, *ADD

. . . . . .

29

Save Library Screen 1
Save Library (SAVLIB) Type choices, press Enter. Library . . . . . . + for Device . . . . . . . + for Volume identifier . + for Sequence number . . Label . . . . . . . File expiration date End of tape option . Starting library . . Save file . . . . . Library . . . . . Optical file . . . . Use optimum block F9=All parameters . . . . . . more values . . . . . . more values . . . . . . more values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Name, generic*, *NONSYS... Name, *SAVF *MOUNTED *END *LIB *PERM *REWIND *FIRST *LIBL 1-16777215, *END Date, *PERM *REWIND, *LEAVE, *UNLOAD Name, *FIRST Name Name, *LIBL, *CURLIB

. . . . . . . F11=Keywords

*YES

*YES, *NO More... F24=More keys

F14=Command string

30

Save Library Screen 2
Save Library (SAVLIB) Type choices, press Enter. Additional Parameters Target release . . . . . . Update history . . . . . . Clear . . . . . . . . . . Object pre-check . . . . . Save active . . . . . . . Save active wait time . . Save active message queue Library . . . . . . . . Save access paths . . . . Save file data . . . . . . Storage . . . . . . . . . Data compression . . . . . Data compaction . . . . . F9=All parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . *CURRENT *YES *NONE *NO *NO 120 *NONE *LIBL *NO *YES *KEEP *DEV *DEV *CURRENT, *PRV, V3R2M0... *YES, *NO *NONE, *ALL, *AFTER *NO, *YES *NO, *LIB, *SYNCLIB, *SYSDFN 0-99999, *NOMAX Name, *NONE, *WRKSTN Name, *LIBL, *CURLIB *NO, *YES *YES, *NO *KEEP, *FREE *DEV, *NO, *YES *DEV, *NO More... F14=Command string F24=More keys

F11=Keywords

31

Save Library Screen 3
Save Library (SAVLIB)

Type choices, press Enter.
Libraries to omit . . . . . . . + for more values Objects to omit: Object . . . . . . . . . . . . Library . . . . . . . . . . Object type . . . . . . . . . + for more values Output . . . . . . . . . . . . . File to receive output . . . . . Library . . . . . . . . . . . Output member options: Member to receive output . . . Replace or add records . . . . Type of output information . . . *NONE Name, generic*, *NONE

*NONE *ALL *ALL *NONE *LIBL *FIRST *REPLACE *OBJ

Name, generic*, *NONE, *ALL Name, generic*, *ALL *ALL, *ALRTBL, *BNDDIR... *NONE, *PRINT, *OUTFILE Name Name, *LIBL, *CURLIB Name, *FIRST *REPLACE, *ADD *OBJ, *LIB, *MBR, *ERR

Bottom F9=All parameters F11=Keywords F14=Command string F24=More keys

32

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
33

SAVLIB Cannot Save
QSYS  QDOC  QSPL  QRPLOBJ  QTEMP  QSRV  QRECOVERY

34

What Is Saved?
Library Name SAVLIB LIB(xx) SAVLIB LIB LIB(*NONSYS) LIB(*IBM) Saved Not Saved Not Saved Saved x x x x x x x x x x x x x x x x x x x x x x x x x x x SAVLIB LIB(*ALLUSR) Saved Not Saved x x x x x x x x x x x x

QDOC QGPL QGPLTEMP QGPL38 QPFRDATA QRCL QRECOVER Y QRPLOBJ QSPL QSRV QSYS QSYS2 QS36F

35

What Is Saved?
Library Name SAVLIB LIB(xx) SAVLIB SAVLIB LIB(*NONSYS) LIB(*IBM) Saved Not Saved Not Saved Saved QTEMP x x QUSR38 x x QUSRSYS x x QUSRTEMP x x QDSNX x x #LIBRARY x x #CGULIB x x #COBLIB x x #DFULIB x x #RPGLIB x x #SDALIB x x #SEULIB x x #DSULIB x x QXXXXXXXXX x x SAVLIB LIB(*ALLUSR) Saved Not Saved x x x x x x x x x x x x x x

36

Save Changed Object Screen
Save Changed Objects (SAVCHGOBJ)

Type choices, press Enter.
Objects . . . . . . + for Library . . . . . . + for Device . . . . . . . + for Object types . . . . + for Journaled objects . Reference date . . . Reference time . . . Volume identifier . + for Sequence number . . Label . . . . . . . File expiration date F3=Exit F4=Prompt F24=More keys . . . . . . more values . . . . . . more values . . . . . . more values . . . . . . more values . . . . . . . . . . . . . . . . . . . . . . . . more values . . . . . . . . . . . . . . . . . . F5=Refresh Name, generic*, *ALL Name, generic*, *ALLUSR Name, *SAVF

*ALL
*NO *SAVLIB *NONE *MOUNTED *END *LIB *PERM F12=Cancel

*ALL, *ALRTBL, *BNDDIR...
*NO, *YES Date, *SAVLIB Time, *NONE

1-16777215, *END Date, *PERM More... F13=How to use this display

37

Save Changed Object Screen
Save Changed Objects (SAVCHGOBJ)

Type choices, press Enter.
End of tape option Starting library . Save file . . . . Library . . . . Optical file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . *REWIND *FIRST *LIBL *REWIND, *LEAVE, *UNLOAD Name, *FIRST Name Name, *LIBL, *CURLIB

Use optimum block

. . . . . . .

*YES

*YES, *NO

Additional Parameters Target release . Update history . Clear . . . . . Object pre-check Save active . . Save active wait . . . . . . . . . . . . . . . time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . *CURRENT *YES *NONE *NO *NO 120 F12=Cancel *CURRENT, *PRV, V3R2M0... *YES, *NO *NONE, *ALL, *AFTER *NO, *YES *NO, *LIB, *SYNCLIB, *SYSDFN 0-99999, *NOMAX More... F13=How to use this display

F3=Exit F4=Prompt F24=More keys

F5=Refresh

38

Save Changed Object Screen
Save Changed Objects (SAVCHGOBJ)

Type choices, press Enter.
Save active message queue . . . Library . . . . . . . . . . . Save access paths . . . . . . . Save file data . . . . . . . . . Data compression . . . . . . . . Data compaction . . . . . . . . Libraries to omit . . . . . . . + for more values Objects to omit: Object . . . . . . . . . . . . Library . . . . . . . . . . Object type . . . . . . . . . + for more values Output . . . . . . . . . . . . . File to receive output . . . . . Library . . . . . . . . . . . F3=Exit F4=Prompt F24=More keys F5=Refresh *NONE *LIBL *NO *YES *DEV *DEV *NONE Name, *NONE, *WRKSTN Name, *LIBL, *CURLIB *NO, *YES *YES, *NO *DEV, *NO, *YES *DEV, *NO Name, generic*, *NONE

*NONE *ALL *ALL *NONE *LIBL F12=Cancel

Name, generic*, *NONE, *ALL Name, generic*, *ALL *ALL, *ALRTBL, *BNDDIR... *NONE, *PRINT, *OUTFILE Name Name, *LIBL, *CURLIB More... F13=How to use this display

39

Save Changed Object Screen
Save Changed Objects (SAVCHGOBJ)

Type choices, press Enter.
Output member options: Member to receive output . . . Replace or add records . . . . Type of output information . . .

*FIRST *REPLACE *OBJ

Name, *FIRST *REPLACE, *ADD *OBJ, *LIB, *MBR, *ERR

F3=Exit F4=Prompt F24=More keys

F5=Refresh

F12=Cancel

Bottom F13=How to use this display

40

Save Object Screen 1
Save Object (SAVOBJ)

Type choices, press Enter.
Objects . . . . . . + for Library . . . . . . + for Device . . . . . . . + for Object types . . . . + for Volume identifier . + for Sequence number . . Label . . . . . . . File expiration date End of tape option . Save file . . . . . Library . . . . . F3=Exit F4=Prompt F24=More keys . . . . . . more values . . . . . . more values . . . . . . more values . . . . . . more values . . . . . . more values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . F5=Refresh Name, generic*, *ALL Name, generic* Name, *SAVF

*ALL
*MOUNTED *END *LIB *PERM *REWIND *LIBL F12=Cancel

*ALL, *ALRTBL, *BNDDIR...

1-16777215, *END Date, *PERM *REWIND, *LEAVE, *UNLOAD Name Name, *LIBL, *CURLIB More... F13=How to use this display

41

Save Object Screen 2
Save Object (SAVOBJ)

Type choices, press Enter.
Optical file . . . . . . . . . . Use optimum block . . . . . . . *YES *YES, *NO

Additional Parameters

Target release . . . . . . Update history . . . . . . Clear . . . . . . . . . . Object pre-check . . . . . Save active . . . . . . . Save active wait time . . Save active message queue Library . . . . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

*CURRENT *YES *NONE *NO *NO 120 *NONE *LIBL

*CURRENT, *PRV, V3R2M0... *YES, *NO *NONE, *ALL, *AFTER *NO, *YES *NO, *LIB, *SYNCLIB, *SYSDFN 0-99999, *NOMAX Name, *NONE, *WRKSTN Name, *LIBL, *CURLIB

F3=Exit F4=Prompt F24=More keys

F5=Refresh

F12=Cancel

More... F13=How to use this display

42

Save Object Screen 3
Save Object (SAVOBJ) Type choices, press Enter. File member: File . . . . . . . Member . . . . . . + for Save access paths . Save file data . . . Storage . . . . . . Data compression . . Data compaction . . Libraries to omit . + for . . . . . . . . . . . . more values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . more values *ALL *ALL *NO *YES *KEEP *DEV *DEV *NONE Name, *ALL Name, generic*, *ALL, *NONE *NO, *YES *YES, *NO *KEEP, *FREE *DEV, *NO, *YES *DEV, *NO Name, generic*, *NONE

F3=Exit F4=Prompt F24=More keys

F5=Refresh

F12=Cancel

More... F13=How to use this display

43

Save Object Screen 4
Save Object (SAVOBJ)

Type choices, press Enter.
Objects to omit: Object . . . . . . . . . . . . Library . . . . . . . . . . Object type . . . . . . . . . + for more values Output . . . . . . . . . . . . . File to receive output . . . . . Library . . . . . . . . . . . Output member options: Member to receive output . . . Replace or add records . . . . Type of output information . . .

*NONE *ALL *ALL *NONE *LIBL *FIRST *REPLACE *OBJ

Name, generic*, *NONE, *ALL Name, generic*, *ALL *ALL, *ALRTBL, *BNDDIR... *NONE, *PRINT, *OUTFILE Name Name, *LIBL, *CURLIB Name, *FIRST *REPLACE, *ADD *OBJ, *LIB, *MBR, *ERR

F3=Exit F4=Prompt F24=More keys

F5=Refresh

F12=Cancel

Bottom F13=How to use this display

44

Save Save File Data Screen 1
Save Save File Data (SAVSAVFDTA)

Type choices, press Enter.
Save file . . . . . Library . . . . . Device . . . . . . . + for Volume identifier . + for Sequence number . . End of tape option . Use optimum block . Clear . . . . . . . . . . . . . . . . . . . . . . . . . more values . . . . . . more values . . . . . . . . . . . . . . . . . . . . . . . . Name Name, *LIBL, *CURLIB Name Character value, *MOUNTED

*LIBL

*MOUNTED

*END *REWIND *YES *NONE

1-16777215, *END *REWIND, *LEAVE, *UNLOAD *YES, *NO *NONE, *ALL, *AFTER

Additional Parameters File expiration date . . . . . . Data compaction . . . . . . . . Output . . . . . . . . . . . . . F3=Exit F4=Prompt F24=More keys F5=Refresh *PERM *DEV *NONE F12=Cancel Date, *PERM *DEV, *NO *NONE, *PRINT, *OUTFILE More... F13=How to use this display

45

Save Save File Data Screen 2
Save Save File Data (SAVSAVFDTA)

Type choices, press Enter.
File to receive output . . Library . . . . . . . . Output member options: Member to receive output Replace or add records . . . . . . . . . . . . . Name Name, *LIBL, *CURLIB Name, *FIRST *REPLACE, *ADD

*LIBL *FIRST *REPLACE

F3=Exit F4=Prompt F24=More keys

F5=Refresh

F12=Cancel

Bottom F13=How to use this display

46

Save Licensed Program Screen
Save Licensed Program (SAVLICPGM)

Type choices, press Enter.
Product . . . . . . . . . . . . Device . . . . . . . . . . . . . + for more values Optional part to be saved . . . Release . . . . . . . . . . . . Language for licensed program . Object type . . . . . . . . . . Character value Name, *SAVF *BASE *ONLY *PRIMARY *ALL *BASE, 1, 2, 3, 4, 5, 6, 7... Character value, *ONLY Character value, *PRIMARY... *ALL, *PGM, *LNG

F3=Exit F4=Prompt F24=More keys

F5=Refresh

F12=Cancel

Bottom F13=How to use this display

47

Save Command IFS Screen 1
Save Object (SAV)

Type choices, press Enter.
Device . . . . . . . _____________ + for _____________ Objects: Name . . . . . . . _____________ Include or omit . + for Directory subtree . Save active . . . . Output . . . . . . . ___________ Volume identifier . + for Label . . . . . . . F3=Exit F4=Prompt F24=More keys . . . . . . ______________________________________________ more values ______________________________________________

. . . . . . . . . . . . more values . . . . . . . . . . . . . . . . . . . . . . . . more values . . . . . . F5=Refresh

'*' *INCLUDE *ALL *NO *NONE *MOUNTED *GEN F12=Cancel More... F13=How to use this display *INCLUDE, *OMIT *ALL, *DIR, *NONE, *OBJ *NO, *YES, *SYNC

48

Save Command IFS Screen 2
Save Object (SAV)

Type choices, press Enter.
Optical file . . . . _____________ Sequence number . . File expiration date End of tape option . Use optimum block . . . . . . . ______________________________________________ . . . . . . . . . . . . . . . . . . . . . . . . *END *PERM *REWIND *YES 1-16777215, *END Date, *PERM *REWIND, *LEAVE, *UNLOAD *YES, *NO

Additional Parameters System . . . . . . . Time period for last Start date . . . . Start time . . . . End date . . . . . End time . . . . . Object pre-check . . F3=Exit F4=Prompt F24=More keys . . . . change: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . *LCL *ALL *ALL *ALL *ALL *NO F12=Cancel *ALL, *LCL, *RMT Date, *ALL, *LASTSAVE Time, *ALL Date, *ALL Time, *ALL *NO, *YES More... F13=How to use this display

F5=Refresh

49

Save Command IFS Screen 3
Save Object (SAV)

Type choices, press Enter.
Target release . . . . . . . . . Update history . . . . . . . . . Clear . . . . . . . . . . . . . Data compression . . . . . . . . Data compaction . . . . . . . . *CURRENT *NO *NONE *DEV *DEV *CURRENT, *PRV, V3R2M0... *NO, *YES, *SYS, *PC *NONE, *ALL, *AFTER *DEV, *NO, *YES *DEV, *NO

F3=Exit F4=Prompt F24=More keys

F5=Refresh

F12=Cancel

Bottom F13=How to use this display

50

Save-while-active
Object saved while being accessed (even updated) by users.  Creates checkpoint image of the file being saved.  File image is captured, and save made.


51

Save-while-active


Only available on these save commands:
SAVLIB  SAVOBJ  SAVCHGOBJ  SAV


52

How Save-while-active Works
Relies on Internal set of checkpoints.  Internal to applications updating the files.  Define the boundaries of a transaction.


53

Things Not Saved


Trouble when saving their contents are:
  

Contents of queues. Queues saved but not contents. AS/400 queues are:
• • • • • • • Data Job Message Output User Two lists held within journals. Logical files Sometimes save files (*savf)
54

Restore Menu
RESTORE Select one of the following: Restore Data 1. Files 2. Libraries 3. Documents and folders 4. Programs 5. Other objects 6. Licensed programs 7. Configuration 8. User profiles 9. Objects in directories Restore System and User Data 21. System and user data More... Selection or command ===> __________________________________________________________________________ F3=Exit F4=Prompt F9=Retrieve F12=Cancel F16=AS/400 Main menu (C) COPYRIGHT IBM CORP. 1980, 1998. F13=Information Assistant Restore System: BIGBLUE

55

Restore Menu
RESTORE Restore System: BIGBLUE

Select one of the following:
22. System data only 23. All user data Restore Office Data 30. All documents, folders, and mail 31. Documents and folders 32. Mail only 33. Calendars Restore Libraries 40. All libraries other than system library 41. All IBM libraries other than system library 42. All user libraries More... Selection or command ===> __________________________________________________________________________ F3=Exit F4=Prompt F16=AS/400 Main menu F9=Retrieve F12=Cancel F13=Information Assistant

56

Restore Menu
RESTORE Select one of the following: Restore from Different Systems 50. Restore from System/36 format Related Commands 70. Related commands Restore

System:

BIGBLUE

Bottom Selection or command ===> __________________________________________________________________________ F3=Exit F4=Prompt F16=AS/400 Main menu F9=Retrieve F12=Cancel F13=Information Assistant

57

BACKUP/RESTORE COMMAND SUMMARY BACKUP
Model-Unique Licensed Internal Code Control Panel Licensed Internal Code SAVSYS Operating System Objects (QSYS) 23 (restore) 24 (install) IPL or Install the System Menu Option 2 (Install) RSTAUT

RECOVERY

Private Authorities

SAVSECDTA

User Profiles, Authorization Lists, and Holders (in QSYS) Distribution Objects (in QSYS)

RSTUSRPRF

RSTCFG Configuration Objects (in QSYS) SAVSTG SAVDLO Filed Documents and Folders (in QDOC) OS/400 Optional Libraries SAVLIB (QHLPSYS, QUSRTOOL) Licensed Program Libraries (QRPG, QCOBOL, etc.) Q Libraries Provided by IBM Which Contain User Data (QGPL, QUSRSYS, QS36F) SAVOBJ SAVCHGOBJ Other User Libraries RSTOBJ RSTDLO DST Menu

(restore storage)
RSTLIB

58

Restores
RST—Restores objects from the Integrated File System (IFS).  RSTLIB—Restores one or more libraries.  RSTOBJ—Restores one or more objects from one or more libraries.  RSTLICPGM—Restores saved licensed programs.

59

Restores


Security restores:
RSTAUT—Restores authorizations.  RSTCFG—Restores configurations.  RSTUSRPRF—Restores user profiles.


60

Restore-while-active


Three restore commands allow restore-while-active:
RSTOBJ  RSTLIB  RST


61

Backup Strategies


Any backup strategy consists of:


Goals/deliverables:
• How much time will be spent each day/week/month doing backups? • In the event of a disaster requiring recovering some or all of the system, how long can the users wait?



Plans:
• How long will backups be kept? • How many generations of backups will be kept? • Where will the backup media be kept and how accessible is it? • If the computer is destroyed, where and how quickly will another be available?
62

Backup Strategies


Activities:
     



Save the entire system on a regular basis. Save libraries. Save objects. Save changed objects. Save documents library objects. Save distribution objects associated with mail. Contract for a standby AS/400.

63

Backup Strategies


Verification:
Is everything really available on the backup media?  Is the media in good condition or is it getting worn from too much use?  If the media is stored off-site (it usually is), is it obtainable during off-hours?


64

Verify Backup Strategy


Four points:




 

Are the planned saves completing? Surprisingly, too many companies go for months with failed saves. Are the objects that are intended to be saved in fact getting saved? For example, are all user libraries really getting saved? How about all libraries containing source code? All developers’ libraries? Are the save tapes readable? Is the tape drive in good condition?
65

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close