To backup Amazon EC2 VM on Acronis, we need to install a protection agent on the machine.
Here, at Bobcares, we assist our customers with several AWS queries as part of our AWS Support Services.
Today, let us see how to recover to a new Windows Azure or Amazon EC2 virtual machine.
Backup Amazon EC2 VM on Acronis
Moving ahead, let us see how our Support Techs perform the backup.
Install an Acronis Agent
Acronis Cyber Protect Cloud and Acronis Backup Service are web-based applications.
In order to backup data, we only need to install a Backup Agent on the machine.
With it, we can manage and monitor system protection with a web-based console.
We can install the software with an active Backup Account.
To do so, we click Manage backups > Add.
To add the Acronis Backup modules to the Linux kernel, the setup program needs:
- Package to build kernel modules. The package version and kernel version must match.
- GNU Compiler Collection (GCC) compiler system.
- Make tool.
Check the package existence
1. Initially, we find out the kernel version and the GCC version we require:
2. Then we check whether the Make tool and the GCC compiler are installed:
make -v gcc –v
3. Compare the version of GCC with information from the cat /proc/version command
4. Later, we check whether we have the appropriate version of the packages to build kernel modules:
In Red Hat Enterprise Linux, CentOS, and Fedora, we run:
yum list installed | grep kernel-devel
On the other hand, in Ubuntu, we run:
dpkg –get-selections | grep linux-headers dpkg –get-selections | grep linux-image
In either case, we need to make sure the package versions are the same as the Linux version.
Initially, we log in as the root user.
Then we download and launch the installation package.
Since it downloads as a binary file we make it executable:
- Open terminal;
- Navigate to the folder of installation package;
chmod 755 filename.bin
Then we proceed to accept the terms of the license agreement.
In addition, we specify Backup Account credentials.
Once done, the computer will be available in the Cyber Protection console and we can back up the data.
Recover a machine as a Windows Azure or Amazon EC2 VM
We create a new virtual machine from an image/template in Windows Azure or Amazon EC2. It will have the same disk configuration as the machine we need to recover.
Then we install Agent for Windows or Agent for Linux on the new machine.
We recover the backed-up machine. Finally, while configuring the recovery, we select the new machine as the target machine.
[Stuck with the backup? We are here to help you]
In short, we saw how our Support Techs take backup of Amazon EC2 VM on Acronis.