Restore Out-of-Place or Cross-Platform (Informix)

Before You Begin:

Required Capability: See Capabilities and Permitted Actions

wedge.gif (136 bytes)To restore out-of-place or cross-platform:

  1. On the destination computer, if the Informix Server is not installed, install the Informix server, but do not configure the Informix instance. (Refer to the Installation Guide for the Informix Dynamic Server for more information.)
  2. Create a simple instance on the destination host as discussed in Create an Instance. Use the parameters and options that you noted per the task using the CommCell Console in Before You Begin above. 
  3. On the destination host, start up the instance and then (using onmode -yuk) shut down the instance.
  4. Using the environmental variables from the source computer, set the following on the destination computer in the user Informix environment: $INFORMIXSERVER, $INFORMIXDIR, and $ONCONFIG.

  5. Ensure that $INFORMIXDIR/bin is listed in the user Informix $PATH environmental variable just one time.

  6. Install the Base client software (CVGxBase), either the HP-UX File System or Solaris File System iDataAgent software (CVGxIDA), and the Informix iDataAgent software (CVGxIfIDA) on the destination host.
  7. Using the CommCell Console, create a new instance for the Informix iDataAgent on the destination host.
  8. Log in to the destination host and navigate to the $INFORMIXDIR/etc directory.  Then perform the following file copies (using cp):

          ixbar.$servernum  to  ixbar.$servernum.org
          onconfig.$servername  to  onconfig.$servername.org
          oncfg_$servername.$servernum  to  oncfg_$servername.$servernum .org
     
  9. Use the appropriate directives in Basic Restore or Browse and Restore to cross-restore the ixbar, onconfig, and oncfg files on the CommCell Console from the source host's backups.
  10. Modify the onconfig.$servername.org file to be identical to the onconfig.$servername file  (i.e., ensure that DBSERVERNAME, SERVERNUM, and ROOTPATH are the same). 
  11. Copy the onconfig.$servername.org file to the onconfig.$servername file.
  12. Log in to the destination host and create Dbspaces that refer to the oncfg files. Create the Dbspaces based on the output of the onstat -d command run on the source computer. All Dbspaces physical paths must be the same (e.g, prepare the cooked file space, cat /dev/null > $INFORMIXDIR/dbs/test1/data/testdbs1.c1,
    chmod 666 $INFORMIXDIR/dbs/test1/data/testdbs1.c1,
    chown -R informix:informix $INFORMIXDIR/dbs/test1/data/testdbs1.c1). Ensure that the Dbspace files have the correct permissions. (Refer to the Installation Guide for the Informix Dynamic Server for more information.)
  13. Configure the Informix instance in the same CommCell where the source Informix instance was installed and the data was backed up.

  14. Bring the destination instance down (using onmode -yuk) if it is not already down.

  15. Try to cross-restore the whole system by using the directives in Basic Restore or Browse and Restore. It is recommended that you avoid performing a salvage backup (e.g., zeroing out the root Dbspace before restoring or performing a physical whole system restore plus a logical whole system restore).