Here’s a clean, structured, and practical guide for installing and uninstalling the Acronis Backup Plugin on WHM/cPanel, including firewall considerations and replacing any sensitive data with example placeholders:
π Introduction
This guide shows how to install Acronis Backup for WHM/cPanel, enabling integration with Acronis Cyber Protect or Acronis Cyber Cloud. It also includes steps to uninstall the plugin and open required firewall ports.
β οΈ Disclaimer: This is a courtesy guide. Acronis support or your system administrator should be contacted for advanced setup and troubleshooting.
β Requirements
- PHP 5.6 or later.
- Local MySQL for granular database recovery (PostgreSQL not supported).
- Backup Agent must be installed on the host, not inside the container (e.g., Virtuozzo).
- Root SSH access.
π οΈ Installation Steps
1. Log in via SSH as Root
Use your terminal or SSH client to access your server:
ssh root@your-server-ip
2. Install the Acronis Plugin
Run the following command to fetch and install the plugin:
sh <(curl -L https://download.acronis.com/ci/cpanel/stable/install_acronis_cpanel.sh) || \
wget -O - https://download.acronis.com/ci/cpanel/stable/install_acronis_cpanel.sh | sh
This will install:
- Acronis Backup plugin in WHM.
- Acronis agent registration and automatic updates setup.
3. Configure the Plugin in WHM
Log in to WHM as root and go to:
Plugins β Acronis Backup
Follow the on-screen steps:
- Configuration Mode:
Select βInstall the protection agent on this serverβ (for virtual servers). - Login to Acronis Account:
Enter your Acronis Cloud credentials. - Select Protection Plan:
Choose your desired protection plan and continue. - Enable Self-Recovery:
(Optional) Enable file-level recovery for users. - Review Configuration:
Confirm your settings and complete the install.
π Firewall Configuration
Open Required TCP-OUT Ports in ConfigServer Firewall (CSF)
Edit /etc/csf/csf.conf
:
nano /etc/csf/csf.conf
Find the TCP_OUT
line and add the following ports:
5905, 7770:7800, 445, 25001, 902, 44445, 55556, 6109, 8443
Then reload CSF:
csf -r
β Uninstalling Acronis Backup Plugin
If you need to remove the plugin, use the official uninstall script.
1. Run the Uninstall Script
sh <(curl -L https://download.acronis.com/ci/cpanel/stable/uninstall_acronis_cpanel.sh) || \
wget -O - https://download.acronis.com/ci/cpanel/stable/uninstall_acronis_cpanel.sh | sh
This will:
- Remove the WHM plugin
- Unregister the Acronis agent
- Remove configuration and scheduled jobs
π§Ό Optional Cleanup
If any residual files remain:
rm -rf /usr/local/cpanel/base/frontend/paper_lantern/acronis
rm -rf /usr/local/acronis
You can also check for leftover cron jobs or Acronis agents if they were installed manually.