NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > Miscellaneous Support > Historical Version 7 Beta Threads > Version 7 Beta General Questions & Bug Reports

Version 7 Beta General Questions & Bug Reports Ask questions here and post bug reports.

 
 
Thread Tools Display Modes
Old 04-01-2010, 02:09 AM   #1
J_o_s
Senior Member
 
Join Date: Aug 2008
Location: Netherlands
Posts: 159
Thanks: 17
Thanked 5 times in 5 posts
Default [Solved] Restore NT 6.5 database into NT 7.0.0.13

[Solved]:
If you want to migrate NT6.5 data to NT7.0, you need to have installed both versions of NinjaTrader. NT7.0 will then give you the option to migrate your NT6.5 installed version (including the database) to NT7.0. Trying to import the data in NT7.0 through the use of a .ntbk file won't work.



----------------------------------------------------------
Hey guys,

I can't restore the NT 6.5 database into NT 7.0, beta version #13. I was hoping someone could give me some tips how they had restored their database, besides manually exporting & importing each instrument, off course.

My NinjaTrader logfile:
Code:
1-4-2010 9:47:26|2|4|Session Break (Version 7.0.0.13)
1-4-2010 9:47:26|1|4|Current license: Type=SimulationOnly State=Verified StartDate=1-1-2005 EndDate=1-12-2099 Collective2 Dtn ESignal External Provider2 Provider3 Replay Simulator Yahoo Gain Hosted InteractiveBrokers MBTrading Patsystems Provider1 Provider4 Tda TrackData TradingTechnologies AdvancedStrategyManagement AutomatedTrading BasicEntry Charting SuperDom
1-4-2010 9:47:30|1|4|Order entry hot keys disabled
1-4-2010 9:47:30|1|2|Optimized CPU performance enabled
1-4-2010 9:47:30|1|4|Automated trading disabled
My computer runs Windows 7 Home edition, 32bit, with an Intel Core Quad 2.5ghz and 4.00gb memory. I'm not running (in foreground or background) any other software at the moment I run NT 7.0 (besides the standard Windows 7 processes).

This error looks like the reported error in the topic NT7 from NT 6.5 data migration, however the suggested solution (delete install.xml in the log directory) doesn't work.

Thanks in advance for your suggestions,
Attached Images
File Type: png error.PNG (18.3 KB, 7 views)
Last edited by J_o_s; 04-01-2010 at 09:21 AM. Reason: Solved
J_o_s is offline  
Old 04-01-2010, 06:11 AM   #2
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,232
Thanks: 83
Thanked 333 times in 325 posts
Default

Hello J o s,

When I deleted the install.xml file in the log folder and I started NinjaTrader 7, I was prompted to migrate data from 6.5 to 7. Did you not experience this on your end after deleting the install.xml file?

If so, please try again. While NinjaTrader 7 is closed, please delete the (My) Documents-->NinjaTrader 7-->log-->install.xml file.

Start NinjaTrader 7 and you should get prompted to migrate your data.

Let me know if this will not work for you.
NinjaTrader_Jason is offline  
Old 04-01-2010, 07:11 AM   #3
J_o_s
Senior Member
 
Join Date: Aug 2008
Location: Netherlands
Posts: 159
Thanks: 17
Thanked 5 times in 5 posts
Default

Hello Jason,

Thanks for your quick reply.

Quote:
Originally Posted by NinjaTrader_Jason View Post
(...)
If so, please try again. While NinjaTrader 7 is closed, please delete the (My) Documents-->NinjaTrader 7-->log-->install.xml file.

Start NinjaTrader 7 and you should get prompted to migrate your data.
(..)
I tried it multple times (deleting the install.xml file and starting NinjaTrader 7.0), but I never get the promp of I would like to migrate my data. However, if I double-click the .ntbk file I would like to import, NinjaTrader does promp me (see attachment), however, importing still fails with the mentioned error message.

This is a new pc on which NinjaTrader 6.5 was never installed, could this be perhaps related to this problem? (perhaps there are dependencies between the two versions?)

I also tried to restore different backups (in case this file was corrupt), but the backups of the last 5 months generated the same error message.

For the sake of completion, this is the content of my install.xml file:
Code:
- <NinjaTrader>
- <Install>
- <Version_7_0_0_13>
 <ClearedCache>NinjaScript editor cache cleared</ClearedCache> 
 
 <Date>2010-04-01 14:37:14</Date> 
 
 <CompiledCustomAssembly>2010-04-01 14:37:15</CompiledCustomAssembly> 
 
 </Version_7_0_0_13>
 
 
 </Install>
 
 
 </NinjaTrader>
I've also attached the trace file, which looks quite alright, even though there is one 'error' message:
Code:
2010-04-01 14:37:15:638 WARNING: Session Break (Version 7.0.0.13)
I've also the Ninjatrader.db file in Document\NinjaTrader 7\db and the Install.xml file from the log directory, but this didn't give me the 'migrate data-prompt' nor did it enable me to restore the backup.

My .NET version is 4.0.30128.1, in case that could generate problems.

Manually importing some data works, so there is no problem with saving the data in the NT7 database.


Thanks in advance for any suggestions.
Attached Images
File Type: png migrate.PNG (15.6 KB, 7 views)
Attached Files
File Type: txt trace file.txt (6.8 KB, 4 views)
J_o_s is offline  
Old 04-01-2010, 08:37 AM   #4
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,232
Thanks: 83
Thanked 333 times in 325 posts
Default

Yes, you do need to have NinjaTrader 6.5 installed in order to migrate data.

I suggest to install NinjaTrader 6.5 and restore your database in 6.5. Subsequently repeat the instructions and check if you get prompted to migrate your data.
http://www.ninjatrader.com/webnew/do...g_software.htm
NinjaTrader_Jason is offline  
Old 04-01-2010, 09:16 AM   #5
J_o_s
Senior Member
 
Join Date: Aug 2008
Location: Netherlands
Posts: 159
Thanks: 17
Thanked 5 times in 5 posts
Default

Quote:
Originally Posted by NinjaTrader_Jason View Post
Yes, you do need to have NinjaTrader 6.5 installed in order to migrate data.

(..)
Excellent, that worked!

Thanks for your help and patience Jason.
J_o_s is offline  
 

Thread Tools
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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
NT 6.5 database question bluelou Miscellaneous Support 9 10-06-2009 01:40 PM
NT 6.5.1000.13 upgrade catch. xTrader1 General Programming 5 09-17-2009 07:11 AM
NT Restore to a brand new hard drive: slyng Installation and Licensing 3 08-19-2009 01:07 PM
Sharing the NT internal database between NT instances on different PCs Jonas Installation and Licensing 4 12-05-2008 01:35 PM
Ninja restore from database. RK_trader Miscellaneous Support 3 09-10-2008 02:09 PM


All times are GMT -6. The time now is 12:49 PM.