473,548 Members | 2,691 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Restore database from v7.2 to v8.2

Dear all,

I'm a new beginner of DB2. I face 2 question during restore the data.

I have 2 DB2 servers on my company. Server A is running on V7.2 and
Server B is running on v8.2 (Enterprise Server). I backup a database
from Server A and restore it on Server B.

Question 1)
"SQL2542N database name is not match on the source file" error
prompted. The date and time are entered correctly during restore
command.

Question 2)
Somebody told me that V7.2 database can't restore on V8.2 directly. Is
it true? If yes, how can I get the data on Server B.

Thank you for your help.

Best Regards,

Justy

Jun 9 '06 #1
5 4309
m
ch********@gmai l.com wrote:
Dear all,

I'm a new beginner of DB2. I face 2 question during restore the data.

I have 2 DB2 servers on my company. Server A is running on V7.2 and
Server B is running on v8.2 (Enterprise Server). I backup a database
from Server A and restore it on Server B.

Question 1)
"SQL2542N database name is not match on the source file" error
prompted. The date and time are entered correctly during restore
command.

Question 2)
Somebody told me that V7.2 database can't restore on V8.2 directly. Is
it true? If yes, how can I get the data on Server B.

Thank you for your help.

Best Regards,

Justy

V7 will DEFINITELY restore to V8 - providing they are the same platform.
Windows -> Windows, Unix -> Unix. What platform are you using? Are you
trying to rename the DB?

Jun 9 '06 #2
I have restored V7.2 offline backups to V8.2 and it works like a charm.

You will have to convert your indexes to type-2 afterwards.

Just wondering ? Is there anything else that should be performed in
order to have a full complain V8.2 system, or do we only need to
convert the indexes ?

Thanks,

Dear all,

I'm a new beginner of DB2. I face 2 question during restore the data.

I have 2 DB2 servers on my company. Server A is running on V7.2 and
Server B is running on v8.2 (Enterprise Server). I backup a database
from Server A and restore it on Server B.

Question 1)
"SQL2542N database name is not match on the source file" error
prompted. The date and time are entered correctly during restore
command.

Question 2)
Somebody told me that V7.2 database can't restore on V8.2 directly. Is
it true? If yes, how can I get the data on Server B.

Thank you for your help.

Best Regards,

Justy


Jun 9 '06 #3
You don't even need to convert your indexes immediately after migrating
(which the restore v7.2 to V8.2 does).
V7.2 Type1 indexes can be converted with the V8.2 REORG command or when you
do the first reorg of the table under V8.2.

Here's the full text of your error msg.
SQL2542N No match for a database image file was found based on
the source database alias "<database-alias>" and
timestamp "<timestamp >" provided.

Explanation:

The backup image file filename consists of a database alias and a
timestamp component. A filename is constructed from the source
database alias and timestamp parameters provided in the Database
Restore call. No filename existed in the source directory that
matched based on the source database alias and timestamp
provided. If this error was received from an automatic
incremental restore then a required image was not found based on
the timestamp and location in the database history.

Either the timestamp you provided is wrong or the path you specified to
restore from is wrong
Please provide the command and the path where your image to restore is.

HTH, Pierre.

--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
"Michel Esber" <mi****@us.auto matos.com> a écrit dans le message de news:
11************* *********@i40g2 00...legr oups.com...
I have restored V7.2 offline backups to V8.2 and it works like a charm.

You will have to convert your indexes to type-2 afterwards.

Just wondering ? Is there anything else that should be performed in
order to have a full complain V8.2 system, or do we only need to
convert the indexes ?

Thanks,

Dear all,

I'm a new beginner of DB2. I face 2 question during restore the data.

I have 2 DB2 servers on my company. Server A is running on V7.2 and
Server B is running on v8.2 (Enterprise Server). I backup a database
from Server A and restore it on Server B.

Question 1)
"SQL2542N database name is not match on the source file" error
prompted. The date and time are entered correctly during restore
command.

Question 2)
Somebody told me that V7.2 database can't restore on V8.2 directly. Is
it true? If yes, how can I get the data on Server B.

Thank you for your help.

Best Regards,

Justy


Jun 10 '06 #4
Dear all,

