473,385 Members | 1,712 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 4295
m
ch********@gmail.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.automatos.com> a écrit dans le message de news:
11**********************@i40g2000cwc.googlegroups. 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.CATN0000.20060527114855.0 01
To a database OLTPDBQ in instance db2iq, then use the command

Restore database OLTPDBP into OLTPDBQ
ch********@gmail.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
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...
0
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...
3
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...
4
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...
9
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...
2
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...
11
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...
0
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....
5
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...

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.