Join IIUG
 for   
 

Informix News
18 Nov 13 - ZDNet - Top 20 mobile skills in demand... Read
09 Sep 13 - telecompaper - Shaspa and Tatung have shown a new smart home platform at Ifa in Berlin. Powered by the IBM Informix software... Read
06 Sep 13 - IBM data magazine - Mission Accomplished - Miami, Florida will be the backdrop for the 2014 IIUG Informix Conference... Read
01 Feb 13 - IBM Data Magazine - Are your database backups safe? Lester Knutsen (IBM Champion) writes about database back up safety using "archecker"... Read
14 Nov 12 - IBM - IBM's Big Data For Smart Grid Goes Live In Texas... Read
3 Oct 12 - The Financial - IBM and TransWorks Collaborate to Help Louisiana-Pacific Corporation Achieve Supply Chain Efficiency... Read
28 Aug 12 - techCLOUD9 - Splunk kicks up a SaaS Storm... Read
10 Aug 12 - businessCLOUD9 - Is this the other half of Cloud monitoring?... Read
3 Aug 12 - IBM data management - Supercharging the data warehouse while keeping costs down IBM Informix Warehouse Accelerator (IWA) delivers superior performance for in-memory analytics processing... Read
2 Aug 12 - channelbiz - Oninit Group launches Pay Per Pulse cloud-based service... Read
28 May 12 - Bloor - David Norfolk on the recent Informix benchmark "pretty impressive results"... Read
23 May 12 - DBTA - Informix Genero: A Way to Modernize Informix 4GL Applications... Read
9 Apr 12 - Mastering Data Management - Upping the Informix Ante: Advanced Data Tools... Read
22 Mar 12 - developerWorks - Optimizing Informix database access... Read
14 Mar 12 - BernieSpang.com - International Informix User Group set to meet in San Diego... Read
1 Mar 12 - IBM Data Management - IIUG Heads West for 2012 - Get ready for sun and sand in San Diego... Read
1 Mar 12 - IBM Data Management - Running Informix on Solid-State Drives.Speed Up Database Access... Read
26 Feb 12 - BernieSpan.com - Better results, lower cost for a broad set of new IBM clients and partners... Read
24 Feb 12 - developerWorks - Informix Warehouse Accelerator: Continuous Acceleration during Data Refresh... Read
6 Feb 12 - PRLOG - Informix port delivers unlimited database scalability for popular SaaS application ... Read
2 Feb 12 - developerWorks - Loading data with the IBM Informix TimeSeries Plug-in for Data Studio... Read
1 Feb 12 - developerWorks - 100 Tech Tips, #47: Log-in to Fix Central... Read
13 Jan 12 - MC Press online - Informix Dynamic Server Entices New Users with Free Production Edition ... Read
11 Jan 12 - Computerworld - Ecologic Analytics and Landis+Gyr -- Suitors Decide to Tie the Knot... Read
9 Jan 12 - planetIDS.com - DNS impact on Informix / Impacto do DNS no Informix... Read
8 Sep 11 - TMCnet.com - IBM Offers Database Solution to Enable Smart Meter Data Capture... Read
1 Aug 11 - IBM Data Management Magazine - IIUG user view: Happy 10th anniversary to IBM and Informix... Read
8 Jul 11 - Database Trends and Applications - Managing Time Series Data with Informix... Read
31 May 11 - Smart Grid - The meter data management pitfall utilities are overlooking... Read
27 May 11 - IBM Data Management Magazine - IIUG user view: Big data, big time ( Series data, warehouse acceleration, and 4GLs )... Read
16 May 11 - Business Wire - HiT Software Announces DBMoto for Enterprise Integration, Adds Informix. Log-based Change Data Capture... Read
21 Mar 11 - Yahoo! Finance - IBM and Cable&Wireless Worldwide Announce UK Smart Energy Cloud... Read
14 Mar 11 - MarketWatch - Fuzzy Logix and IBM Unveil In-Database Analytics for IBM Informix... Read
11 Mar 11 - InvestorPlace - It's Time to Give IBM Props: How many tech stocks are up 53% since the dot-com boom?... Read
9 Mar 11 - DBTA - Database Administration and the Goal of Diminishing Downtime... Read
2 Feb 11 - DBTAs - Informix 11.7 Flexible Grid Provides a Different Way of Looking at Database Servers... Read
27 Jan 11 - exactsolutions - Exact to Add Informix Support to Database Replay, SQL Monitoring Solutions... Read
25 Jan 11 - PR Newswire - Bank of China in the UK Works With IBM to Become a Smarter, Greener Bank... Read
12 Oct 10 - Database Trends and Applications - Informix 11.7: The Beginning of the Next Decade of IBM Informix... Read
20 Sep 10 - planetIDS.com - ITG analyst paper: Cost/Benefit case for IBM Informix as compared to Microsoft SQL Server... Read
20 Jul 10 - IBM Announcements - IBM Informix Choice Edition V11.50 helps deploy low-cost scalable and reliable solutions for Apple Macintosh and Microsoft Windows... Read
20 Jul 10 - IBM Announcements - Software withdrawal: Elite Support for Informix Ultimate-C Edition... Read
24 May 10 - eWeek Europe - IBM Supplies Database Tech For EU Smart Grid... Read
23 May 10 - SiliconIndia - IBM's smart metering system allows wise use of energy... Read
21 May 10 - CNET - IBM to help people monitor energy use... Read
20 May 10 - ebiz - IBM Teams With Hildebrand To Bring Smart Metering To Homes Across Britain... Read
19 May 10 - The New Blog Times - Misurare il consumo energetico: DEHEMS è pronto... Read
19 May 10 - ZDNet - IBM software in your home? Pact enables five-city smart meter pilot in Europe... Read
17 March 10 - ZDNet (blog) David Morgenstern - TCO: New research finds Macs in the enterprise easier, cheaper to manage than... Read
17 March 2010 - Virtualization Review - ...key components of Big Blue's platform to the commercial cloud such as its WebSphere suite of application ser vers and its DB2 and Informix databases... Read
10 February 2010 - The Wall Street Journal - International Business Machines is expanding an initiative to win over students and professors on its products. How do they lure the college crowd?... Read


