Installing the Datto Endpoint Backup with Disaster Recovery Linux Agent
Topic
This article describes the standard installation process for the Datto Endpoint Backup with Disaster Recovery (formerly Endpoint Backup for Servers) Linux agent.
IMPORTANT Currently the Datto Linux Agent is unavailable for Endpoint Backup with Disaster Recovery and under maintenance. It is expected to be available with the next release. Release notes are available: Installing the Datto Endpoint Backup with Disaster Recovery Linux Agent.
Environment
- Datto Endpoint Backup with Disaster Recovery Linux Agent
Description
Please refer to the Getting Started with Datto Endpoint Backup with Disaster Recovery Linux Agent article for the list of supported operating systems and system requirements prior to installation.
-
To install the agent, run the following command:
curl -sS https://cpkg.datto.com/getLinuxDtcAgent.sh | sudo bash
-
The installer will launch. Enter Y to agree to the software license agreement and install the Datto Linux Agent.
-
The Datto Linux Agent will install the following packages:
- dtcd - The Datto Linux Agent Daemon
- libiscsi-datto - iSCSI library for sending data to the Datto appliance iSCSI target
- mercury++ - Networking transport library for communicating to the Datto appliance
- mercuryftp - Data transport library for efficient backup transfer to the Datto appliance
- dattobd-utils - Datto Linux Agent driver utilities package
- dattobd (kernel module) - Kernel module source for dattobd managed by DKMS
- dattobd-dkms
The above is not a complete list of dependencies. They are the packages that Datto maintains. Other third -party packages may also be required for your particular distribution.
-
Follow the Pairing steps in the Getting Started with Datto Endpoint Backup with Disaster Recovery article to add the protected machine to the cloud device.
NOTE The command line utility
dattocli
can be used to gather information on the agent install, including the agent ID that will be needed for pairing. The command will need to be run either withsudo
or from a root user.
The agent does not automatically update itself when a new version becomes available. The current agent version is listed here: Release Notes.
sudo systemctl stop dtcd
sudo apt-get -y install dtcd libdattobd1
sudo systemctl start dtcd
The following location houses the package manager installation logs on supported distributions. If you have an issue with the installation, review the following logs to determine the cause:
/var/log/apt/term.log
If installation fails because curl is not installed on the protected machine, run the following script:
yum install kernel-devel-$(uname -r);wget -O getLinuxDtcAgent.sh https://cpkg.datto.com/getLinuxDtcAgent.txt;chmod u+x getLinuxDtcAgent.sh; ./getLinuxDtcAgent.sh
Uninstalling the Datto Endpoint Backup agent does not delete its cloud backups. To remove the backup chain, follow the procedure described in Removing Agents in Datto Endpoint Backup with Disaster Recovery.