The original Informix backup was successfully performed using the Informix plugin via NVGUI.
A restore of this backup is attempted from CLI to perform a Full System Recovery using:
/opt/informix/bin/onbar_d -r -p
The onbaract.log shows:
2012-05-31 13:56:01 6595 6593 Working with nvinfx as generic storage manager.
2012-05-31 13:56:01 6595 6593 Successfully connected to Storage Manager.
2012-05-31 13:59:12 6595 6593 XBSA Error: (BSAGetObject) A system error occurred. Aborting XBSA session.
2012-05-31 13:59:12 6595 6593 Object information: bar_objdesc
obj_id 0 obj_name 'rootdbs' obj_type 'R' act_id 1 act_type 2 act_status 0
act_start '2012-05-31 13:56:01' act_end '2012-05-15 13:40:58'
ins_time 0 rsam_time 380213360 seal_time 1337082058 prev_seal_time 1337078358 level 0 copyid hi:lo 16083:1337082106 req_act_id 1
logstream 0 est_pages hi:lo 0:0 first_log 116 chpt_log 116 last_log 0
partial_flag 0 do_query 0 ins_sm_id 0 ins_sm_name ''
ins_verify 0 ins_verify_date '' restore order 0:0
objInfo ''
retry 0 in_catalog 0 in_bootfile 0 child_pid 0 child_state 0
bkup_host '' backup_order 41
2012-05-31 13:59:22 6595 6593 (-43342) Cannot read reserved pages from rootdbs object.
2012-05-31 13:59:22 6595 6593 /opt/informix/bin/onbar_d complete, returning 3 (0x03)
To enable Informix restores a series of pre-requisites must be met within NetVault and Informix.
1) Run ...netvault/util/nvpluginaccess command on the NVBU server for both the NVBU server and any Informix client:
This command must be run from the NVBU server's command prompt:
nvpluginaccess -client NVBUSERVER -account default -password <nothing if no password set for netvault user 'default'>
nvpluginaccess -client informixclienname -account default -password <nothing if no password set for netvault user 'default'>
2) Edit the ..Informix/etc/onconfig file to set BAR_MAX_BACKUP = 1.
If the backup was performed as a Parallel Backup the value for BAR_MAX_BACKUP must be equal the one used for that backup
(i.e number of drives that were available for the Parallel Backup).
3) Make sure the IDS server is offline: onmode -ky
4) Restore the physical database: onbar -r -p
5) When the physical database restore completes, restore the logical logs and run the recovery: onbar -r -l
6) Bring the Informix instance online: onmode -m