473,394 Members | 1,701 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,394 software developers and data experts.

restore database to another server failed

Hi Everyone

NEW USER Q.
I am trying to restore a database backup image to another machine.
Both machines are installed with same DB2 7.2 installation package.

Version: 7, Release: 2, Modification: 5, Service Level: WR21294
Querying the system...
Windows 2000 Version

After restoring and rollforwarding to point in time which are both
successfully, I have this error message when tring to connect
database:

SQL1091C The release number of the database is not valid.
SQLSTATE=08004

My process for restore is this:
1. Copy over backup image and all transaction logs to another machine

on this second machine
2. restore:
db2 RESTORE DATABASE KOUKIA USER db2admin USiNG password FROM
d:\\\\db2bkup TAKEN AT 20040920225100 NEWLOGPATH d:\db2bkup\SQLOGDIR
WITH 2 BUFFERS BUFFER 1024 WITHOUT PROMPTING

3.rollforward:
db2 ROLLFORWARD DATABASE KOUKIA USER db2admin USiNG password TO
2004-09-20-23.00.00

4. Stop rollforward pending status
db2 ROLLFORWARD DATABASE KOUKIA USER db2admin USiNG password complete
On the first machine, I set up online backup.

HELP !

Regards

Andy J
Nov 12 '05 #1
4 7750
Did you check that BOTH systems are at the same service level?

Phil Sherman
Andy J wrote:
Hi Everyone

NEW USER Q.
I am trying to restore a database backup image to another machine.
Both machines are installed with same DB2 7.2 installation package.

Version: 7, Release: 2, Modification: 5, Service Level: WR21294
Querying the system...
Windows 2000 Version

After restoring and rollforwarding to point in time which are both
successfully, I have this error message when tring to connect
database:

SQL1091C The release number of the database is not valid.
SQLSTATE=08004

My process for restore is this:
1. Copy over backup image and all transaction logs to another machine

on this second machine
2. restore:
db2 RESTORE DATABASE KOUKIA USER db2admin USiNG password FROM
d:\\\\db2bkup TAKEN AT 20040920225100 NEWLOGPATH d:\db2bkup\SQLOGDIR
WITH 2 BUFFERS BUFFER 1024 WITHOUT PROMPTING

3.rollforward:
db2 ROLLFORWARD DATABASE KOUKIA USER db2admin USiNG password TO
2004-09-20-23.00.00

4. Stop rollforward pending status
db2 ROLLFORWARD DATABASE KOUKIA USER db2admin USiNG password complete
On the first machine, I set up online backup.

HELP !

Regards

Andy J


Nov 12 '05 #2
HI Phlilip

From db2.log , both servers are at Service Level: WR21294 as show below.
Version: 7, Release: 2, Modification: 5, Service Level: WR21294
Querying the system...
Windows 2000 Version
Regards
Andy

Philip Sherman <ps******@ameritech.net> wrote in message news:<5h*******************@newssvr19.news.prodigy .com>...
Did you check that BOTH systems are at the same service level?

Phil Sherman
Andy J wrote:
Hi Everyone

NEW USER Q.
I am trying to restore a database backup image to another machine.
Both machines are installed with same DB2 7.2 installation package.

Version: 7, Release: 2, Modification: 5, Service Level: WR21294
Querying the system...
Windows 2000 Version

After restoring and rollforwarding to point in time which are both
successfully, I have this error message when tring to connect
database:

SQL1091C The release number of the database is not valid.
SQLSTATE=08004

My process for restore is this:
1. Copy over backup image and all transaction logs to another machine

on this second machine
2. restore:
db2 RESTORE DATABASE KOUKIA USER db2admin USiNG password FROM
d:\\\\db2bkup TAKEN AT 20040920225100 NEWLOGPATH d:\db2bkup\SQLOGDIR
WITH 2 BUFFERS BUFFER 1024 WITHOUT PROMPTING

3.rollforward:
db2 ROLLFORWARD DATABASE KOUKIA USER db2admin USiNG password TO
2004-09-20-23.00.00

4. Stop rollforward pending status
db2 ROLLFORWARD DATABASE KOUKIA USER db2admin USiNG password complete
On the first machine, I set up online backup.

HELP !

Regards

Andy J

Nov 12 '05 #3
Hi Philip

After I upgrade my second machine to Version: 7, Release: 2,
Modification: 12, Service Level: WR21337
Querying the system...
Windows 2000 Version

