Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
EM version : v2024.11 , v2025.11.
Hello support team.
I would like to export the Enterprise Manager server-level settings (specifically notifications, logging configurations, etc.) into a JSON format to perform a diff comparison before and after the upgrade.
What I have tried: I attempted to use the following API endpoint: https://<localhost>/attunityenterprisemanager/api/v1/servers/<em-host>?action=export
The issue: The above command only seems to export the Replicate Server Settings, not the configurations for Enterprise Manager itself.
My question: Is there any way to export the QEM Server settings (Notification services, Log levels, etc.) to a JSON file?
I would appreciate any guidance or documentation on how to extract these QEM server settings.
Best regards,
Hi @iti-attunity-sup ,
Please execute the following command in the Qlik Enterprise Manager bin directory.
aemctl repository export -w -r ..\data\cfgrepo.sqlite -f export.txt
Regards,
Desmond
Hello @iti-attunity-sup ,
Yes, you can run the following command:
| aemctl repository export -w -f aemexport.json |
Please make sure to execute this command with “Run as Administrator” privileges.
Hope this helps.
Happy New Year! 🎉
John.
Thank you for the answer.
i executed the command below and it's successfully completed.
--------------------
aemctl repository export -w -f em_settings.json
Executing ExportRepositoryCommand command.
All relevant items were exported to '<path>\em_settings.json'
EnterpriseManager Control Program completed successfully.
--------------------
However the exported json doesn't have information I wanted like notifications rules and logfile management settings.
The exported JSON was as follows
----------
{
"product_name": "EnterpriseManager",
"product_version": "2025.11.0.xxx",
"created_on": "xxxx",
"objects": []
}
----------
Is there any way(options or command) to include server settings in the JSON?
Hello @iti-attunity-sup ,
There are no other options available in the QEM export command. I suggest using the Replicate export command if you need to export all definitions in JSON format.
Regards,
John.
Thanks for the tip on using Replicate export. Could you specify the exact command needed to include the EM server settings along with the standard definitions?
Hello @iti-attunity-sup ,
In Qlik Replicate export command you can export the server settings, for example:
repctl exportrepository task=Ora-to-SQL-2 include_server_settings=true
Regards,
John.
Thank you for the follow-up. I have tested the suggested repctl export command, but it did not provide the Enterprise Manager (EM) settings I require.
After running repctl exportrepository include_server_settings=true, the exported Replication_Definition.json contains an empty notifications block: "notifications": { } The EM-level notification rules were not captured in this output.
Additionally, when specifying the task name as suggested, the command failed with the following error: Cannot load replication definition. (exit status 1020500) Object type: TASK, Object name: [MY_TASK_NAME] not found. (exit status 1020500) (Note: The task is visible in the QR console and has previously run and finished successfully.)
Regarding the API, I also attempted an export via the EM API (?action=export), but the resulting data only contained Replicate server definitions and did not include the EM server settings.
Is there any other method available to capture these specific EM configurations?
Hi @iti-attunity-sup ,
If notification rules are defined in Qlik Enterprise Manager, you should use the aemctl command. The recptl command applies only to Qlik Replicate.
Regarding the task failure, please note that task names are case‑sensitive. For example,
D:\Qlik\Replicate\bin>repctl exportrepository task=Des-ORCL2-ANY include_server_settings=true
command exportrepository response:
{
"message": "Export succeeded",
"file_path": "D:\\Qlik\\Replicate\\data\\imports\\Des-ORCL2-ANY.json"
}
[exportrepository command] Succeeded
Regards,
Desmond
Thank you for the advice.
Regarding the task export error, I confirmed that case-sensitivity was not the cause. After specifying the data directory with the -d option, I was able to successfully export the Replicate task/server settings JSON.
However, the resulting JSON still does not include the Enterprise Manager (QEM) server settings (such as notification rules and log file management).
I previously attempted the aemctl command as well, but it also did not yield this information.
Could you please clarify if it is possible to export QEM server settings into a JSON format?
Regards,
Hi @iti-attunity-sup ,
Please execute the following command in the Qlik Enterprise Manager bin directory.
aemctl repository export -w -r ..\data\cfgrepo.sqlite -f export.txt
Regards,
Desmond