Thank you for your help and suggestion. I have try to rename the backup
name and make sure the path of backup. And, I use command "db2ckbkp" to
check the detail information of backup image file. But the problem
didn't solve.

Once, I compared 2 different backup image from v7.2 and v8.2.
"Instance" of databases are different. V7.2 database is "DB2", V8.2
database is "DB2CTLSV". Is it the different of instance name to cause
the problem? Do you any idea?

Thanks a lot !!

Best Regards,

Justy

Jun 13 '06 #5
Instance name should not matter ...
If you want to restore the following image (of database OLTPDBP on
instance db2ip)

OLTPDBP.0.db2ip .NODE0000.CATN0 000.20060527114 855.001
To a database OLTPDBQ in instance db2iq, then use the command

Restore database OLTPDBP into OLTPDBQ
ch********@gmai l.com wrote:
Dear all,

Thank you for your help and suggestion. I have try to rename the backup
name and make sure the path of backup. And, I use command "db2ckbkp" to
check the detail information of backup image file. But the problem
didn't solve.

Once, I compared 2 different backup image from v7.2 and v8.2.
"Instance" of databases are different. V7.2 database is "DB2", V8.2
database is "DB2CTLSV". Is it the different of instance name to cause
the problem? Do you any idea?

Thanks a lot !!

Best Regards,

Justy


Jun 14 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
9099
by: Tim Morrison | last post by:
MSDE2000 I have an application in which I am running a TSQL command of BACKUP DATABASE and RESTORE DATABASE for the backup and restore commands for my application. For testing purposes, i did the following: 1) Ran a BACKUP DATABASE command to a file named C:\TEST.BAK. 2) Deleted the database completely. 3) Ran a RESTORE DATABASE on the...
0
2065
by: xo55ox | last post by:
Hi, I have been trying to set up an automated restore process from prod to backup server. First, I schedule the full database backup nightly, transfer the backup file and restore it to the database on the backup server. Meanwhile, I leave the database ready to accept transaction log from the transaction log backup at noon daily. And I...
3
6031
by: Jon Jacobs | last post by:
I attempt to back up a database on one server and restore it on my local machine. This is what the query text looks like: restore database model from Disk='c:\JQJ\mydump\model.bak' with replace I get this error:
4
3795
by: Hardy | last post by:
hi gurus, now I have to backup and restore a 8 T size db2 database. from two s85 to two 670. the partitions,tablespaces of the db should be redesigned then I plan to use redirected restore. but my concern is, such big size db, I'm afraid something unexpected will destory all the effort. Who have related experience? Can you give some advice?...
9
13962
by: GL | last post by:
I am running DB2 8.1.1 on AIX 5.1 Having a problem with a redirected restore. Once into the restore continue phase, I immediately get the following “SQL2059W A device full warning was encountered on device "TBS_IDX". Do you want to continue(c), terminate this device only(d), abort the utility(t) ? (c/d/t) t
2
4127
by: anna_cheng11 | last post by:
We do not have a DBA available, and this is a development environment, hence I was asked to do the work. I am not a DBA. I need some help to clarify my understanding of DB2 recovery and I am reading the following as well. http://publib.boulder.ibm.com/infocenter/db2help/index.jsp I have a database say DB_INV on machine A and the database...
11
13497
by: Chris | last post by:
I have searched this group for answers and tried the responses. I am trying to Use an full online backup from our production server and apply it to our test server. The Tablespaces in the productions server are on the d drive and my test server has no d drive. The restore command i am using is: RESTORE DATABASE CENTRAL FROM...
0
3134
by: Takpol | last post by:
Hello, I have several archived filegroups that have data in them partitioned based on the date. These filegroups have been removed from database after archival. For example two months ago. Meantime my production database is populating everyday. Now I would like to restore one of my old archived filegroups. In order to do that I would...
5
3221
by: HSP | last post by:
hi. i need to restore an old database. The db was backed up using a DLT drive, using 2 volumes. The content for the tapes was copied to file onto Solaris machine using rsh and dd (for backup purposes). Now, the drive is defective and can't read the tapes anymore. Server is AIX 4.3.2 and database is IBM DB2 Server (DB2 for AIX Version...
0
7518
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7954
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7467
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7805
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5367
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5085
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3497
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1932
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1054
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.