Re: Ontape recovery ?
Posted in 1998
In article <6anp29$s1s@camel19.mindspring.com>, Barry Leb
<barryleb@atl.mindspring.com> writes
>Hopefully, I can present this in a cohereny manner.
>
>This is the situation. We backup our 7.14 database using ontape. We
>have a problem where some data got blown away several weeks ago, and
>it was just now discovered. I have an ontape Level 0 from three weeks
>ago. Obviously, I can't restore this tape to the current production
>database.
>
>What I would like to do is restore this tape on the same machine in a
>different instance using the same chunk names but using symbolic links
>to different raw devices. For example:
>
>Current production database resides in the dbspace pdata.
>pdata's pathname is /dev/informix/prod/pdata.
>In turn, /dev/informix/prod/pdata is a symbolic link to
>/dev/vg01/pdata.
>
>For the restored database I have also create a chunk called pdata.
>However, pdata's pathname in this instance is
>/dev/informix/restore/rdata which in turn is a symbolic link to
>/dev/vg02/rdata.
>
>Will this restore procedure work, all other configuration parameters
>being equal, without clobbering my production database?
>
>In other words, does the ontape -r actually look to the pathnames to
>the chunk, or does it only care that the chunk exists in the new
>instance?
>
Online stores pathnames to the chunk...
Basically the pathname you give it when you create the chunk is what
gets stored.
You CAN give a relative pathname e.g ./chunk1 however this would mean
you must ALWAYS start online from the directory containing chunk1.
In this situation it looks like you are stuck...
>Barry Leb
>
>National Linen Service
>1420 Peachtree Street
>MS #314
>Atlanta, GA 30309
>
>(404) 853-6119
>(404) 853-6485 fax
>e-mail: barryleb@mindspring.com
>
--
David Williams
Maintainer of the Informix FAQ
Primary site (Beta Version) http://www.smooth1.demon.co.uk
Official site http://www.iiug.org/techinfo/faq/faq_top.html
I see you standin', Standin' on your own, It's such a lonely place for you, For
you to be If you need a shoulder, Or if you need a friend, I'll be here
standing, Until the bitter end...
So don't chastise me Or think I, I mean you harm...
All I ever wanted Was for you To know that I care