Home > AS/400 Tips > iSeries security tips > Are your backups complete?
iSeries 400 Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ISERIES SECURITY TIPS

Are your backups complete?


Rich Loeber
04.08.2005
Rating: -3.22- (out of 5)


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


You Can View User Feedback To This Tip

No security plan is complete without addressing the issue of safe and complete backups. When the AS/400 was first announced, the process was fairly simple and straightforward. All you needed to do was save all the libraries on your system, save OS/400 in a way it could be reloaded and then make arrangements to back up your security and configuration settings.

As the iSeries-AS/400 got more complex, additional items needed to be saved and new command structures needed to be learned. With today's boxes, it is not as simple as the original plan, but the tools are all there. If you haven't reviewed your backup plan recently, it would be a good idea to dust it off to make sure that everything you need is being saved on your system.

A backup plan generally has two objectives. First, you must be able to recover the entire machine in the event of a catastrophic loss of your processor. This recovery can be either on your own machine, following repair, or at an off-site location. The second objective is to be able to recover an individual object in the event of accidental or purposeful object loss. Your backup plan needs to support both of these objectives.

To get a complete backup of your system today, your backup plan has to provide for the following components of your system:

  1. The OS/400 operating system
  2. Your machine configuration
  3. Your systems security settings
  4. All OS/400 libraries
  5. All shared folder files
  6. All files in your Integrated File System (IFS)

The more recent additions to this list are these last two and this is where I want to concentrate efforts for this article. If you've been around the iSeries-AS/400 box for a while, you're probably already quite familiar with items 1 through 4. If not, feel free to shoot me an Email and I can help you out off-line.

It could be argued that numbers 5 and 6 on this list are both part of the IFS, but OS/400 provides some commands specifically designed for the shared folder system, so you can consider it separately if you want to.

You can save just the Shared Folder files (now known as the QDLS file system in the IFS) using the OS/400 command SAVDLO. To save all files in the Shared Folder system, you can use the following command:

 SAVDLO DLO(*ALL) DEV(TAP01) OUTPUT(*PRINT) SAVACT(*YES)

Note: this command will produce an audit report of what was saved that you can print and keep with the backup, or just hold in an output queue. This report tends to be quite lengthy on most systems. When you run this command, all document library objects on your system will be saved along with all folders and files in the entire shared folder system. If you've used Office Vision/400 on your system, you are probably already doing this backup, but you should check to make sure that all folders are getting saved. Certain components of Client Access/400 are stored in the Shared Folder system and need to be saved as a part of your comprehensive backup plan. The SAVACT(*YES) parameter helps to make sure that the backup is complete by saving objects that may be in use. If you run your backup in a restricted state, this parameter will not be necessary.

To save the files in your Integrated File System, you will need to use the OS/400 SAV command. This command can actually be used to save your entire system, but its use for native OS/400 objects can be confusing, so most shops limit its use to the IFS objects. To save all files in your IFS, use the following command:

    SAV DEV('/QSYS.LIB/TAP01.DEVD') 
      OBJ(('/*') ('/QSYS.LIB' *OMIT) ('/QDLS' *OMIT)) SAVACT(*YES)       
    OUTPUT(*PRINT)

Note that the output device naming method is quite different from standard OS/400 command formats. Also, if you are using the plan outlined above, you want to make sure that you don't save objects again that have already been saved at points 1, 4 and 5. The OBJ parameter controls this function. In this SAV command, the OBJ parm contains three elements. The first element specifies that everything is to be saved. The next two sub parameters modify this by specifying that the QSYS file system and the QDLS file system be omitted from the backup. By leaving these out, you will end up saving just the IFS objects you need.

If some of this appears strange to you, then it means you need to dust off your backup plan and bring it up to date. Today would probably be a good day to do that.


Rich Loeber is president of Kisco Information Systems Inc., in Saranac Lake, NY. The company is a provider of various security products for the AS/400 market.

USER FEEDBACK TO THIS TIP

  • It's worth mentioning that you should also vary off any IXS, INS, IPCS or FSIOP features before doing a full system backup as these will lock objects even when the system is restricted. The result of backing your AS400 up when your NWSDs are varied on is an incomplete backup of the server data. Remember to make separate arrangements to back up data on any NWSDs as the iSeries full backup is not suitable for restoring individual files. The IBM Manual "Backup & Recovery" has much more information about this, as does the InfoCentre. And don't get me started about Linux backups!— Richard Shearwood


Rate this Tip
To rate tips, you must be a member of Search400.com.
Register now to start rating these tips. Log in if you are already a member.




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



RELATED CONTENT
Systems Management
Can you trust all those trigger programs?
Controlling remote command processing
Watch your profiles
Avoid locking issues
Send message to users at a remote site
Security journal receiver management
Top 10 backup commands
Create an iSeries Access image and update it with the latest Service Pack
Tracking critical file access in real time
Prompt user to delete spool files before sign off

iSeries security tips
Developing a security incident response system for System i
Tracking remote access users on System i
Setting up security for programmers on IBM i
Controlling remote access on your IBM i
Checking in on your IBM i authorization lists
PCI data security standards and the System i
Securing the integrated file system on IBM System i
Contextual security on IBM i: Limit user profile access
Time for a security checkup for your i
Security monitoring on IBM i: Watching your super users

iSeries system and application security
Developing a security incident response system for System i
Setting up security for programmers on IBM i
Blocking AS/400 DB2 users
Trouble accessing IFS path from Win2k3 server
Checking in on your IBM i authorization lists
Strategies for securing IBM i production files
Changing password security levels and upgrading operating systems on the IBM i
Determine the value of parameter UPPWEI in the DSPUSRPRF field
Define journal code value "K"
Modify content within a journal receiver file

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
midrange  (Search400.com)

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

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



iSeries Security - Security Tools, Physical Security and System Security
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