Installing on Linux

Linux Installation Prerequisites

In order to install and use NAKIVO Backup & Replication on a Linux OS, make sure the following requirements are met:

  • On Ubuntu and SLES, the following packages must be installed:

    • cifs-utils

    • open-iscsi

    • ntfs-3g

  • On RedHat Enterprise Linux, the following packages must be installed:

    • cifs-utils

    • iscsi-initiator-utils

    • ntfs-3g

    • tar

Silent Installation on Linux

You can install NAKIVO Backup & Replication in silent mode via a command line. To install the full solution, simply run the following command: installer.sh -f --eula-accept This will install all product components (DirectorTransporterBackup Repository) and you will be able to use all product features after installation.

The following arguments are available:

Argument

Description

-h, -help, help

Display the list of available arguments without starting the installation.

--eula-accept, -ea

Indicates that you have read and agree to the End User License Agreement.

-f

Shall perform the silent installation of the full solution (Director and Transporter).

-t 

Shall perform the silent installation of Transporter only.

-m

Shall perform the silent installation of the full solution in multi-tenant mode.

-u

Shall perform the silent update of the installed product components.

-e

Shall install Transporter on Amazon EC2, or update Transporter installed on Amazon EC2. Refer to Updating on Amazon EC2 for details.

-a

Shall enable uploading support bundles to support team server (Call Home). Refer to System Settings for details.

-y

Shall accept limitations silently.

-i <install_path>

Shall install to the specified installation path.

-d <director_port>

Shall provide a custom Director port.

-p <transporter_port>

Shall provide a custom Transporter port.

-r <port1>-<port2>

Shall provide a custom transporter data ports range.

-C

Shall suppress creating the repository.

-c <repo_path>

Shall create the repository. The <repo_path> parameter is optional.

--rt <repo_type>

Shall create a repository of the specified type. The <repo_type> parameter may accept the following values: 1 – "Forever incremental with deduplication"; 2 – "Forever incremental without deduplication"; 3 – "Incremental with full backups (deduplication devices)".

--rc <compress_level>

Shall specify the repository compression level. The parameter may accept the following values: Disabled; Fast; Medium; Best. Refer to Creating Backup Repositories for details.

--pnp-cleanup

Shall clean up the database of the device manager for the Linux kernel.

--cert Allows to set up a custom Transporter certificate.
--master-pass (short version: -b) Allows to set up a custom master password for the Transporter.

Installing Full Solution on Linux

Follow the steps below to install all components of NAKIVO Backup & Replication (both Director and Transporter) on a Linux OS:

  1. Upload the installer file to the machine on which you want to install NAKIVO Backup & Replication in the binary transfer mode. For example:

  2. Log in to the Linux machine and allow the execution of the installer file.
    For example: chmod +x NAKIVO_Backup_&_Replication_TRIAL.sh

  3. Execute the installer file with root privileges.
    For example: sudo ./NAKIVO_Backup_&_Replication_TRIAL.sh

  4. Review the license agreement (press Space to go to the next page of the agreement). If you agree to the terms of the license agreement, press "Y" and then press Enter.

  5. Type "S" to install the full solution and press Enter.

  6. Optionally, you can install CA Transporter certificate. Enter the path to the folder containing the certificate file and press Enter.

    Notes

    • If no path to the CA certificate was provided, NAKIVO Backup & Replication automatically installs a self-signed certificate.

    • It is possible to set up CA-signed certificate for the Transporter by conducting silent installation using the command-line arguments passed to the installer. Use the following command:

      installer.sh --cert /tmp/certificate.pem --eula-accept

  7. Specify the installation path for the product: Press Enter to accept the default installation path "/opt/nakivo" or enter a custom path and press Enter.

  8. Specify the Director HTTPS port (which will be used to access the Web UI of NAKIVO Backup & Replication): Press Enter to accept the default port 4443 or enter a custom port number and press Enter. Make sure the port you specify is open in your firewall.

  9. Specify whether to allow the product to automatically send support bundles to a NAKIVO server during the evaluation period (Call Home). If this option is enabled, NAKIVO Backup & Replication will automatically create, encrypt, and upload support bundles once a day to a NAKIVO support server during the evaluation period. NAKIVO Support team may use this information to improve the product experience and will be able to identify and resolve product issues faster.

  10. Specify the Transporter port (which will be used to connect to the Transporter that is installed by default with the Director): Press Enter to accept the default port "9446" or enter a custom port number (1 to 65535) and press Enter. Make sure the port you specify is open in your firewall.

  11. Specify a range of port numbers (from 1 to 65535) that will be used to transfer data by the Onboard Transporter (default are 9448-10000). The range you specify should contain at least 100 ports. Make sure that the ports you specify are open in your firewall.

  12. Specify a path to the default Backup Repository: Press Enter to accept the default path "/opt/nakivo/repository" or enter a custom path and press Enter to begin the installation process.

After the installation is complete, you can log in to NAKIVO Backup & Replication by opening the following URL in your web browser: https://machine_IP_or_DNS:director_https_port

By default, login name and password are not required to access NAKIVO Backup & Replication. To prevent unauthorized access to the product, you can set up credentials in Configuration.

Installing Transporter on Linux

If you have already installed the full solution (both Director and Transporter) and want to deploy an additional Transporter, run the NAKIVO Backup & Replication installer for Windows and follow the steps below:

Transporter Installation Prerequisites

