CyberPanel Community

Problem with backup: Failed to run cp command during backup generation

pl
plumcake #1

Hi,

Remote backup doesn’t work for me. So far there has been nothing wrong with this.

Log:
[04.28.2022_12-56-00] [Errno 2] No such file or directory: ‘/home/cyberpanel/git’. [IncScheduler.git:90]
[04.28.2022_12-56-17] Expecting value: line 1 column 1 (char 0) [119:startBackup]
[04.28.2022_12-56-30] /home/domain.tld/backup/
[04.28.2022_12-56-30] /home/domain.tld/backup/backup-domain.tld-04.28.2022_12-56-28
[04.28.2022_12-56-30] /home/domain.tld/backup/
[04.28.2022_12-56-30] /home/domain.tld/backup/backup-domain.tld-04.28.2022_12-56-28
[04.28.2022_12-56-30] /home/domain.tld/backup/
[04.28.2022_12-56-30] /home/domain.tld/backup/backup-domain.tld-04.28.2022_12-56-28
[04.28.2022_12-56-31] Aborted, Failed to run cp command during backup generation…[365] [5009]

I did an CyberPanel upgrade but it did not solve the problem.

Thanks,
P

3 replies
De
Dennis #2

I have the same problem but only for 1 website when creating backup. It first worked without problems and then from one day to the next no more. What’s the problem?

OM
Ogün Meriçligil #4

I am having the same problem after the last update of cyberpanel.

does anyone have any idea about the issue?

OM
Ogün Meriçligil #5

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.

Have a good day

Sign in to reply