Unix Technical Forum

RE: ontape -l roll-forward of many logs

This is a discussion on RE: ontape -l roll-forward of many logs within the Informix forums, part of the Database Server Software category; --> Neil, Log backup has a header, and it's impossible to simply concatenate several log backups into one huge file. ...


Go Back   Unix Technical Forum > Database Server Software > Informix

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 11:57 AM
Alexey Sonkin
 
Posts: n/a
Default RE: ontape -l roll-forward of many logs

Neil,

Log backup has a header, and it's impossible to simply concatenate
several
log backups into one huge file.

The best solution is to create a Perl wrapper around ontape, that
can properly replace logical log file for restore with a sequence of
files.

-Alexey


-----Original Message-----
From: informix-list-bounces@iiug.org
[mailto:informix-list-bounces@iiug.org] On Behalf Of Neil Truby
Sent: Friday, September 01, 2006 5:14 PM
To: informix-list@iiug.org
Subject: ontape -l roll-forward of many logs

IDS v7.31 UD8 on solaris

I'm doing a logical log rollforward. The logs are backed up by an
ontape -a
process, to disk, and are about 10m each in size.

It's all working fine if i roll forward one log then in a seprate screen

move the next one into position. But this is a pain in the arse: I have

hundreds to do and want to do them in one fell swoop.

But if I cat all 100 into one large file ontape bombs out almost
immediately
asking if I have more logs. Similarly if I run onlog on the
1concatenation
of 100 logs it reads just the first one and ask me if I have any more.

Why is this happening? I've changed LTAPESIZE in the ONCONFIG file on
the
restored server from 10m to 2g but it's made no difference.

SOMETHING is teling ontape/onlog to read only the first 10m of the
concatenated file. But what?!

Thx

Neil


_______________________________________________
Informix-list mailing list
Informix-list@iiug.org
http://www.iiug.org/mailman/listinfo/informix-list


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:55 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com