Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Restore NT 6.5 database into NT 7.0.0.13

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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 Files
    Last edited by J_o_s; 04-01-2010, 09:21 AM. Reason: Solved

    #2
    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.

    Comment


      #3
      Hello Jason,

      Thanks for your quick reply.

      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:
      [URL="file:///C:/Users/Jos/Documents/NinjaTrader%207/log/Install.xml#"][B][FONT=Courier New][COLOR=#ff0000]-[/COLOR][/FONT][/B][/URL] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]NinjaTrader[/COLOR][COLOR=#0000ff]>[/COLOR]
      [URL="file:///C:/Users/Jos/Documents/NinjaTrader%207/log/Install.xml#"][B][FONT=Courier New][COLOR=#ff0000]-[/COLOR][/FONT][/B][/URL] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]Install[/COLOR][COLOR=#0000ff]>[/COLOR]
      [URL="file:///C:/Users/Jos/Documents/NinjaTrader%207/log/Install.xml#"][B][FONT=Courier New][COLOR=#ff0000]-[/COLOR][/FONT][/B][/URL] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]Version_7_0_0_13[/COLOR][COLOR=#0000ff]>[/COLOR]
       [COLOR=#0000ff]<[/COLOR][COLOR=#990000]ClearedCache[/COLOR][COLOR=#0000ff]>[/COLOR][B]NinjaScript editor cache cleared[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]ClearedCache[/COLOR][COLOR=#0000ff]>[/COLOR] 
       
       [COLOR=#0000ff]<[/COLOR][COLOR=#990000]Date[/COLOR][COLOR=#0000ff]>[/COLOR][B]2010-04-01 14:37:14[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]Date[/COLOR][COLOR=#0000ff]>[/COLOR] 
       
       [COLOR=#0000ff]<[/COLOR][COLOR=#990000]CompiledCustomAssembly[/COLOR][COLOR=#0000ff]>[/COLOR][B]2010-04-01 14:37:15[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]CompiledCustomAssembly[/COLOR][COLOR=#0000ff]>[/COLOR] 
       
       [COLOR=#0000ff]</[/COLOR][COLOR=#990000]Version_7_0_0_13[/COLOR][COLOR=#0000ff]>[/COLOR]
       
       
       [COLOR=#0000ff]</[/COLOR][COLOR=#990000]Install[/COLOR][COLOR=#0000ff]>[/COLOR]
       
       
       [COLOR=#0000ff]</[/COLOR][COLOR=#990000]NinjaTrader[/COLOR][COLOR=#0000ff]>[/COLOR]
      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 Files

      Comment


        #4
        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.

        Comment


          #5
          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.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          628 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          359 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          105 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          562 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          568 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X