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 > backup - restore on cross platforms

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-29-09, 09:56
asish2a asish2a is offline
Registered User
 
Join Date: Mar 2009
Posts: 10
backup - restore on cross platforms

Hi guys,

I just wanted to know whether we can take a backup in Windows and then restore the image in Linux.
Windows XP with DB2 V 8.2
Linux with DB2 V9.1

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 10-29-09, 10:53
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
No, you can't. Use db2look and db2move.
Reply With Quote
  #3 (permalink)  
Old 10-29-09, 12:48
asish2a asish2a is offline
Registered User
 
Join Date: Mar 2009
Posts: 10
thanks ...Nick.
Reply With Quote
  #4 (permalink)  
Old 10-29-09, 16:45
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Have a look at the manual for the BACKUP and RESTORE commands. It describes which combinations are possible. (As Nick says, your's isn't.)
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #5 (permalink)  
Old 10-30-09, 04:58
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
Quote:
Originally Posted by n_i View Post
No, you can't. Use db2look and db2move.
Yes we can.
Make an offline non-compressed backup on windows and do a redirected restore on linux. Should work if they both use the same CPU architecture.
Reply With Quote
  #6 (permalink)  
Old 10-30-09, 06:06
rahul_s80 rahul_s80 is offline
Registered User
 
Join Date: Jul 2006
Location: Pune , India
Posts: 433
Have you yourself tested this up ....as i have read in a number of articles about db2look/move approach for this case.

Backup and restore operations between different operating systems and hardware platforms
__________________
Rahul Singh
Certified DB2 9 DBA / Application Developer
Reply With Quote
  #7 (permalink)  
Old 10-30-09, 06:36
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
No, you can't. Restoring a backup taken on DB2 V8 for Windows on a Linux V9.1 system won't work because DB2 V9.1 doesn't support that: Backup and restore operations between different operating systems and hardware platforms And this hasn't changed yet in more recent DB2 versions as Rahul mentioned.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
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