Re: database restore with ontape -r on Informix Online Dynamic Server
Posted in 2004
Topics: Backup & Restore
Neil Truby wrote:
> "Carmen Constantinescu" <carmen@wylog.com> wrote in message
> news:bthi4v$ujm$1@terabinaries.xmission.com...
>
>>Please help!
>>
>>I try to restore a database with ontape -r file_name like :
>> $INFORMIXDIR/bin/ontape -r <<file_name
>>
>> y
>> n
>> n
>> n
>> file_name
>>
>>The error that I get is if the server is offline is :" Physical restore
>>failed - function read archive backup failed code 1 errno 2".
>
>
> What are expecting << file_name to do?
In this example it is the end of file marker.
However, I would check those responses. Better to run this command manually
and supply the answers yourself. I thought the first question was about
salvaging the existing logs.
Cheers,
--
Mark.
+----------------------------------------------------------+-----------+
| Mark D. Stock mailto:mdstock@MydasSolutions.com |//////// /|
| Mydas Solutions Ltd http://MydasSolutions.com |///// / //|
| +-----------------------------------+//// / ///|
| |We value your comments, which have |/// / ////|
| |been recorded and automatically |// / /////|
| |emailed back to us for our records.|/ ////////|
+----------------------+-----------------------------------+-----------+
sending to informix-list
"Mark D. Stock" <mdstock@mydassolutions.com> wrote in message
news:bti77v$a1g$1@terabinaries.xmission.com...
>
> Neil Truby wrote:
>
> > "Carmen Constantinescu" <carmen@wylog.com> wrote in message
> > news:bthi4v$ujm$1@terabinaries.xmission.com...
> >>I try to restore a database with ontape -r file_name like :
> >> $INFORMIXDIR/bin/ontape -r <<file_name
> >>
> >> y
> >> n
> >> n
> >> n
> >> file_name
> >>
> > What are expecting << file_name to do?
>
> In this example it is the end of file marker.
Oh yeah. Well, fancy calling it file_name. No wonder I was confused!
And the rest of my answer was perfact anyway :-)