Install the Synology Agent

Synology is specialized in Network Attached Storage (NAS) devices. The Lina Agent for Synology UI provides an access to installation and logs information.

For Synology agent settings, monitoring and restore operations, you must use the Lina Agent installed on another workstation.

Install the Lina Agent

The installation of a DSM 7 Synology agent involves three steps:

1. Retrieval of the Lina package.
2. Installation of the Lina package in the Synology administrator interface. Administrator rights are required to perform the installation.
3. Post-installation configuration of the Lina package.

Step 1: Retrieve the Lina Agent setup package file

> Download the Lina Agent setup package file on your workstation.

Depending on the architecture, you can install:

• Intel-based Synology agents (Atempo-lina-Agent-Syno-x86_64.spk).
• ARMV7 Synology agents (Atempo-lina-Agent-Syno-armv7.spk).
• ARMV8 agents (Atempo-lina-Agent-Syno-armv8.spk).

For more information on Synology architectures, see Synology package architectures.

Step 2: Install the Lina Agent setup package file in Synology

1. Log into the Synology web administration interface, then open the Package Center.
2. In the upper right corner of the Installed section, click Manual Install.

A file explorer appears.

3. Click Browse, then select the Lina Agent setup package file previously downloaded.
4. Click Next.

An error message indicating that the package is not verified by Synology appears.

5. Confirm the package installation, by clicking Agree.
6. Enter the default directory used to host Lina settings, then click Next.

The default path is /var/packages/lina/etc/HNDB, but you can edit the path at your convenience.

7. Enter the server connection string, then click Next.

The default server connection string uses the format: <server_name>:<port_number>, where the port number can be the default port number 8181 or another port number.

For more information on the format to use in a multi-server configuration, see Configure Advanced Agent to Server Access.

Details on the Lina setup package file appear (e.g. version number).

8. Unselect the Run after installation option, then click Done.

A post-installation configuration is mandatory to run the package with the necessary rights.

Step 3: Configure the Lina package after installation

1. Open the Control Panel, then the Task Scheduler.
2. Click Create > Scheduled task > User-defined script.

Details on the task appear.

3. In the General tab:
a. Edit the name of your task (Install Lina, for instance), then select root as user.
b. Ensure that the task is enabled.
4. In the Schedule tab, click Run on the following date, then Do not repeat.
5. In the Task settings tab, paste the following command:
Copy
/bin/sed -i 's/package/root/g' /var/packages/lina/conf/privilege
6. Click OK to save your changes.

A window warning you of the risks of running unauthorized third-party applications appears.

7. Click OK to acknowledge the risks of running such a type of application.
8. Enter the password of your DSM account, then click Submit.
9. In the list of tasks, select the task you just created, then click Run.
10. In the window that appears, click OK to run the task.
Note: To back up network shares, you must set a protection policy on /volume1/<network_share_name>. Depending on Synology configuration, shares may also be located in other volumes or locations.

Run the Lina Agent

1. In the upper right corner of the Installed section in the Package Center, open the Lina Agent.
2. Click Run in the drop-down list that appears.

Uninstall a Lina Agent

To uninstall a Lina Agent

1. Log into the Synology web administration interface.
2. Open the Package Center.
3. In the left menu pane, click on the Installed section.
4. Select the Lina Agent.

A button with a drop-down arrow appears under the logo of the Lina Agent.

5. Click the drop-down arrow, then click Uninstall.

A confirmation window appears.

• To reinstall Lina, keep the directory that hosts Lina settings.
• To uninstall Lina permanently, delete the package data files.
6. Specify whether you want to keep the directory that hosts Lina settings or remove the package data files, then click Uninstall.