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 > Recovering old backups

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-30-03, 12:16
alex1668 alex1668 is offline
Registered User
 
Join Date: Oct 2003
Location: Canada, Quebec
Posts: 11
Recovering old backups

I want to recover an older whole backup.

I'm using Veritas netbackup with informix 7.3

Exemple:

every night there is a whole backup
we are Monday
I want to recover the Saturday backup

how can I instruct onbar to do this?
Reply With Quote
  #2 (permalink)  
Old 10-30-03, 14:49
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Re: Recovering old backups

Quote:
Originally posted by alex1668
I want to recover an older whole backup.

I'm using Veritas netbackup with informix 7.3

Exemple:

every night there is a whole backup
we are Monday
I want to recover the Saturday backup

how can I instruct onbar to do this?
Hi,

Test from the line of commando with "onbar --"
For example: onbar -r -t "dates Time" or
onbar - r -l -n <number of logical logs>.
The information this is $INFORMIXDIR/etc/.ixbar.SERVERNUM and
configuration in $INFORMIXDIR/etc/oncfg_$INFORMIXSERVER_SERVERNUM

Gustavo.
Reply With Quote
  #3 (permalink)  
Old 10-30-03, 15:17
alex1668 alex1668 is offline
Registered User
 
Join Date: Oct 2003
Location: Canada, Quebec
Posts: 11
yes, I tought of that one, I will test it out.

But what about invalidating the Sunday backup within the onbar tables?

I guest that onbar rely on this info for recovering, so if the Sunday backup was mark invalid it should try to get the Saturday one.

Is there another place that onbar keeps info about the valid/invalid backups?


What do you think...?
Reply With Quote
  #4 (permalink)  
Old 10-31-03, 07:55
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Quote:
Originally posted by alex1668
yes, I tought of that one, I will test it out.

But what about invalidating the Sunday backup within the onbar tables?

I guest that onbar rely on this info for recovering, so if the Sunday backup was mark invalid it should try to get the Saturday one.

Is there another place that onbar keeps info about the valid/invalid backups?


What do you think...?
Yes, in the database sysutils.
Now, test in the log file for the back-up finish OK or not.
The back-up must be level 0.

Gustavo.
Reply With Quote
  #5 (permalink)  
Old 10-31-03, 09:40
alex1668 alex1668 is offline
Registered User
 
Join Date: Oct 2003
Location: Canada, Quebec
Posts: 11
Ok, I will test these scenarios over the week-end.

Thanks
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