61525: Acronis Cyber Cloud: unattended installation

use Google Translate

This article describes unattended installation of Acronis Cyber Cloud 7.7 and later versions.

Windows components of Acronis Cyber Cloud can be installed or updated using Windows Installer via Group Policy with a transform file or with parameters provided directly in the installation script.

Linux components also allow installation in unattended mode.

Windows

Create the .mst transform and extract the installation package

  1. Download "All agents installer"
  2. Click Create .mst and .msi files for unattended installation.
  3. Specify registration info:
    • registration token
      • token can be generated from the Backup Console -> Add device
    • or login/password
  4. Customize installation options (if needed)
  5. Specify folder where to extract components, 
  6. Click Generate. The necessary files will be extracted, the mst transform file will be created.
  7. These files are ready to be installed via Group Policy (GP) or in unattended mode w/o GP.

Even if you don’t use an .mst-file during installation, you have to extract installation files by using the Create .mst and .msi files for unattended installation option of the setup program. Select required components to extract their .cab-files from the installer. If unsure which components to select, select all components to extract all .cab-files from the installer.

These files are ready to be installed through Group Policy or using Windows Installer (msiexec.exe) in command line, as described in this article.

Install using Windows Installer (msiexec.exe) and .mst transform

All the .msi and .cab files required for installation must be located in the same directory.
  1. Open Command Prompt.
  2. Issue:
    msiexec /i <package.msi> TRANSFORMS=<file.mst>

Where:

    • /i  - Installs or configures a product.
    • package.msi  - Specifies the Windows Installer package file.
    • TRANSFORMS - Property that is used to specify what transform (.mst) files should be applied to the package.
    • file.mst - List of paths separated by semicolons.

Example:
msiexec /i BackupAgent.msi TRANSFORMS=BackupAgent.msi.mst

 

Install using Windows Installer (msiexec.exe) and specify parameters manually

All the .msi and .cab files required for installation must be located in the same directory.

It is also possible to install without MST transform file and specify parameters manually:

  1. Open Command Prompt.
  2. Issue:
    msiexec /i <package.msi> /l*v <LogFilePath> <PARAMETER 1>=<value 1> ... <PARAMETER N>=<value n>

Where:

    • /i installs or configures the product
    • <package.msi> is the Windows Installer package file
    • /l*v enables verbose logging and specifies the log location
    • <PARAMETER 1>, etc. are the installation parameters, see the list below

Installation Parameters

  • TARGETDIR=<path> - directory where the product will be installed
  • REBOOT=Really Suppress - forbid reboot after the installation
  • RAIN_ADDRESS - address for registration in the Cloud, https://cloud.acronis.com in most cases
  • TOKEN_FOR_RAIN - token for registration on Account Server

  • LOGIN_FOR_RAIN - login name for registration in the Cloud

  • PASSWORD_FOR_RAIN  - password for registration in the Cloud
  • PASSWORD_FOR_RAIN_ENCODED - password for registration in the Cloud encoded in BASE64 (legacy workflow)

  • MMS_MUST_BE_REGISTERED={0,1} - if this parameter is set to 1, the installation will fail if the registration was unsuccessful
  • WEB_SERVER_PORT - port for web console
  • CREATE_NEW_ACCOUNT={0,1} - 1 if the new account has to be created for the service
  • MMS_SERVICE_USERNAME - user name for MMS service if CREATE_NEW_ACCOUNT=1 is absent or =0
  • MMS_SERVICE_PASSWORD - user password for MMS service if CREATE_NEW_ACCOUNT=1 is absent or =0
  • SET_ESX_SERVER={0,1} - 1 if specify ESX SERVER for ESX agent
  • ESX_HOST - ESX server host address
  • ESX_USER - ESX server user name
  • ESX_PASSWORD - ESX server user password
  • ADDLOCAL= Specifies components to install. Separated by comma without spaces.

The following components are available for installation:

