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 > Restore

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-10-04, 09:41
philio philio is offline
Registered User
 
Join Date: Nov 2003
Posts: 68
Restore

I have a v6 windows db2 backup file and i want to restore it on a v7 windows.
I do the followings actions :
create database from backup
and when i launch the job i have the following error SQL2542N
Reply With Quote
  #2 (permalink)  
Old 12-10-04, 09:50
nitingm nitingm is offline
Registered User
 
Join Date: Jul 2003
Location: Austin, TX, USA
Posts: 278
Restore It.

Hi.

Please use the restore command to do the same. It will help you. You might have to use the redirect option and set the tablespace containers path to their new locations if you are using DMS containers.

Please refer to the Data Movement Utilities Guide and Reference for more help.
__________________
HTH

Nitin

Ask the experienced rather than the learned
Reply With Quote
  #3 (permalink)  
Old 12-10-04, 09:58
J Petruk J Petruk is offline
Registered User
 
Join Date: Mar 2004
Location: Toronto, ON, Canada
Posts: 513
Quote:
Originally Posted by philio
I have a v6 windows db2 backup file and i want to restore it on a v7 windows.
I do the followings actions :
create database from backup
and when i launch the job i have the following error SQL2542N
DB2 backup images on Windows are a little funky... when you select where the backup image is, make sure you point to the top level directory.

Ie: if your backup is something like this:
C:\BLAH\SAMPLE.0\DB2\NODE0000\... etc

Point your RESTORE to C:\BLAH

Not the actual file image.
__________________
--
Jonathan Petruk
DB2 Database Consultant
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