Prior to installing a Transporter, make sure the following prerequisites are met:

  1. Make sure the machine on which you plan to install the Transporter has a connection to the relevant items below:

    • The machine on which the Director is installed

    • VMware/Hyper-V servers on which you plan to back up or replicate VMs (if you plan to retrieve VM data using the Transporter you are about to install)

    • Machines on which you have installed other Transporters (if you plan to set up data transfer between an existing Transporter and the one you are about to install) 

    • Backup repository (if you plan to assign the Transporter you are about to install to a Backup Repository)

    • VMware/Hyper-V servers which you plan to use as a destination for replicated VMs (if you plan to write data to the target servers and datastores using the Transporter you are about to install)

  2. If you have discovered VMware/Hyper-V servers using DNS names, make sure those DNS names can be resolved on the machine on which you plan to install the Transporter.

Transporter Installation

  1. Upload the installer file to the machine on which you wish to install NAKIVO Backup & Replication in the binary transfer mode. For example:

  2. Allow the execution of the installer file. For example: chmod +x NAKIVO_Backup_&_Replication_TRIAL.sh

  3. Execute the installer file with root privileges. For example:sudo ./NAKIVO_Backup_&_Replication_TRIAL.sh

  4. Review the license agreement (press Space to go to the next page of the agreement). If you agree to the terms of the license agreement, press "Y" and then press Enter.

  5. Type "T" to install only the Transporter and press Enter.

    Note
    Alternatively, you can use the -t argument to install the Transporter silently:
    sudo ./NAKIVO_Backup_&_Replication_TRIAL.sh -t

  6. Optionally, enter the master password that will be used to generate a pre-shared key and secure the Transporter and then press Enter.

    Notes

    • The master password must adhere to the following requirements:

      • Minimal length - 5 characters.

      • Maximum length - 50 characters.

    • The master password can be set and re-set manually by following these steps:

      1. Switch to root using the following command:

        sudo -i

      2. Stop the Transporter service.
      3. Go to the Transporter folder with the following command:

        cd /opt/nakivo/transporter

      4. Run the following command to set the master password:

        ./bhsvc -b P@ssword123

      5. Restart the Transporter service.

  7. Specify the installation path for the product: Press Enter to accept the default installation path "/opt/nakivo" or enter a custom path and press Enter.

  8. Optionally, you can install CA Transporter certificate. Enter the path to the folder containing the certificate file and press Enter.

    Notes

    • If no path to the CA certificate was provided, NAKIVO Backup & Replication automatically installs a self-signed certificate.

    • It is possible to set up a master password and a CA-signed certificate for the Transporter by conducting silent installation using the command-line arguments passed to the installer. Use the following command:

      installer.sh --cert /tmp/certificate.pem -b P@ssword123 --eula-accept

  9. Specify the Transporter port (used to connect to the Transporter): Press Enter to accept the default port 9446 or enter a custom port number and press Enter to begin the installation process. Make sure the port you specify is open in your firewall.

After the installation is complete, add the Transporter to NAKIVO Backup & Replication.

Installing Full Solution in Multi-Tenant Mode on Linux

Follow the steps below to install the full solution in multi-tenant mode on a Linux OS:

  1. Upload the installer file to the machine on which you want to install NAKIVO Backup & Replication in the binary transfer mode. For example:

  2. Log in to the Linux machine and allow the execution of the installer file.

    For example: chmod +x NAKIVO_Backup_&_Replication_TRIAL.sh

  3. Execute the installer file with root privileges.
    For example: sudo ./NAKIVO_Backup_&_Replication_TRIAL.sh

  4. Review the license agreement (press Space to go to the next page of the agreement). If you agree to the terms of the license agreement, press "Y" and then press Enter.

  5. Type “M” to install the Director in Multi-tenant mode and press Enter.

    Note
    Alternatively, you can use the -m argument to install the solution in multi-tenant mode silently:
    sudo ./NAKIVO_Backup_&_Replication_TRIAL.sh -m

  6. Optionally, you can install CA Transporter certificate. Enter the path to the folder containing the certificate file and press Enter.

    Notes

    • If no path to the CA certificate was provided, NAKIVO Backup & Replication automatically installs a self-signed certificate.

    • It is possible to set up CA-signed certificate for the Transporter by conducting silent installation using the command-line arguments passed to the installer. Use the following command:

      installer.sh --cert /tmp/certificate.pem --eula-accept

  7. Specify the installation path for the product: Press Enter to accept the default installation path “/opt/nakivo” or enter a custom path and press Enter.

  8. Specify the Director HTTPS port (which will be used to access the Web UI of NAKIVO Backup & Replication): Press Enter to accept the default port 4443 or enter a custom port number and press Enter. Make sure the port you specify is open in your firewall.

  9. Specify whether to allow the product to automatically send support bundles to a NAKIVO server during the evaluation period. If this option is enabled, NAKIVO Backup & Replication will automatically create, encrypt, and upload support bundles once a day to a NAKIVO support server during the evaluation period. NAKIVO Support team may use this information to improve the product experience and will be able to identify and resolve product issues faster.

  10. Specify the Transporter port (which will be used to connect to the Transporter that is installed by default with the Director): Press Enter to accept the default port “9446” or enter a custom port number (1 to 65535) and press Enter. Make sure the port you specify is open in your firewall.

  11. Specify a range of port numbers (from 1 to 65535) that will be used to transfer data by the Onboard Transporter (default are 9448-10000). The range you specify should contain at least 100 ports. Make sure that the ports you specify are open in your firewall.

  12. The onboard backup repository for the Master Tenant is automatically created after the installation.

  13. Specify a path to the default backup repository: Press Enter to accept the default path /opt/nakivo/repository or enter a custom path and press Enter to begin the installation process.

Note
The onboard backup repository for the Master Tenant is automatically created after the installation.

After the installation is complete, you can log in to NAKIVO Backup & Replication by going to the following URL in your web browser: https://machine_IP_or_DNS:director_https_port.

Refer to Getting Started to know how to continue working with NAKIVO Backup & Replication.