× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello Nick,

I would like to copy/save libraries from my IFS to a backup server we have. This will replace the SAVLIB and SAVCHGOBJ we are currently using for backupsk to tape.

Just to be clear... the IFS is not a means of creating backups, though you could use it as a component in your backup strategy, it's not a replacement for the SAVLIB command.

IFS stands for "Integrated File System" and that's exactly what it is... it's an *interface* that integrates all of the various file systems supported by i5/OS. In other words, it's a tool for accessing disk objects that can access many different file systems (including your "normal" library/objects, including QDLS, including Optical drives, including network drives, including PC-like files stored on the System i's DASD, etc.)

You could potentially use it as part of your backup strategy by backing up data to a *SAVF (save file) object in a library, and then use an IFS tool (such as CPYTOSTMF) to copy the save file to somewhere in the IFS. Since Windows network drives are in your IFS, this potentially gives you the ability to copy data over over the network to another computer.

You also mention FTP, which is an alternate means of copying data from your SAVF to another computer. But, you still use SAVLIB to make the *SAVF object if you're creating it from a library. Likewise SAVDLO would still be used to back up QDLS. There's a command named SAV that can be used to back up other areas of the IFS.

If you really want to eliminate the SAVLIB command, there's an API QaneSava() that works like SAVLIB but instead of writing records to a save file, it passes the save file data to a program of your choosing. This could be used to save the data directly to an IFS file (potentially over the network) without any need to first write it to a *SAVF object, which is useful if you don't have the disk space to create the SAVF objects before transferring them, but... the basic idea is still the same, you're still using the "save" capability of the operating system.

If you try to copy the data directly via FTP (and not via the various save functions of the OS) you'll lose everything besides the raw bytes in the records. So you'll lose all of the object header information, permissions, record format information, create date, last use date, etc, etc. You can't use FTP to back up anything besides file objects, either. So you really need to continue to use one of the SAVxxx tools. Recovery would not be pretty, otherwise.


What is the syntax I should use to copy a library from my IFS to the Server? I haven't used the IFS much, we do most everything with QDLS.

See... this is why I explained what the IFS is. QDLS is *part of* the IFS, as is your traditional libraries. When you say "the Server" what are you referring to, exactly?

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.