Question : backup as/400 online

Hi all,

I worked in Oracle Db and now work with as/400 .

In recent days , we use Mimix to backup all library to Test Machine but some library faileds and need to copy again. Unlucky , this library is used by 24/7 system . i wonder that if we don't stop 24/7 progam , can we backup data like in Oralce , we use archive log mode and can be backup online .

Please advise us ...




Answer : backup as/400 online

You can use save-while-active feature to backup files that are currently in use, by specifying either the :

  • SAVACT(*LIB),  
  • SAVACT(*SYNCLIB), or  
  • SAVACT(*SYSDFN) 

parameter on your SAVOBJ or SAVLIB command.

From the IBM Information Center SAVLIB command documentation: http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=/cl/savlib.htm

Save active (SAVACT)

Specifies whether an object can be updated while it is being saved.  

Note:     If your system is in a restricted state and the SAVACT  parameter is specified, the save operation is performed as if  SAVACT(*NO) was specified.  

  • *NO Objects that are in use are not saved.  Objects cannot be updated while being saved.  
  • *LIB Objects in a library can be saved while they are in use by another  job.  All of the objects in a library reach a checkpoint together and  are saved in a consistent state in relationship to each other.  
  • *SYNCLIB Objects in a library can be saved while they are in use by another  job.  All of the objects and all of the libraries in the save operation  reach a checkpoint together and are saved in a consistent state in  relationship to each other.  
  •  Note:     If you specify this value and you are saving many  libraries, it can take a long time to reach a checkpoint for all of the  objects and libraries in the save operation.   
  • *SYSDFN Objects in a library can be saved while they are in use by another  job.  Objects in a library may reach checkpoints at different times and  may not be in a consistent state in relationship to each other.
     
- Gary Patterson
Random Solutions  
 
programming4us programming4us