Backup Error cp command 365,5009

Good evening

I have a problem with backing up a domain on my vps
I have to say that the backup function for the other domains on the VPS works via cyberpanel
Only with one it does not work from one day to the next
I keep getting the message:

Aborted, Failed to run cp command during backup generation…[365] [5009]

What do I do now? I can’t find anything about the error anywhere. Only those who already had it but never an answer to it. I hope someone helps me

Thank you very much

+1 having a the same problem

Solved the problem

The problem is owernership problem.

The cp command that tries to be executed during the backup process cannot complete the backup process because of the files in public_html that are owened by another user.

This situation can usually occur in files retrieved from backup or manual copying.

How to solve it:

  1. Method
    cd /home/exampledomain.com/public_html
    chown -R username:username *

  2. Method
    You can easily fix it by entering the public_html directory in the File Manager and clicking the Fix Permissions button in the upper right corner.

  3. Method
    Delete files owned by others that you do not use.

Have a good day

1 Like