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

use Google Translate

Applies to: 

Scenario

Acronis Backup Cloud 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: 

You are reporting a typo in the following text:
Simply click the "Send typo report" button to complete the report. You can also include a comment.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
6 + 7 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.