Backup Plan Security Context

In CloudBerry Backup for macOS and Linux, a backup plan is executed in the security context of the owner of the plan configuration file. By default, the owner of the plan configuration file is the user who created the plan. In macOS and Linux, all files are associated with an owner and a group. For example, if you make John.Doe:staff owner of a backup plan, the plan will be executed in the security context of John.Doe:staff. In this scenario, it is quite possible that CloudBerry Backup cannot read the files that belong to other users.

If necessary, you can change the configuration file ownership manually. Making a more privileged user the file owner is recommended.

How to Find the Plan Configuration Files

  • In CloudBerry Backup for Linux, the folder for the backup plan configuration files is located at /opt/local/CloudBerry Backup/etc/plans

  • In CloudBerry Backup for macOS, the folder for the backup plan configuration files is located at /opt/local/CloudBerry Backup/plans

For example, to view a list of the backup plan configuration files for Linux, use the following commands:

cd "/opt/local/CloudBerry Backup/etc/plans"
ls -lrt

Changing the Backup Configuration File Ownership

To change a configuration file ownership, use the chown command:

sudo chown <new owner name>:<new owner group> <configuration plan name>

The following sample illustrates how to make the John.Doe user from the "teamlead" group the owner of the appropriate configuration file:

sudo chown John.Doe:teamlead {bef5b8bc-e02b-4a6b-b379-733ad322f157}.cbb