Pages

Wednesday, July 17, 2013

Introduction to Backup

Overview

As with all computer systems, your work on the i5 should be backed up periodically so that you can recover lost data.

Losing data is disastrous if you don't have a backup of everything you could possibly lose.

Initializing

You need to prepare the tape or diskette before you back up anything to tape or diskette. This process is called initialization.

Initializing Tapes
INZTAP

F4


Backing Up
Backing up is a very important part of daily operations. The i5/OS has a different save command for each type of saving operation. 

Always remember to:

You have enough initialized tapes.
Give *SAVSYS special authority to those users who need to perform any kind of save or restore operation.

Saving Libraries 
SAVLIB LIB(XYZ) DEV(TAP01) 

Saving Objects
SAVOBJ OBJ(ABC) LIB(XYZ) DEV(TAP01) OBJTYPE(*FILE) OUTPUT(*PRINT)


Below, screen describes the various commands under GO SAVE menu, these can be individually used to save specific objects in OS400.


Using Save Files
To use a save file instead of tape, you must create the save file first.

CRTSAVF FILE(MYLIB/MYSAVF) TEXT('Save file for backups') 

To save to the save file, execute the usual save command, except specify DEV(*SAVF) and the name of the save file in the SAVF parameter.

SAVLIB LIB(ACCTG) DEV(*SAVF) SAVF(MYLIB/MYSAVF) 

This command saves the entire ACCTG library in save file MYSAVF in library MYLIB.

Entire System Backup

Step 1 : Hold All Job Schedule Programs

Step 2 : ENDSBS *ALL ( *IMMED)

Step 3 : WRKSBS ( Display Active Subsystem ) 
Check if all subsystem have ended .

Step 4 : WRKACTJOB ( Display Active Job )
Check if any job is active .
Step 5 : GO SAVE ( F4 ) ( For Backup )


Take Option 21 for Full system save.


No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...