60600: Acronis Cyber Backup for Plesk: how to configure AppArmor on Ubuntu

use Google Translate

Last update: Tue, 2020-04-07 16:23

Scenario

Acronis provides integrated backup and recovery for Plesk web hosting servers. It allows backing up Plesk servers and granularly recovering files, databases and mailboxes from Plesk UI.

If your Plesk is running on Ubuntu with enabled AppArmor, follow this article to configure AppArmor for successful restore of MySQL databases.

Solution

When installed through the Plesk UI, Acronis Backup Agent configures AppArmor profile for MySQL automatically. However, if the automatic configuration is not successful or if you install the agent from the command line, AppArmor must be configured manually:
 

  1. Add the following lines to the end of the /etc/apparmor.d/local/usr.sbin.mysqld file:
    capability sys_nice,
     
    /opt/psa/var/modules/acronis-backup/srv/** rwk,
    /var/lib/Acronis/mount/** rwk
  2. Reload the AppArmor service:
    # service apparmor reload

 

Tags: