GBak Utility
When one deletes an instrument/instruments from QuoteManager or deletes data from an instrument, the size of the database files may stay the same. To clear obsolete data, follow these instructions:
- Close all MultiCharts products and make sure all processes are finished. See MultiCharts Processes;
- Back up your databases folder. See How to Backup User Data#Saving User Data;
- Download the archive corresponding to your version of MultiCharts:
- Unzip the archive;
- Open the extracted folder;
- DO NOT RUN the .exe file
- Run the .BAT file corresponding to your version of MultiCharts ("gbak_x32.bat" for 32-bit MultiCharts, "gbak_x64.bat" for 64-bit version);
- Open the MultiCharts installation folder (right click on the MC shortcut –> Properties –> "Shortcut" tab –> select "Open file location") and run DataUpdater.exe;
- Depending on the size of the databases a window will flash, or stay on the screen for some time, and then close automatically once the procedure is finished;
- MultiCharts is ready to work now.
The gBak is a test utility created to achieve certain goals, e.g. to transform the files from any version prior to MultiCharts 8.0 Beta 1 to be used in any higher versions than MultiCharts 8.0 (example: from MC 7.4; MC 7.2; MC 7.0; MC 6.2 and earlier to MC 8.0). After the .bat file is used, the database files can be used both in MC 32-bit and in MC 64-bit.
Database files from any 32-bit version (since MultiCharts 8.0 Beta 1) can be used in any 64-bit version (since MultiCharts 8.0 Beta 1) and vice versa without any transformation (applicable only to MultiCharts of the same revision ex. 9.1 x32 & 9.1 x64).
In some cases utility can also help to reduce the size of the database, but as it is not its main purpose, the results cannot be guaranteed.