You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »


The information on this page refers to License Statistics v6.18 and newer, which introduced the CLI tool. This tool replaces the usage of scripts such as mysql_*, create_support_file, etc. 

The License Statistics CLI (Command Line Interface) tool can be used for administration operations such as storage, license management, etc. The CLI tool is included in your License Statistics installation in the main installation directory.

For Linux: xflicstat-cli

For Windows: xflicstat-cli.exe

The CLI tool should always be used with Administrator or root privileges.

When you start the CLI tool, a command line window appears:

The CLI tool commands are described below.

CommandCommand OptionsDescription
storage

backup <writeTo>

Creates a data backup

  • License Statistics must be stopped before this operation can be executed

restore <readFrom>

Restores a data backup

  • Requires "--confirm" flag for safety
  • License Statistics must be stopped before this operation can be executed

clean

Removes data

  • Requires "--confirm" flag for safety
  • License Statistics must be stopped before this operation can be executed
licenseimport <licenseFile>

Imports the license from the specified file

  • License Statistics must be stopped before this operation can be executed

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



  • No labels