The information on this page refers to License Statistics v6.20 and newer, which added support for backing up and restoring a zip file archive of the database, and added a "–force" flag to storage restore and storage apply commands. If you are using an earlier version, please refer to the documentation for earlier versions. |
The License Statistics CLI (Command Line Interface) can be used for administration operations such as storage, license management, etc. The CLI is included in your License Statistics installation in the main installation directory.
For Linux: xflicstat-cli
For Windows: xflicstat-cli.exe
Open the terminal using escalated permissions (Administrator or root privileges).
The CLI commands are described below.
Command | Command Options | Description |
---|---|---|
storage | backup <writeTo> | Creates a data backup
|
restore <readFrom> | Restores a data backup from the database dump file and from the zip archive, if one was created using the "–compress" flag with the storage backup command
| |
clean | Removes data
| |
apply <readFrom> | Runs a custom SQL script delivered by X-Formation Support Team
| |
license | import <licenseFile> | Imports the license from the specified file
|
activate <activationKey> | Activates the license remotely using the specified activation key
| |
createSupportFile | <path> | Creates a support file in the specified path, or if the path is not specified, in the current directory |
status | Returns the server status | |
resetAdminPassword | Resets the admin account password to the default "admin" value | |
version | Returns the server version |