Plesk

Plesk backup task has finished with a warning: Cannot open or Permission denied

Symptoms

Cause

Backup Manager cannot create files as user due to insufficient permissions. Permissions on these folders forbid the owner to create files - there is no w (write) atribute:

# ls -ld /var/www/vhosts/example.com/httpdocs/administrator/
dr-xr-xr-x 2 user psacln 4096 Jun 8 18:30

Resolution

  1. Connect to the server via SSH.

  2. Restore the backup manually from the corresponding archive:

    # set +v | tar -f /var/lib/psa/dumps/domains/example.com/backup_user-data_1805242210.tar -xvm --same-permissions --same-owner -C /var/www/vhosts/example.com --wildcards --anchored