If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > onbar restore failed

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-23-06, 01:40
neilqiu neilqiu is offline
Registered User
 
Join Date: Jul 2005
Posts: 23
onbar restore failed

Hi, i am having headaches since yesterday trying to solve this problem.

TSM 5.1 + TDP FOR INFORMIX V521

onbar -b -w backup was successful

but when restore with onbar -r,failed.

bar_act.log

"unable to write restore data to the database server:restore reserved pages failed"

thank you for you help.

Last edited by neilqiu; 08-23-06 at 02:19.
Reply With Quote
  #2 (permalink)  
Old 08-23-06, 06:12
intarsplienis intarsplienis is offline
Registered User
 
Join Date: Aug 2006
Location: Riga, Latvia
Posts: 17
Hi,

If you used for backup: onbar -b -w,

for restore you must do: onbar -r -w
__________________
www.database.lv
Reply With Quote
  #3 (permalink)  
Old 08-25-06, 11:41
neilqiu neilqiu is offline
Registered User
 
Join Date: Jul 2005
Posts: 23
hi,
used onbar -r -w also failed.(database is shutdown)

when database is online , onbar -r datadbs is successful(but just restore datadbs,the data can't used,must resotore other datadbs,rootdbs,logdbs,phydbs,etc?).

Regards

Last edited by neilqiu; 08-25-06 at 11:47.
Reply With Quote
  #4 (permalink)  
Old 08-27-06, 15:22
intarsplienis intarsplienis is offline
Registered User
 
Join Date: Aug 2006
Location: Riga, Latvia
Posts: 17
Hi,
1. Please carefully look at your $INFORMIXDIR/etc/ixbar.0, make a copy of it and create additional version of file that consists only of required entries of backup information or publish file content here on this topic I will look at it. Also check bar_act.log file to check status of last performed backup, you must find evicdence of fact that backup was completed without any errors. If errors exists, possible alternative is to find last completed without errors Level 0 backup and rollforward logigal log information till the necessary time stamp.

2. Salvaging of existing logical logs must be performed, if it is possible to save latest transactions that resides on logical log and is not backuped by onbar. You can check it by looking in $INFORMIXDIR/etc/ixbar.0

3. When you performing restore of rootdbs and other critical dbsapces (rootdbs, dbspace that includes plog and llogs) it always must be a cold restore, it means that onbar -r -w must be executed when Informix is completely shutted down (no of oninit processes is running - you can check it by executing "ps -efa | grep oninit" ). By the way, are you running Informix on Windows or Unix operating system?

4. If you create backup by "onbar -b -w" command, to restore database instance to online mode you must perform also logical restore and you must have logical log that was created at least after backup was finished

5. If in this case database restore procedure is very critical, please contact your Informix support staff or specialists who can provide you a competent support.

I hope it will help a bit.
__________________
www.database.lv

Last edited by intarsplienis; 08-27-06 at 15:27.
Reply With Quote
  #5 (permalink)  
Old 09-18-06, 06:44
neilqiu neilqiu is offline
Registered User
 
Join Date: Jul 2005
Posts: 23
Thanks intarsplienis,
you replied is very important to me !

I will try again.
Regards
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On