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 > Setting the NEWLOGPATh

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-23-04, 11:19
bmujeeb bmujeeb is offline
Registered User
 
Join Date: Mar 2004
Posts: 448
Setting the NEWLOGPATh

Environment db2 ver8 ese on Solaris.

We are moving db2 ver8 fixpak 5 from v440 to v880.

Everything is same, but when I tried to change my NEWLOGPATH to the new path , The db2 automatically appending the NODE0000 to its path.
My new server are in rollforward state.
My old server is still in use, but its path is not showing any NODE0000 to its path.
How can I change the NEWLOGPATH same as my old server(with no NODE0000 appended)

My databases are not partitioned also , my db2nodes.cfg , contains only 1 line.

regards & thanks

Mujeeb


regards & thanks
Reply With Quote
  #2 (permalink)  
Old 12-28-04, 16:29
RonD RonD is offline
Registered User
 
Join Date: Aug 2004
Posts: 33
When you do the restore command you can specify the new log path, but you must insure that the path is already created in the file structure.

example
RESTORE DATABASE databasename USER user id from e:\data\db2\backups taken at 20040904124615 TO F INTO new database name NEWLOGPATH 'path where you want the new logs to go' REDIRECT without rolling forward;
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