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
<package name> -a <parameter 1> ... <parameter N>
Here, <package name> is the name of the installation package (an .i686 or an .x86_64 file).
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:
Do not register the agent on the management server.
The host name or IP address of the machine where the management server is installed. The agent will be registered on this management server.
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.
The HTTP proxy server that the agent will use for backup and recovery from the cloud and for connection to the management server. Without these parameters, no proxy server will be used.
The credentials for the HTTP proxy server. Use these parameters if the server requires authentication.
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
./AcronisBackup_12.5_64-bit.x86_64 -a -i AcronisCentralizedManagementServer
./AcronisBackup_12.5_64-bit.x86_64 -a -i AcronisCentralizedManagementServer,MonitoringServer --web-server-port 6543 --ams-tcp-port 8123
./AcronisBackup_12.5_64-bit.x86_64 -a -i BackupAndRecoveryAgent --ams 10.10.1.1 --login root --password 123456
./AcronisBackup_12.5_64-bit.x86_64 -a -i BackupAndRecoveryAgent --ams 10.10.1.1 --login root --password 123456 –unit 01234567-89AB-CDEF-0123-456789ABCDEF