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 compatible for Linux DB2 and Windows

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-24-06, 06:15
petitof petitof is offline
Registered User
 
Join Date: Apr 2004
Posts: 54
Smile Backup compatible for Linux DB2 and Windows

Hi!!!
How can I do a compatible backup fro Windows and Linux?
Windows backup is different from Linux so I can't restore a schema..

The statement that I use is:

CONNECT TO schema
QUIESCE DATABASE IMMEDIATE FORCE CONNECTIONS
CONNECT RESET
BACKUP DATABASE svitorow TO "/usr1/ldasdb/db2/backup/schema" WITH 1 BUFFERS BUFFER 1024 PARALLELISM 1 COMPRESS WITHOUT PROMPTING
CONNECT TO schema
UNQUIESCE DATABASE
CONNECT RESET

But the result in Linux is one file (with timestamp).....

I would to use windows backup for restore in linux schema, any idea?
Reply With Quote
  #2 (permalink)  
Old 03-24-06, 06:36
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Windows, Linux, and UNIX DB2 backups are not compatible with eachother. The only compatible backups are within UNIX (AIX, Solaris, and HP/UX).

You will have to do db2move (which is just a way of automating exports and loads of all the data).
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
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