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.

 
Go Back  dBforums > Database Server Software > DB2 > Error while importing a database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-05-07, 07:34
vidlaks vidlaks is offline
Registered User
 
Join Date: Aug 2005
Posts: 2
Error while importing a database

Hi
I am using the following command to perform an import on AIX:
db2=> restore database xyz from /db2_work taken at 20070213183229 into xyz with 2 buffers buffer 1024 redirect without rolling forward

I am getting the following error:
SQL2570N A database cannot be restored on a platform that does not match the platform on which the backup image was created

The backup is taken from db28.1fp11 and aix5.3 and restored on the same configuration. Pls. let me know some suggestions to get rid of this

Thanks for all your help
Reply With Quote
  #2 (permalink)  
Old 03-05-07, 10:37
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
I would run db2ckbkp to validate the backup image. Also, set DIAGLEVEL to 4 and see if there are any errors in db2diag.log
Reply With Quote
  #3 (permalink)  
Old 03-08-07, 08:19
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
RESTORE should be used to restore a database and not to import data. Are you sure you are using the right command?
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #4 (permalink)  
Old 03-13-07, 02:04
vidlaks vidlaks is offline
Registered User
 
Join Date: Aug 2005
Posts: 2
Hi
Thanks for all the suggestions. When I use the db2ckbkp I am getting the following message:
[1] Buffers processed: #WARNING: Unable to decompress image from different platform.

Any suggestions please
Reply With Quote
  #5 (permalink)  
Old 03-13-07, 03:05
rahul_s80 rahul_s80 is offline
Registered User
 
Join Date: Jul 2006
Location: Pune , India
Posts: 433
its because u r trying to restore image to a DB which is on a different platform(OS) .
Also check DBM level of both the machines
__________________
Rahul Singh
Certified DB2 9 DBA / Application Developer
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On