subscribe iconSubscribe to this information

Save Linux data by using IBM i SAV

You can save data for a Linux® logical partition that uses IBM® i resources by using the Save (SAV) i CL command.

On IBM i, your data is in a network-server storage space.

Saving and restoring individual Linux files using IBM i commands requires that you use the QNTC directory in the integrated file system. You can access the files that you save and restore by using a file share. You can define the fiile share by using Samba on Linux, and you can access the file share by using QNTC.

To save data for a Linux logical partition that uses IBM i resources by using the Save (SAV) IBM i CL command, follow these steps:

  1. At the IBM i command line, enter the Save (SAV) command.
  2. On the Save display, enter the following parameter values:
    1. In the Device field, enter the associated IBM i device description. To save to a file in a library like QGPL, enter /qsys.lib/qgpl.lib/myfile.file. For example, if your tape device is named TAP01, enter /qsys.lib/tap01.devd.
    2. In the Objects: Name field, enter the server, share, or file. For example, if your server is named MYSERVER, your share is named MYSHARE, and it contains all of the directories and files that need to be saved, enter /QNTC/MYSERVER/MYSHARE.
  3. At the IBM i command line, enter the Display Save File (DSPSAVF) command to verify that the changed save file exists.
  4. In the Option field by the new save file name, enter 5 (Display) to display a list of the stream files in the save file.

Send feedback | Rate this page

Last updated: Fri, Oct 30, 2009