473,842 Members | 1,603 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 4331
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
9115
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 same file (note, I did NOT recreate the database) Now I have the database back with all my data....
0
2089
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 had used different restore options to test out the transaction that was being applied. And I couldn't...
3
6047
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
3821
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? Thanks in advance:)
9
14039
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
4151
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 is backed up to tape, I am going to create a second system, say machine B with a database called...
11
13606
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 "C:\DB2Backups" TAKEN AT 20050620000000 INTO CENT0620 REDIRECT;
0
3157
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 like to backup and restore the current Primary filegroup to another server, and also restore the...
5
3245
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 2.1.2)
0
9872
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9715
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10945
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9453
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7858
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5885
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4499
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
2
4089
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3145
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.