FireDaemon Pro services can be exported to or imported from XML service definition files via the command line. In terminal-based or scripted administrative scenarios this is a useful alternative to the GUI-based export/import function.


Single or multiple services can be exported or imported.


For full details of all command-line options, see FireDaemon Pro Command Line Interface.

Note: The command prompt must be run with Administrator rights.

Exporting a Selected Service

The selected service export can export by service name or tag. Use --matching to swap to exporting all services in a specific tag, such as 

export test "C:\Users\User\Documents" --matching tag


The following example shows a specific service import.


Exporting All Services

The export-all command will export all FireDaemon Services to a selected file path.


Importing a Service Definition File for a Specific Service

Service definition XML can also be dynamically generated and piped in (via stdin) and piped out (via stdout). Files must be UTF-8 encoded. For example, to import / install via stdin:

install "C:\Users\User\Documents\service.xml

For example, to export via stdout:

firedaemon.exe export ServiceName ""

The following screenshot shows an uninstall and reinstall of a service and checks the status to show it is up and running.


Importing Multiple Service Definition Files for All Services

Multiple service definitions can be imported at one time. A filemask can be used to select from files in a folder, as shown in the example below.