Component Must be installed together with Bitness Component Name / Description
MmsMspComponents   x32/x64 Core components for agents
BackupAndRecoveryAgent MmsMspComponents x32/x64 Agent for Windows
ArxAgentFeature BackupAndRecoveryAgent x32/x64 Agent for Exchange
ArsAgentFeature BackupAndRecoveryAgent x32/x64 Agent for SQL
ARADAgentFeature BackupAndRecoveryAgent x32/x64 Agent for AD
ArxOnlineAgentFeature AgentsCoreComponents x32/x64 Agent for Office 365
AcronisESXSupport AgentsCoreComponents x32/x64 Agent for VMware ESX(i) Windows
HyperVAgent AgentsCoreComponents x32/x64 Agent for Hyper-V
CommandLineTool   x32/x64 Command line
TrayMonitor BackupAndRecoveryAgent x32/x64 Backup monitor

 

Uninstallation Parameters

  • /uninstall - uninstalls a product

  • REMOVE=<components> - Specifies components to remove. Separated by comma without spaces​​​​​​​

  • DELETE_ALL_SETTINGS={0,1} - Value 1 allows to completely remove the product along with settings, logs etc.

 

Other standard command line parameters of msiexec.exe can be used. See https://msdn.microsoft.com/ru-ru/library/windows/desktop/aa367988(v=vs.85).aspx for details.

 

Linux

  1. Open Terminal.
  2. Issue: 
    ./Backup_Agent_for_Linux_en-US_x86_64.bin --[PARAMETER1] ... --[PARAMETER N]

Examples:

1. Unattended installation w/o registering agent:
./Backup_Agent_for_Linux_x86_64.bin -a --skip-registration

2. Unattended installation  with registration using credentials
./Backup_Agent_for_Linux_x86_64.bin -a  --login <STRING> --password <STRING>

3. Unattended installation  with registration using token. Note: rain url should contain the exact DC name  machine is supposed to be registered at, for example: https://eu-cloud.acronis.com
./Backup_Agent_for_Linux_x86_64.bin -a --rain https://<DC>-cloud.acronis.com   --token <STRING>

4. Unattended uninstallation + removal of all logs and config files:
./Backup_Agent_for_Linux_x86_64.bin -a -u --purge

Full list of nstallation parameters for Backup Agent for Linux:

  •   -v,  --version                               Print version info
  •        --snapapi-list                         Print binary snapapi versions
  •        --components-list                  Print installer components
  •   -a, --auto                                    Automatic (unattended) setup
  •        --skip-prereq-check               Skip prerequisites check
  •        --skip-svc-start                      Skip services start
  •   -t,  --strict                                   Make all warnings into errors
  •   -n, --nodeps                               Ignore dependencies during unattended setup
  •   -u, --uninstall                              Uninstall
  •         --purge                                 Removes all configuration files
  •   -s,  --disable-native-shared        Use own redistributable libraries even if they are already present in the system.
  •         --tmp-dir=STRING                Specifies directory used for storing temporary files during installation (default is /var/tmp/)
  •   -i,   --id=STRING                        Specifies component to be installed (only for unattended installation). If –i is not specified explicitly, everything is installed. Multiple components can be specified, delimiter is comma  ‘,’
    • --id=BackupAndRecoveryAgent
    • --id=AgentForPCS
  •   -e,  --ssl=STRING                       use ssl
  •   -p,  --port=STRING                     Port address to manage agent via acrocmd (agent.exe), deafult - 9876
  •         --skip-registration                  Skip registration on rain/ams
  •   -C, --rain=STRING                      Backup service URL
  •   -g,  --login=STRING                    The login of an account under which the agent will be registered in the backup service
  •   -w,  --password=STRING            The password of an account under which the agent will be registered in the backup service
  •         --token=STRING                    Registration token 
  •         --register-with-credentials      Force to start UI installer in registration with credentials mode
  •         --language=STRING              Force language, available: languages:en,en_GB,cs,da,de,es,fr,ko,it,hu,nl,ja,pl,pt,pt_BR,ru,tr,zh,zh_TW

Help options:

  •   -?, --help                                     Show this help message
  •       --usage                                   Display brief usage message

 

You are reporting a typo in the following text:
Simply click the "Send typo report" button to complete the report. You can also include a comment.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
1 + 0 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.