Unattended installation or uninstallation in Linux

This section describes how to install or uninstall Acronis Backup in the unattended mode on a machine running Linux, by using the command line.

To install or uninstall the product

  1. Open Terminal.
  2. Run the following command:

    <package name> -a <parameter 1> ... <parameter N>

    Here, <package name> is the name of the installation package (an .i686 or an .x86_64 file).

  3. [Only when installing Agent for Linux] If UEFI Secure Boot is enabled on the machine, you are informed that you need to restart the system after the installation. Be sure to remember what password (the one of the root user or "acronis") should be used. During the system restart, opt for MOK (Machine Owner Key) management, choose Enroll MOK, and then enroll the key by using the recommended password.

If you enable UEFI Secure Boot after the agent installation, repeat the installation including step 3. Otherwise, backups will fail.

Installation parameters

Common parameters

{-i |--id=}<list of components>

The components to be installed, separated by commas without space characters.

The following components are available for installation:

Component

Component description

AcronisCentralizedManagementServer

Management Server

BackupAndRecoveryAgent

Agent for Linux

BackupAndRecoveryBootableComponents

Bootable Media Builder

MonitoringServer

Monitoring Service

Without this parameter, all of the above components will be installed.

--language=<language ID>

The product language. Available values are as follows: en, en_GB, cs, da, de, es_ES, fr, ko, it, hu, nl, ja, pl, pt, pt_BR, ru, tr, zh, zh_TW.

{-d|--debug}

If the parameter is specified, the installation log is written in the verbose mode. The log is located in the file /var/log/trueimage-setup.log.

{-t|--strict}

If the parameter is specified, any warning that occurs during the installation results in the installation failure. Without this parameter, the installation completes successfully even in the case of warnings.

{-n|--nodeps}

If the parameter is specified, absence of required Linux packages will be ignored during the installation.

Management server installation parameters

{-W |--web-server-port=}<port number>

The port that will be used by a web browser to access the management server. By default, 9877.

--ams-tcp-port=<port number>

The port that will be used for communication between the product components. By default, 7780.

Agent installation parameters

Specify one of the following parameters:

If you install the agent and the management server within one command, the agent will be registered on this management server regardless of the -C parameter.

If anonymous registration on the management server is disabled, you must specify either the token parameter, or the login and password parameters.

--token=<token>

The registration token that was generated in the backup console as described in Deploying agents through Group Policy.

{-g |--login=}<user name> and {-w |--password=}<password>

Credentials of a management server administrator.

--unit=<unit ID>

The unit within the organization. The agent will be added to this unit.

To learn a unit ID, in the backup console, click Settings > Administrators, select the unit, and click Details.

Without this parameter, the agent will be added to the organization.

--reg-transport={https|https-ca-system|https-ca-bundle|https-pinned-public-key}

The method of the management server certificate check during the registration. Check the certificate if you want to verify the authenticity of the management server to prevent MITM attacks.

If the value is https or the parameter is not specified, the certificate check is not performed, but the registration traffic remains encrypted. If the value is not https, the check uses the system CA, or the CA bundle delivered with the product or the pinned public key, correspondingly.

--reg-transport-pinned-public-key=<public key value>

The pinned public key value. This parameter should be specified together or instead of the --reg-transport=https-pinned-public-key parameter.

Uninstallation parameters

{-u|--uninstall}

Uninstalls the product.

--purge

Removes the product's logs, tasks, and configuration settings.

Information parameters

{-?|--help}

Shows the description of parameters.

--usage

Shows a brief description of the command usage.

{-v|--version}

Shows the installation package version.

--product-info

Shows the product name and the installation package version.

Examples