| |
|
If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
|
 |

03-11-08, 12:27
|
|
Registered User
|
|
Join Date: Mar 2008
Posts: 7
|
|
Backup-Restore problem
|
|
I have a server where I can't restore backups, even if they are taken at the same server (see command-lines below).
It is DB2 8, fixpack 10
Please, anyone who can help?
D:\>db2 create db xxx on d
DB20000I The CREATE DATABASE command completed successfully.
D:\>db2 backup db xxx to d:\x
Backup successful. The timestamp for this backup image is : 20080311163520
D:\>db2 restore db xxx from d:\x
SQL2570N A database cannot be restored on a platform that does not match the
platform on which the backup image was created.
D:\>
|
|

03-11-08, 12:47
|
|
Registered User
|
|
Join Date: Jan 2003
Posts: 3,575
|
|
|
|

03-11-08, 12:56
|
|
Registered User
|
|
Join Date: Mar 2008
Posts: 7
|
|
|
|
ERROR - Unable to migrate media header from image
=====================
MEDIA HEADER REACHED:
=====================
Server Database Name -- XXX
Server Database Alias -- XXX
Client Database Alias -- XXX
Timestamp -- 20080311163520
Database Partition Number -- 0
Instance -- DB2
Sequence Number -- 1
Release ID -- 900
Database Seed -- 4856D57E
DB Comment's Codepage (Volume) -- 0
DB Comment (Volume) --
DB Comment's Codepage (System) -- 0
DB Comment (System) --
Authentication Value -- 255
Backup Mode -- 0
Includes Logs -- 0
Compression -- 0
Backup Type -- 0
Backup Gran. -- 0
Status Flags -- 1
System Cats inc -- 1
Catalog Partition Number -- 0
DB Codeset -- IBM-1252
DB Territory --
LogID -- 1205249643
LogPath -- D:\DB2\NODE0000\SQL00001\SQLOGDIR\
Backup Buffer Size -- 9048064
Number of Sessions -- 1
Platform -- 5
ERROR: Failed to verify media header. Cannot continue.
|
|

03-11-08, 13:00
|
|
Registered User
|
|
Join Date: Jan 2003
Posts: 3,575
|
|
Looks like a corrupted backup image. You will need to do the backup again.
Andy
|
|

03-11-08, 13:05
|
|
Registered User
|
|
Join Date: Mar 2008
Posts: 7
|
|
This was just to display the problem. It doesnt matter how many backups I take or what database I backup, it's allways the same
|
|

03-11-08, 13:33
|
|
Registered User
|
|
Join Date: Jan 2003
Posts: 3,575
|
|
Well it looks like your backup images are getting corrupted for whatever reason. You have 2 choices:
1) upgrade to the latest FixPack, which is 16. FP10 is 2 1/2 years old. Lots of bug fixes since then.
2) open a PMR with IBM.
Andy
|
|

03-11-08, 13:47
|
|
Registered User
|
|
Join Date: Mar 2008
Posts: 7
|
|
My problem is, as you say, I'm not up to date with the fix-packs.
But, the application we have only allow us to go to fp-10, and IBM will not touch this unless we upgrade.
I have 11 other servers, runing the same application, same hardware, software, fp-levels (both DB2 and windows....), but the problem only occur here
|
|

03-11-08, 14:11
|
|
Registered User
|
|
Join Date: Jan 2003
Posts: 3,575
|
|
Does the application actually not work if DB2 is greater than FP 10? There are only bug fixes in all FPs after 10, so functionally they are all the same. If the application does not check the FP level of the DB, then you should be able to upgrade DB2. You should test this first.
If you don't upgrade, then you are going to have to figure out what is different about this one server, or wrong with it.
Andy
|
|

03-11-08, 14:20
|
|
Registered User
|
|
Join Date: Mar 2008
Posts: 7
|
|
Well, it's a hospital system, containing patient data, and if we go above fix-level 10 the manufacturer of the system will not touch the system, and if something happen then I'm really in the shit
|
|

03-11-08, 14:28
|
|
Registered User
|
|
Join Date: Jan 2003
Posts: 3,575
|
|
Then you are just going to have to figure out why this one server is corrupting the backup image. Try doing the backup by specifying some of the options.
Try putting it someplace else.
Andy
|
|

03-11-08, 14:39
|
|
Registered User
|
|
Join Date: May 2003
Location: USA
Posts: 5,196
|
|
Quote:
|
Originally Posted by gorros17
Well, it's a hospital system, containing patient data, and if we go above fix-level 10 the manufacturer of the system will not touch the system, and if something happen then I'm really in the shit
|
I don't think there is anything wrong with FP10 (related to your problem) unless your DB2 binary code has been corrupted. You could trying reinstalling FP10.
Is the D: drive a local drive, or a Windows share drive that exists on another computer?
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
|
|

03-11-08, 15:21
|
|
Registered User
|
|
Join Date: Mar 2008
Posts: 7
|
|
It is a local disk. And, I have tried doing backups to other disks, with the same result.
I am alos a little reluctant to reinstall something unless I know I can get back to where I am now. I don't want to find myself in a situation where the application stop to work, and all my backups are useless
|
|

03-18-08, 11:59
|
|
:-)
|
|
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
|
|
Are those the exact commands that you are issuing, or are you using backup compression?
|
|

03-18-08, 12:21
|
|
Registered User
|
|
Join Date: Mar 2008
Posts: 7
|
|
No, these are the exact commands. No options or extras
|
|

03-18-08, 13:48
|
|
Registered User
|
|
Join Date: Jan 2003
Posts: 3,575
|
|
Like I said earlier, try some of the options (COMPRESS, PARALLELISM, etc) to see if you can get a valid backup image. If you are still having problems, then you should open a PMR with IBM.
Andy
|
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|