Preparing for a Full-System Cold Restore (ON-Bar)
Use
This section tells you what to do before performing a
full-system cold restore of your Informix database if you use ON-Bar as your data recovery tool (that is, for your database and logical-log backups).
To make a restore easier, label your tapes after every database or logical-log backup. Include all essential information required for a restore, such as date of backup, save set id, volume set and volume, dbspace names, logical-log file numbers, and so on. Your storage manager – for example, Informix Storage Manager (ISM) – normally requests the correct storage media for each stage of the restore.
Procedure
You need to gather the best set of storage media possible for the restore. You need at least a full set of storage media from a level-0 backup. Use the storage media from a level-1 and level-2 backup if available, since they speed up the restore (that is, the restore runs more quickly than when you use the logical-log backup storage media instead).
You need the storage media containing logical-log backups corresponding to the database backup from the previous step. How you proceed depends on what kind of database backup you are using to restore:
· Whole-system backup
Make sure that the logical-log backups are available dating from the latest database backup of all dbspaces that you intend to use for the restore. The latest database backup can be at any level, but you must start with a level-0 backup.
· Storage-space backup
Make sure that the logical-log backups are available dating from the beginning of the first database backup that you intend to use for the restore. These backups are needed to synchronize the different components of the storage-space backup.

For faster performance in a restore, assign separate storage devices for backing up storage spaces and logical logs. If physical and logical backups are mixed together on the storage devices, it takes longer to scan the tape during a restore.
Make sure that the current database server configuration is compatible with, and accommodates, all
ONCONFIG parameter values assigned after the backup that you intend to use. Use the copy of this file that was in use at the time of the backup.All raw devices or files that have been used since the level-0 backup must be available. Changes can include, for example, chunks added, dbspaces dropped, dbspaces mirrored, and so on.
· The
· The server boot file (that is, the
oncfg file)· The
sqlhost file (UNIX only)· The
ONCONFIG file· Storage manager files
These files are normally stored in the directory
$INFORMIXDIR/etc (UNIX) or %INFORMIXDIR%\etc (NT). For more information, see Configuring ON-Bar.A restartable restore is slower but lets you restart the restore midway through if you need to (for example, if there is a failure). You have to decide whether the restore is restartable before you start.
To allow a restore to be restarted, set the
Result
Now you can go on to
Salvaging Logical Logs for a Full-System Cold Restore (ON-Bar).
See also:
Informix documentation