How to Move MultiCharts Database, Studies and Logs from C Drive (Versions Prior to 8.7)

From MultiCharts
Revision as of 13:33, 21 May 2014 by Yankee (talk | contribs)
Jump to navigation Jump to search

When installing MultiCharts, one can specify an installation folder location different from the default one. However, the most space that is used by MultiCharts is filled with MultiCharts database, log files and studies. By default everything mentioned is stored on the C drive. There is a way to move the files and folders to a different hard drive.

Database files

Before starting, it is recommended to backup the database (see How to Backup User Data). The first step is to copy the files themselves:

Note: See How to Reduce Database Size to fill less space on another drive before moving the database files.
  1. Click Windows Start button.
  2. Select Run.
  3. For Windows Vista/Windows 7/Windows 8 paste the following command: %allusersprofile%\TS Support\MultiCharts ;
    Note:
    For 64 bit Windows the path to MultiCharts 64 bit database is %allusersprofile%\TS Support\MultiCharts64;
    For 64 bit Windows the path to MultiCharts 32 bit database is %allusersprofile%\TS Support\MultiCharts;
    For 64 bit Windows the path to MultiCharts .NET 64 bit database is %allusersprofile%\TS Support\MultiCharts .Net64;
    For 64 bit Windows the path to MultiCharts .NET 32 bit database is %allusersprofile%\TS Support\MultiCharts .Net
    For Windows XP paste the following command: %allusersprofile%\Application Data\TS Support\MultiCharts
  4. Press Enter.
  5. In the popped up window make a copy of the Database folder with all its contents.
  6. Paste the copy of the database to new location.

The second step is to change the registry key:

  1. Click Windows Start button.
  2. Select Run.
  3. Type regedit.
  4. Press Enter.
  5. Find the Path registry key
    On 64 bit Windows the path to MultiCharts 64 bit databases key is HKEY_LOCAL_MACHINE\SOFTWARE\TS Support\MultiCharts\Databases\Portfolio
    On 64 bit Windows the path to MultiCharts 32 bit databases key is HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\TS Support\MultiCharts\Databases\Portfolio
  6. Change the path to new location of your database files.
  7. Find the Path and CachePath registry keys
    On 64 bit Windows the path to MultiCharts 64 bit key is HKEY_LOCAL_MACHINE\SOFTWARE\TS Support\MultiCharts\Databases\Storage
    On 64 bit Windows the path to MultiCharts 32 bit key is HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\TS Support\MultiCharts\Databases\Storage
  8. Change the paths to new location of your database files.
  9. Find the DictionaryPath registry key
    On 64 bit Windows the path to MultiCharts 64 bit databases key is HKEY_LOCAL_MACHINE\SOFTWARE\TS Support\MultiCharts\Databases\Portfolio
    On 64 bit Windows the path to MultiCharts 32 bit databases key is HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\TS Support\MultiCharts\Databases\Portfolio
  10. Change the path to new location of your Dictionary.csv file.
Note:For example new location of the "Dictionary.csv" file is "E:\new_location\". "DictionaryPath" key value will be "E:\new_location\Dictionary.csv"

Studies

Before starting, it is recommended to backup the studies (see How to Backup User Data). The first step is to copy the files themselves:

  1. Click Windows Start button.
  2. Select Run.
  3. For Windows Vista/Windows 7/Windows 8 paste the following command: %allusersprofile%\TS Support\MultiCharts\StudyServer;
    Note:
    For 64 bit Windows the path to MultiCharts 64 bit studies is %allusersprofile%\TS Support\MultiCharts64\StudyServer;
    For 64 bit Windows the path to MultiCharts 32 bit studies is %allusersprofile%\TS Support\MultiCharts\StudyServer;

    For Windows XP paste the following command: %allusersprofile%\Application Data\TS Support\MultiCharts\StudyServer
  4. Press Enter.
  5. In the popped up window make a copy of the Studies folder with all its contents.
  6. Paste the copy of the Studies folder to new location.

The second step is to change the registry key:

  1. Click Windows Start button.
  2. Select Run.
  3. Type regedit.
  4. Press Enter.
  5. Find the StudiesPath registry key in HKEY_LOCAL_MACHINE\SOFTWARE\TS Support\MultiCharts\
    Note:
    For 64 bit Windows the path to MultiCharts 64 bit studies is HKEY_LOCAL_MACHINE\SOFTWARE\TS Support\MultiCharts64;
    For 64 bit Windows the path to MultiCharts 32 bit studies is HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\TS Support\MultiCharts;
  6. If the key name "StudiesPath" is missing - manually create it.
  7. Change the path to new location of your study files.
Note:For example new location of the "Studies" folder is "E:\new_location\". "StudiesPath" key value will be "E:\new_location\"

Log files

There is no need to backup your logs unless the file contain information regarding an issue (see MultiCharts Logs). To change the logs folder location:

  1. Click Windows Start button.
  2. Select Run.
  3. Type regedit.
  4. Press Enter.
  5. Find the BugSlayer\Log Directory in HKEY_CURRENT_USER\Software\TS Support\BugSlayer
  6. Change the path to logs folder location.