Knowledgebase Home | Favorites | Login Knowledgebase Home | Favorites | Login
Search the Knowledgebase Browse by Category or Article ID
How to backup data from License Statistics
User Opinions (8 votes)
87% thumbs up 12% thumbs down

How would you rate this answer?
Helpful
Not helpful
Article ID: 210

Last Updated: 11th October 2010 02:01:39 am

Important: Be sure to make a backup before uninstalling License Statistics. All files will be deleted from the License Statistics installation directory during the uninstallation.

To perform a backup of the License Statistics database:

  1. You must have License Statistics running on an embedded MySQL database with a default password. If your setup is different, edit the mysql_backup batch script with your custom settings.

  2. Stop License Statistics.

  3. Use the mysql_start_backup_stop batch script, located in the mysql directory under the License Statistics installation directory.

    This script will create a dump (xformation_licstat.dump) of your database. Be sure to place the dump in a safe location. Keep the dump as a backup.

  4. Copy your License Statistics configuration file (xflicstat.cfg), license file (license.lic), 3rd party utilities (for example, lmutil.exe) to a safe location as a part of the backup. You might copy the .db database files (in the License Statistics db directory) as well. The .db database files are used for xfcustomreport utility only and can be ignored if the utility is not used.
To restore the data:
  1. Stop License Statistics.

  2. If the database already exists, drop it before attempting the restore (to drop it execute mysql_start.bat, and then mysql_clean.bat, finally mysql_stop.bat).

  3. Put the saved database dump in the mysql directory under the License Statistics installation directory.

  4. Use the mysql_start_restore_stop batch script to restore the data.

  5. Copy your License Statistics configuration file (xflicstat.cfg), license file (license.lic), 3rd party utilities (for example, lmutil.exe) back into the License Statistics directory.
Related Content
Related Articles
Attachments
No attachments were found.
All Content Copyright © 2002-2012 X-Formation. All Rights Reserved.