Table of Contents
- Start the Installation
- Let’s Start to Install Acronis Backup Agent on a Linux Server
- Start to install the Acronis Backup agent
- Install the required packages #
- Run the Installation File
- Prerequisites #
- Pre-requisities
- System Requirements
- Read and Accept the License Agreement
- Steps to Install a Custom SnapAPI module on Linux Server
- Conclusion
Start the Installation
After you’ve configured your installation settings, click “Install” to begin the installation process. This may take a few minutes to complete. As soon as installation completed you will need to register the device as per the instructions you will see on the installation wizard.
Acronis Agent Installation on Windows Server 2022 – Register Device
If you are trying to install Acronis agent on a server running CentOS 8.4/8.5 or CentOS Stream, then you need to be aware that even though the agent installation will complete successfully, your server/device will appear as Offline in the Acronis Cloud Backup Management portal.
This is because the default SnapAPI version of Acronis agent is not supported on kernel version 4.18* and 5.8*.
Acronis Backup Agent is an essential tool for businesses and organizations that rely heavily on their data. It provides a simple and reliable way to protect your server data from any potential loss. Installing the Acronis Backup Agent on Windows Server 2022 is an easy process that can be done in just a few simple steps.
In this article, we will walk you through how to install the Acronis Backup Agent on your Windows Server 2022 machine, step-by-step.
Acronis is a world-leading technology company providing backup software and data protection solutions for business and individuals.
Three of the main advantages Acronis Cloud backup offers are:
Installation of Acronis backup agent on a Linux server is relatively easy, considering you have root or a sudo account on the server and, of course, access to the Acronis Control panel. In this article we outline the general steps to install the Acronis Backup agent on a Linux server.
Краткая инструкция по установке системы резервного копирования Кибер Бэкап 15 компании Киберпротект (бывший Acronis) на ОС Ubuntu Server 22.04 из консоли
Для начала скачиваем свежий установщик для Linux (64-bit) со страницы https://cyberprotect.ru/updates/updates-backup/
После загрузки отправляем его в директорию /opt/ и делаем его исполняемым
# mv CyberBackup_15_64-bit.x86_64 /opt/
# chmod 755 CyberBackup_15_64-bit.x86_64
# chown root:root CyberBackup_15_64-bit.x86_64
Затем установим для него необходимые компоненты
# apt install gcc make perl rpm openjdk-8-jdk
переходим в директорию /opt/
# cd /opt/
и запускаем установщик
Увидим экран приветствия:
Далее система сообщит нам о том, что данное ядро не поддерживает эту версию Кибер Бэкап:
Жмём OK и переходим к лицензионному соглашению:
Принимаем его и переходим к выбору компонентов. Для сервера управления устанавливаем следующие компоненты: Management Server, Agent for Linux, Rescue Media Builder и Storage Node:
Порты для веб-сервера и обмена данными между компонентами оставляем по умолчанию — 9877 и 7780 соответственно:
После этого запустится процесс установки пакетов:
необходимых модулей ядра:
а также обновятся и запустятся службы Киберпротект:
По окончанию увидим поздравления с успешной установкой:
После этого не помешает перезагрузить машину
# shutdown -r now
и попадаем в дашборд:
Если вдруг система не принимает пароль root, то его необходимо перебить или, лучше всего поменять
# passwd root
Далее все настройки осуществляются через веб-интерфейс.
Let’s Start to Install Acronis Backup Agent on a Linux Server
Once the registration has been completed successfully, the agent installation console will also show a message that the agent installation has been completed successfully.
The server in which the agent has been installed will now show up inside the Acronis portal under All devices.
NetShop ISP offers cloud and dedicated servers through a privately-owned infrastructure in data centers worldwide and is an official Acronis Service Provider in Cyprus and Malta.
Quick guide for installing the Cyber Backup 16 backup system from Cyberprotect (formerly Acronis) on CentOS 7.9 from the console
First of all, go to the /opt/ directory and download a fresh installer for Linux (64-bit) from the page https://cyberprotect.ru/updates/updates-backup/
# wget https://download.cyberprotect.ru/releases/CyberBackup/16.0.28413/CyberBackup_16_64-bit.x86_64
Now the downloaded file must be given permission to run
# chmod 755 /opt/CyberBackup_16_64-bit.x86_64
Java 1.8.0 and gcc must then be installed
# yum install java-1.8.0-openjdk-headless gcc
Also, just in case, install the epel-release package and update the repositories
# yum install epel-release
# yum update
After that, run the installer
and a welcome screen will appear in front of us:
and the following is the license agreement that you will need to accept
Next, the installer will inform us that not all required packages are installed and offer to install them automatically using YUM:
After installation, snapapi26 kernel module will be installed
and then the necessary services will start
The last stage of the installation will be registering the agent on the management server
Upon completion of the installation, a window will appear with congratulations on successful installation:
Then we will need to open TCP ports 9877 and 7780 in the firewall
# firewall-cmd —add-port=9877/tcp —zone=public —permanent
# firewall-cmd —add-port=7780/tcp —zone=public —permanent
# firewall-cmd —reload
We go to another machine on the network and enter https://server-ip-address:9877 in the address bar of the browser and we get to the login form in the management console
enter and get to the dashboard
In the pop-up message asking for a license, click Start Trial and get to the licensing page
Click here again Start Trial and a message will appear to activate a free subscription for 30 days
Click OK and get to the page with licenses, where a message will appear asking you to restart the page
After that, the server will go into working state
Now you can start working — install agents on client machines, connect storages and create backup plans.
Acronis Offsite backup service provides a fast, efficient and easier solution for creating backups of Cloud servers and restoration in times of need through a centralized dashboard. Using Acronis Offsite backup solution, backup and restoration can be both disk-level as well as file-level.
Enabling Acronis Offsite backup service for a cloud server involves the installation of the Acronis Backup Agent in the Cloud server. The below guide outlines the general steps to installing Acronis Backup Agent in Linux Cloud servers.
Start to install the Acronis Backup agent
Today I finished an interesting experiment — moving a server running CentOS 5 from real hardware to virtual hardware.
Since virtualization and cloud computing are becoming more and more popular nowadays, I believe that this method of transferring physical machines to a virtual environment will be relevant in some cases.
The situation is as follows: there is a server with running and configured CentOS on board, we need to make a gasket in the form of an ESXi/XenServer/Virtualbox hypervisor, etc. between the bare metal and the operating system. At the same time, we do not have a second server, we do not have vCenter, and accordingly, there is no possibility to use «legal» and supported utilities like VMware Converter for P2V migrations.
Actually, I had a need to transfer the Linux server in such a situation. But before doing all this on a live, running production server, I decided to test it in, so to speak, “laboratory” conditions. And that’s what happened.
The migration plan is as follows:
— make a disk image using Acronis True Image on a flash drive or external hard drive (depending on the size)
— format the internal screws of the server and install the hypervisor (in my case, VMware ESXi 5.0)
— create a virtual machine of the required size
— deploy the disk image on the virtual machine
This method is good because for migration we only need: Live CD with Acronis, ESXi installer, flash drive or external hard drive of suitable size, console (laptop or PC on the same network as the server).
Theoretically, the plan is quite working, but «there may be options» :))
In general, closer to the point, point by point:
Creating an image of a working server
1. Boot from a Windows Live-CD that contains Acronis (eg Alkid).
2. We connect a flash drive or an external hard drive, the free space on which will be enough to create an image. I advise you to take a device on which there is as much free space as the occupied space on all sections of the server combined. Acronis, of course, compresses data in the process of creating an image, but it’s better to take it with a margin.
3. Create an image file of the entire hard drive using Acronis True Image. I will not describe this process in detail. Acronis is a program familiar and intuitive to many. The only thing you need to pay attention to is that there are ticks on all partitions of the disk, including the MBR !!!
Format disks and install hypervisor
4. After creating an image of a working server, disconnect the external drive, insert the installation disk with the hypervisor, in my case, VMware ESXi 5.o, and reboot the server.
5. Install ESXi, which will automatically format the hard drive (or the server’s RAID array), after warning about it (I will describe the installation process in detail in a separate article).
If there are no problems connecting to the server via vSphere Client (and there should not be any), then you can proceed to the next step — preparing the target virtual machine for the server
9. When we reach the disk, select “Create New Disk” and set the size of the virtual disk that we want to give to the virtual machine. Here you need to specify a size no less than the amount of occupied space on ALL partitions of our Linux server when it was still alive.
The virtual machine has been created and prepared — you can start deploying the image in it
11. Mount the Live-CD iso-shku into the CD-drive of our virtual machine and forward our USB-drive, boot.
12. We make sure that our external drive is connected and recognized and proceed to deploy the image using Acronis True Image.
I was curious how Acronis would react to changing the size of the hard drive when restoring Linux partitions (in the virtual machine, the hard drive was many times smaller). The program kindly offered to make an automatic resize of all sections in such a way as to fit into the allocated space. I liked this idea and I decided to take a chance. As a result, the program cut off the same percentage of free space from each partition (smartly enough).
13. As noted above, at one of the recovery stages, Acronis offered to do automatic partition resizing, or you can do it manually. I chose automatic. Looking ahead a little, I will say that this procedure was successful and Acronis did not beat my partitions, and all all the files remained safe and sound. I had all the partitions in the good old Ext3, I won’t say about other file systems.
14. After the restoration of the system from the image is completed, we turn off the iso-shku, usb-device and reboot the virtual machine, observing the results of our work.
Mounting root filesystem.
mount: could not find filesystem ‘/dev/root’
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic — not syncing: Attempted to kill init!
As a result of googling, it turned out that the solution to this problem is to create a new initrd file. How to do this is written here.
After generating a new initrd file, my CentOS started up without problems, which made me very happy.
After our Linux starts up, I advise you to install VMware Tools for our distribution. This will give closer integration with the hypervisor, for example: correct shutdown of virtual machines when the hypervisor is turned off, time synchronization, drivers, etc.
The experiment can be considered successful, and this migration method can be considered working. BUT! the outcome of this procedure depends on the distribution, the state of the operating system, file systems on partitions, etc., so the completion of such a procedure may not be trivial.
This time I was migrating CentOS in a lab, and I will be migrating a live Debian Squeeze server in the near future.
Install the required packages #
Show Example installation on CentOS 7
Installing PC/Server backup Ubuntu
Run the Installation File
Locate the downloaded installation file and double-click on it to start the setup wizard. You may receive a pop-up asking if you want to allow the app to make changes to your device. Click “Yes” to proceed with the installation.
Prerequisites #
As soon as your Acronis cloud backup account is activated, you will receive an email notification and your login credentials can be retrieved from within your myNetShop portal account.
The first step is to visit the Acronis portal (https://eu-cloud.acronis.com), click “Devices” from the left side menu and then click the “+ Add” button on the top right of your screen. Choose “Windows Server” so that the download starts of the installation file for the Backup Agent for Windows Server.
Download Acronis Backup agent for Windows Server
Once you have downloaded the installation file, save it to your computer’s hard drive in a location that you can easily access.
Pre-requisities
In this step, you will need to choose your desired installation settings. You can select the installation path, whether or not to create a desktop shortcut, and other advanced options. By default, Acronis will install to the C:Program files path on your computer. If you’d like to change the installation path, simply click the “Change” button and select a new location on your computer.
System Requirements
Once the installation is complete, launch the Acronis Backup Agent on your Windows Server 2022 machine and configure it according to your needs.
In the main dashboard, you can select backup schedules, choose backup destinations, and configure other advanced settings as needed. Be sure to test your backup settings to ensure that they are working properly.
Successful Acronis Backup Agent installation on Windows Server 2022
Congratulations! You have successfully installed Acronis Backup Agent on your Windows Server 2022 machine.
Read and Accept the License Agreement
Read through the license agreement and click “I Accept” if you agree with the terms and conditions of the agreement.
Steps to Install a Custom SnapAPI module on Linux Server
2. Stop the Acronis process/service:
3. Remove existing SnapAPI module from the kernel (replace snapapi24 with the correct version of what’s currently installed on your server)
4. Check SnapAPI version
A sample output from the command in step 4 is:
file_protector/1.1-1509, 4.18.0-348.7.1.el8_5.x86_64, x86_64: installed
snapapi26/0.8.18, 4.18.0-348.7.1.el8_5.x86_64, x86_64: installed
5. Remove SnapAPI from the dkms tree
* The “0.8.18” is the version of SnapAPI as found from the command output in Step 4.
6. Install SnapAPI from the rpm package we downloaded in Step 1.
7. Add tarball to the dkms tree
Sample output from command in Step 7 is:
8. Build and Install the new SnapAPI module
9. Load the snapapi26 kernel module
10. Finally, start the Acronis service
You are all set! Allow a few minutes and then login to the Acronis management portal. If all went well, you should be able to view and manage your new Linux server device.
Conclusion
Don’t forget to regularly test your backup settings to ensure they are working properly. With Acronis Backup Agent, you can rest easy knowing that your data is secure and protected in the event of any unexpected data loss or system failure.