Home > AS/400 Tips > iSeries security tips > IFS object restores: Time to simplify
iSeries 400 Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ISERIES SECURITY TIPS

IFS object restores: Time to simplify


Rich Loeber
08.05.2006
Rating: -4.00- (out of 5)


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



Rich Loeber
A little over a year ago, I published a tip on how to simplify individual object restores on your System i processor. That article concentrated on how to easily restore objects to the OS/400 database in the QSYS library file system. In this tip, I'll cover a similar method that can be used with objects stored in the Integrated File System (IFS).

More Information

As you probably already know, in OS/400 (i5/OS) it is not enough to just know the name of an object to be restored, you must also know the library or directory it was saved from, the tape file label and in most cases, the sequence number on the tape. The more information you can provide to the OS/400 restore function, the quicker it will run.

As when doing OS/400 object restores, you can always do a DSPTAP to a spool file to find the right information for an IFS RST command. This will give you all of the information you need for your restore, but running the DSPTAP command is painfully slow on most systems and tape media.

The good news is that, as with my earlier tip, there is a way to save information about the objects included in the IFS SAV at the time it is created. The SAV command, like SAVOBJ and SAVLIB, allows you to keep the details of your backup by specifying a value in the OUTPUT parameter. You can store the information in a spool file by using the *PRINT option or you can place the information in a database file by specifying a file path. Since spool files have a way of getting cleared from your system, I recommend the latter. Also, make sure to specify the INFTYPE (*ALL) option so that all of the file information appears on the output detail.

On the SAV command, the data that is saved with your OUTPUT parameter is saved in the exact same format as it appears on the spool file report. Unlike the SAVOBJ/SAVLIB OUTPUT parameter, the fields are not nicely set up for you in standard OS/400 database format. So, working with this information is not quite a clean as you might like.

To find information about a backup, just reference your OS/400 database to track down the tape volume, sequence number and tape label information. When it comes to have to restore a single IFS object in a hurry, having this information at your fingertips will be most helpful.

I have used this approach for a long time on our system and can always find objects for restore very quickly. If you're unfamiliar with working with IFS file objects, you might find it easier to work with the spool files. In this case, it is an easy process to create your spool file, and then convert the file into a database file using the CPYSPLF command.

If you have specific questions about this topic, e-mail me at rich@kisco.com. All e-mail messages will be answered.

---------------------------
About the author: Rich Loeber is president of Kisco Information Systems Inc. in Saranac Lake, N.Y. The company is a provider of various security products for the iSeries market.


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.


Submit a Tip




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


RELATED CONTENT
iSeries security tips
A guide to System i security, Part 3: Digging in to the System i security environment
Is your AS/400 secure?: How a hacker could get valuable information from your system
System i security report round-up
A guide to System i security, part 2: Landing and establishing access
Creating a System i database security policy: Implementation
A guide to System i security: Descending into the heart of darkness of IT security
Creating a System i database security policy: First steps
Enhancements in the intrusion detection system for i5/OS V6R1
Six common System i security lapses
Working with exit programs in i5/OS V6

iSeries system and application security
A guide to System i security, Part 3: Digging in to the System i security environment
Primary group authority: How it works
Blocking access to SQL line commands
Moving files to new libraries allows access to only groups or users that are authorized
Changing telnet ports: A security solution?
Moving to security level 30
Menu security's relationship to object authority
Encrypting files or fields on the iSeries
Changing the QSECOFR password
Ensuring security on i runbook

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.

HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 1999 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts