Skip to main content

 
IBM Power Systems software  >  IBM i  > Advantages  > 

IBM i integration
with BladeCenter and System x

  
Overview Solutions Operating systems Resources
bl-bullet.gif Linux overview
bl-bullet.gif Linux kernels on IXS/IXA
bl-bullet.gif Migrating from V5R2/V5R3
 
bl-bullet.gif Backup
bl-bullet.gif Tape devices for iSCSI
bl-bullet.gif Tape devices for IXS/IXA
bl-bullet.gif Optical devices for iSCSI
blue_rule.gif

Backup for Linux servers

Because IBM i Linux® integration support combines two operating systems (Linux and IBM i), you can choose to manage backups by using either IBM i or Linux utilities or a combination of both. When you are planning your backup strategy for your Linux server on IBM i, see Backup options for suggestions. For more detailed information, refer to one of the following:

Many objects are created on IBM i as a result of installing IBM i Linux integration support. Some of these are system-related, others user-related. You need to save them all if you want to restore properly. When you want to back up IBM i objects, shut down the Linux server by varying off the network server description to prevent users from updating files during the backup.

These objects are considered part of the IBM i system and are saved when you perform a full IBM i system save. One method of saving system and user data on IBM i is to type GO SAVE on the IBM i command line and use option 21, 22, or 23.

Backing up your Linux server using IBM i involves backing up both predefined storage spaces (the system and install drives) and storage spaces that you have defined.

You can also read an overview of your recovery options and suggestions for restoring system files.

 
 Backup options
 

Because IBM i Linux integration support combines two operating systems (Linux and IBM i), you can choose to manage your backups by using either IBM i or Linux utilities or a combination of both.

Full IBM i backup:
A full IBM i system backup automatically backs up any integrated server components that are on that system (unless someone has changed the backup and removed those components). To take a full system backup:

        1. On the IBM i command line, type GO SAVE and press Enter.
        2. On the Save screen that appears, choose:
                Option 21 to save the entire system
                Option 22 to save just system data
                Option 23 to save just user data

Linux operating system:
The Linux operating system and the files required to start the Linux server are located on the system and install drives of the server. The server storage spaces that contain these drives are in IFS directory QFPNWSSTG on IBM i. The structure of integrated servers allows you to save these drives on IBM i and restore them in case of damaged or deleted files. For example, to replace a damaged kernel, you can restore the Linux system drive.

Daily backup of the system drive is a good idea. You can save these files to tape or to a save file that is stored on IBM i. To save them to a save file, use the SAV command with the compression option enabled. For example:

        SAV DEV('/QSYS.LIB/LINUXBAK.LIB/SYSDRIVE.FILE')
        OBJ('/QFPNWSSTG/nwsdname1') DTACPR(*YES)

Note: With i 6.1, you can perform the above SAV command while the server is active by adding the following parameters to the SAV command:

        SAVACT(*YES) SAVACTOPT(*NWSSTG)

This takes advantage of the storage space snapshot support.
For prior releases, the NWSD must be varied off prior to running the SAV command.

See the backup and recovery topics listed at the top of this page.

User data (using user-defined storage spaces):
On IBM i you can save each user storage space with this command:

        SAV DEV('/QSYS.LIB/TAP01.DEVD') OBJ(('/QFPNWSSTG/stgspc'))

Prior to i 6.1: To save a storage space in user a auxiliary storage pool, use this command:

        SAV DEV('/QSYS.LIB/TAP01.DEVD')
        OBJ(('/QFPNWSSTG/stgspc')('dev/QASPnn/stgspc.UDFS'))

Note: With i 6.1, you can perform the first SAV command listed above while the server is active by adding the following parameters to the SAV command:

        SAVACT(*YES) SAVACTOPT(*NWSSTG)

This takes advantage of the storage space snapshot support.
For prior releases, the NWSD must be varied off prior to running the SAV command.

You cannot restore individual files from this backup. If you need to restore files or directories individually, use the following method.

User data (using individual files):
If you need the ability to restore individual files, use one of these options:

  • Integrated file save/restore from IBM i for iSCSI attached servers with i 6.1. File-level backup and recovery of Linux data is enabled through IBM i. This support is enabled through the IBM i NetClient file system (QNTC) of the Integrated File System. This function enables customers to incorporate incremental saving of files associated with a network server description into their existing IBM i backup procedures. In addition, the files saved through this method can be individually restored if needed.
  • Linux backup utility. On Linux, any of the built in (e.g. tar) or add-on backup applications can be used. See the Linux backup application documentation for information about using these applications.
    Note: This method can be combined with the dynamic disk drive unlinking support (See Unlinking integrated server disks in the Information Center). This provides an alternative method to include file-level backups of Linux data with IBM i backups.
  • Use IBM i NetServer to copy files from the Linux server into the IBM i Integrated File System (IFS). For example, map a network drive from the Linux server to a directory in IFS. Then use a suitable Linux backup utility (for example, tar) to save the Linux files to the network drive.
 
Using IBM i tape devices from the integrated server as native Linux devices
 

The IBM i integration support allows native Linux applications that are running on the System x™ model to access IBM i tape devices. For information on how to use IBM i tape devices from the integrated server, see the backup and recovery topics listed at the top of this page.

The specific tape devices that are supported for a particular configuration depend on the type of integrated server hardware that is being used. See the following pages for the latest list of IBM i tape devices that can be used with integrated servers.

 
Trademark information
 
See the Trademark information page for information on IBM and other company trademarks.