473,770 Members | 6,978 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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\SQLO GDIR
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 7789
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\SQLO GDIR
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******@ameri tech.net> wrote in message news:<5h******* ************@ne wssvr19.news.pr odigy.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\SQLO GDIR
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******@ameri tech.net> wrote in message news:<5h******* ************@ne wssvr19.news.pr odigy.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\SQLO GDIR
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\db2d ump.

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******@ameri tech.net> wrote in message news:<5h******* ************@ne wssvr19.news.pr odigy.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
6924
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 full restore (Force restore over existing database) does change the Collation to CI. I'm unsure as to how I can restore without changing the Collation. Any suggestions?
13
23463
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 database's status as LOADING. We are on Sql Server 2000 (8.00.818) on Windows 2000 Adv Servers. I ran dbcc on the source DB and it returned no errors. I tried the command 'restore db with recovery ' which didnot help. I get an message saying that
2
37627
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 appear that there are any connections to the database. At the suggestion of another thread, I ran sp_who2 and there are no connections to the database in question. I've been running the same restore for months and all has been well, until...
2
7818
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. I also tried to 'create' the database first then ran this command below but with the 'force restore over existing database' checked on but this failed also which is odd as well. Any ideas. This is my very first play with 2005 so it is not off to...
1
3774
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 migrated to the current release. Error "<sqlcode>" with tokens "<tokens>" is returned. Explanation: The backup image contains a previous release of the database. After the database files were restored, an attempt was made
0
3152
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
3239
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
1897
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 server following command: CREATE DATABASE dbname DEFAULT CHARACTER SET latin5 COLLATE
14
36863
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 not the ones carried over with the DB?? i.e the database is to be renamed on the new server any help much appreciated
0
9591
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
10057
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10002
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
9869
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7415
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
6676
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5312
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3970
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
3
2816
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.