Write Editable Policy Settings to a File
You can write the current editable policy settings for the local license server to a file in JSON format. This feature provides not only a backup of the settings for reference but also the basis for an input file you can use to apply multiple overrides to the settings (see the next section Override Policy Settings). You can write all editable settings or a specific category of editable settings to a file.
To write all editable policy settings to a file
Enter a command similar to this:
flexnetlsadmin -server licenseServer_baseURL –config -filter none -o allsettings.json
To write all editable settings, the value for the -filter option must be none; the value for the -o option is the name of the file to which to write the current settings (in this example, allsettings.json).
To write a category of editable policy settings to a file
Enter a command using the desired -filter category. For example, to write policy settings related to synchronization with the back office, use the sync category:
flexnetlsadmin -server licenseServer_baseURL –config -filter capability -o capabilitly_settings.json
The file contents look similar to this:
{"lfs.capability.repeats":"1d"}
{"lfs.capability.retryCount":"3"}
{"lfs.syncTo.retryRepeats":"30s"}
See Summary of flexnetlsadmin Commands for a description of the -filter categories.