Everything is fine.

So I think there may be a bug in Version: 7, Release: 2,
Modification: 5, Service Level: WR21294
Windows 2000 Version

Regards

Andy
Philip Sherman <ps******@ameritech.net> wrote in message news:<5h*******************@newssvr19.news.prodigy .com>...
Did you check that BOTH systems are at the same service level?

Phil Sherman
Andy J wrote:
Hi Everyone

NEW USER Q.
I am trying to restore a database backup image to another machine.
Both machines are installed with same DB2 7.2 installation package.

Version: 7, Release: 2, Modification: 5, Service Level: WR21294
Querying the system...
Windows 2000 Version

After restoring and rollforwarding to point in time which are both
successfully, I have this error message when tring to connect
database:

SQL1091C The release number of the database is not valid.
SQLSTATE=08004

My process for restore is this:
1. Copy over backup image and all transaction logs to another machine

on this second machine
2. restore:
db2 RESTORE DATABASE KOUKIA USER db2admin USiNG password FROM
d:\\\\db2bkup TAKEN AT 20040920225100 NEWLOGPATH d:\db2bkup\SQLOGDIR
WITH 2 BUFFERS BUFFER 1024 WITHOUT PROMPTING

3.rollforward:
db2 ROLLFORWARD DATABASE KOUKIA USER db2admin USiNG password TO
2004-09-20-23.00.00

4. Stop rollforward pending status
db2 ROLLFORWARD DATABASE KOUKIA USER db2admin USiNG password complete
On the first machine, I set up online backup.

HELP !

Regards

Andy J

Nov 12 '05 #4
Verify that db2iupdt was run against both instances before trying the
backup. I've seen a number of updates where that step wasn't performed
against all instances. If you are running the administration server;
verify that its update was also run.

The explanation for this error also indicates that the service level is
also stored in the database catalog which would be moved with the
backup. Check the readme file for the last fixpack installed and verify
that all of the installation steps have been performed.

You made no mention of using a redirected restore so I assume that your
two systems use identical disk layouts. Use of online backup also means
that you should be moving the appropriate log files to the new system.
Since rollforward appeared to work; I assume you did this.

Check the db2diag.log file to see if there is additional information
available about the error. You should find it in ...\sqllib\db2dump.

If you still can't figure anything out; try the following:
1. Create a new database.
2. Take an offline backup of the new database and restore it to your
other system.
3. Try to access the restored database's catalog tables.
You can do this using both systems as the starting point. Seeing what
works and doesn't work will help you isolate where the problem lies.

Phil Sherman
Andy J wrote:
HI Phlilip

From db2.log , both servers are at Service Level: WR21294 as show below.
Version: 7, Release: 2, Modification: 5, Service Level: WR21294
Querying the system...
Windows 2000 Version
Regards
Andy

Philip Sherman <ps******@ameritech.net> wrote in message news:<5h*******************@newssvr19.news.prodigy .com>...
Did you check that BOTH systems are at the same service level?

Phil Sherman


Nov 12 '05 #5

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

Similar topics

2
by: Sue Swanson | last post by:
Yesterday I received a response to my CI/CS Collation problem and the recommendation was to try and restore a CI Collation database to a CS Collation database. After creating a blank CS database a...
13
by: | last post by:
Hi I am trying to copy a 20 GB database from server 1 to 2. I took a full backup, copied to server2 and restored ( ready for use) using EM. After the message restore completed, I see the...
2
by: jbmccluskey | last post by:
I'm a newbie so please be gentle. In attempting to run a restore I get the following error message: "Exclusive access could not be obtained because the database is in use." However, it doesn't...
2
by: DMAC | last post by:
The following failed in EM (or whatever it is called now management studio I think) and I scripted it out and ran it in a query window to get more info. This works fine in SQL 2000 but not in 2005....
1
by: Mike | last post by:
Need some help please. Trying to restore a 7.2 DB from one machine to a newer machine running 8.2. Upon restoring I get: SQL2519N The database was restored, but the restored database was not...
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: newman | last post by:
Dear all, I have mysql 4.1.11 on my current server, i need my database restore another server.. (another server mysql version is 4.1.11 same.) And now... I just created new my database to new...
14
by: blueboy | last post by:
Hi, I am planning to automate a nighty restore of a DB on another server can someone point me in the right direction with the SQL script to modify the logical file names to the correct path and...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: 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
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,...
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
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...
0
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...
0
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...

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.