End of Support Dates

IIUG on Facebook IIUG on Twitter

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum

Re: Ontape

Posted By: Jack Parker
Date: Monday, 12 November 2012, at 1:44 p.m.

In Response To: Re: Ontape (Art Kagel)

Here's a how to I did a while back, this was under Windows, but the same =
things should apply in the real world:

I want to restore a backup taken from one machine to another where the =
dbspaces are in different locations. For example - the backup image I am =
restoring has rootdbs on D:\IFMXDATA\cvprpt120\rootdbs_dat.000 the =
machine I am restoring to has D: as a DVD drive - I need to put it in =
E:\IFMXDATA\cvpdbrep1\rootdbs_dat.000.

So I have to rename the chunks from the backup to map them to my chunks =
on the way in. ontape allows you to do this either on the command line =
or in a file (since I want to repeat this in the future and there are 6 =
dbspaces I'll use a file). File looks like:

oldchunk offset newchunk offset

or

D:\IFMXDATA\cvprpt120\rootdbs_dat.000 0 =
E:\IFMXDATA\cvpdbrep1\rootdbs_dat.000 0

and so forth - each chunk remap on it's own line. I can then:

ontape -r -rename -f <filename>

Except that I get an error:

Physical restore failed - ONCONFIG ROOTPATH: =
'E:\IFMXDATA\cvp_db_cvpdbrep1\rootdbs_dat.000' differs from archive: =
'D:\IFMXDATA\cvp_db_cvprpt120\rootdbs_dat.000'

Correct ONCONFIG before restoring this archive.=20

I have to go change %INFORMIXDIR%/etc/%ONCONFIG% and change ROOTDBS to =
be D:\IFMXDATA\cvprpt120\rootdbs_dat.000 - even though I don't have such =
a drive or chunk - ontape will rename it for you later on. A little =
unclear from the doc

=20

NOTE: Database has to be in a down state before starting the restore. =
"onmode -yuk" will take it there.

During the restore, you will be asked:

Do you want to backup the current log (no)

Do you want to restore a level 1 backup (no - unless of course you =
really do have a level 1 to restore)

Do you want to restore logical logs (no)

When the restore is complete, the database will be in a quiescent state =
and will need to be taken into online mode with a "onmode -m".

Notes:
1 Case on chunk renames must match.=20
2 If you have two chunks in one file, use the offset to identify/rename =
them. Note that case must match and that offset is in KBYTES, not pages =
- so multiple the offset reported by onstat -d *2 (Linux) or 4 (Windows) =
or whatever custom size you used.

On Nov 12, 2012, at 1:30 PM, Art Kagel wrote:

> Forgot to mention, you have to set INFORMIXSERVER and ONCONFIG to =
point to=20
> the new DBSERVERNAME and the new ONCONFIG file before starting the =
restore.=20
>=20
> Art=20
>=20
> Art S. Kagel=20
> Advanced DataTools (www.advancedatatools.com)=20
> Blog: http://informix-myview.blogspot.com/=20
>=20
> Disclaimer: Please keep in mind that my own opinions are my own =
opinions=20
> and do not reflect on my employer, Advanced DataTools, the IIUG, nor =
any=20
> other organization with which I am associated either explicitly,=20
> implicitly, or by inference. Neither do those opinions reflect those =
of=20
> other individuals affiliated with any entity with which I am =
affiliated nor=20
> those of the entities themselves.=20
>=20
> On Mon, Nov 12, 2012 at 1:27 PM, Art Kagel <art.kagel@gmail.com> =
wrote:=20
>=20
>> Larry:=20
>>=20
>> See my in-line responses below:=20
>>=20
>> Art=20
>>=20
>> Art S. Kagel=20
>> Advanced DataTools (www.advancedatatools.com)=20
>> Blog: http://informix-myview.blogspot.com/=20
>>=20
>> Disclaimer: Please keep in mind that my own opinions are my own =
opinions=20
>> and do not reflect on my employer, Advanced DataTools, the IIUG, nor =
any=20
>> other organization with which I am associated either explicitly,=20
>> implicitly, or by inference. Neither do those opinions reflect those =
of=20
>> other individuals affiliated with any entity with which I am =
affiliated nor=20
>> those of the entities themselves.=20
>>=20
>> On Mon, Nov 12, 2012 at 1:16 PM, LARRY SORENSEN <lsorensen25@msn.com>=20=

>> wrote:=20
>>=20
>>> IDS 11.50.FC5 on Solaris 10=20
>>=20
>>> I thought that I heard a while back that ontape=20
>>> can be used to back up an instance, and restore the instance to a=20
>> different=20
>>> instance on the same server. Am I remembering correctly or not?=20
>>=20
>> Yes, you would do what's called a "redirected restore". You basically=20=

>> tell ontape to write each chunk to a different file/device than the =
one it=20
>> came from. Note, this will be a completely new instance. Quick and =
dirty:=20
>>=20
>> - Create a new ONCONFIG file for the restored instance and make =
entries=20
>>=20
>> for it in your sqlhosts file.=20
>>=20
>> - Change the ROOTPATH, DBSERVERNAME, DBSERVERALIASES, & HA_ALIAS if=20=

>>=20
>> they are set, to describe the new server instance.=20
>>=20
>> - Create a file mapping each chunk (including the ROOTPATH chunk) to =
its=20
>>=20
>> new location (the format is in the Backup and Restore Guide)=20
>>=20
>> - Run "ontape -r -rename -f <path to the mapping file>"=20
>>=20
>> - That's it.=20
>>=20
>> If not, can a=20
>>> database be restore from an ontape backup to a different instance on =
the=20
>>> same=20
>>> server?=20
>>=20
>> You can restore a single database or even a single table or just =
certain=20
>> filtered rows from a table from an archive to any server using the=20
>> archecker utility. See the Backup and Restore Guide for details.=20
>>=20
>> Also, I have always used a tape drive for backing up with ontape. Do=20=

>>> network drives work as well, so that an instance can be backed up to =
a=20
>>> network=20
>>> drive, and then later be archived to tape with the system backup?=20
>>=20
>> You can archive and restore to disk with ontape, yes, and the target =
can be=20
>> a networked drive or a local one. You can use either the ONCONFIG=20
>> parameter TAPEDEV or the ontape command line's -t option to specify a =
file=20
>> or a directory. If you specify a directory, then ontape will handle=20=

>> creating and renaming the files so subsequent archives do not stomp =
on the=20
>> previous one.=20
>>=20
>>> Thank you.=20
>>> Larry=20
>>>=20
>>>=20
>>>=20
>>>=20
>>=20
>>=20
> =
**************************************************************************=
*****=20
>>> Forum Note: Use "Reply" to post a response in the discussion forum.=20=

>>>=20
>>>=20
>>=20
>> --e89a8f235483f3328f04ce507415=20
>>=20
>>=20
>>=20
>>=20
> =
**************************************************************************=
*****=20
>> Forum Note: Use "Reply" to post a response in the discussion forum.=20=

>>=20
>>=20
>=20
> --f46d04479769c0887704ce507e37=20
>=20
>=20
> =
**************************************************************************=
*****=20
> Forum Note: Use "Reply" to post a response in the discussion forum.=20=

>=20

Messages In This Thread

  • RE: Ontape
    LARRY SORENSEN -- Monday, 12 November 2012, at 1:16 p.m.
    • Re: Ontape
      Fernando Nunes -- Monday, 12 November 2012, at 1:23 p.m.
    • Re: Ontape
      Jack Parker -- Monday, 12 November 2012, at 1:26 p.m.
    • Re: Ontape
      Art Kagel -- Monday, 12 November 2012, at 1:27 p.m.
      • Re: Ontape
        Art Kagel -- Monday, 12 November 2012, at 1:30 p.m.
        • RE: Ontape
          LARRY SORENSEN -- Monday, 12 November 2012, at 1:37 p.m.
          • RE: Ontape
            Peter_Logan@spartanstores.com -- Monday, 12 November 2012, at 1:48 p.m.
        • Re: Ontape
          Jack Parker -- Monday, 12 November 2012, at 1:41 p.m.
        • Re: Ontape
          Jack Parker -- Monday, 12 November 2012, at 1:44 p.m.
    • RE: Ontape
      Madison Pruet -- Monday, 12 November 2012, at 1:40 p.m.

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum is maintained by Administrator with WebBBS 5.12.