Search the Knowledgebase |
Browse by Category or Article ID |
|
|
|
|
|
| How to backup data from License Statistics |
| User Opinions (8 votes) |
87%
12%
|
|
Thank you for rating this answer.
|
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:
- 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.
- Stop License Statistics.
- 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.
- 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:
- Stop License Statistics.
- 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).
- Put the saved database dump in the mysql directory under the License Statistics installation directory.
- Use the mysql_start_restore_stop batch script to restore the data.
- 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.
|
| Attachments |
|
No attachments were found.
|