cPanel's new backup system

radeonpower

Well-Known Member
Jul 23, 2009
141
4
68
Iceland
cPanel Access Level
Root Administrator
Hello, I finally decided to try out the new cPanel backup and I got this by email.

Code:
/bin/gtar: Removing leading `/' from member names
/bin/gtar: /var/lib/mysql/mysql-bin.000090: file changed as we read it
/bin/gtar: /var/lib/mysql/mysql.sock: socket ignored
[backup] Failed to perform full MySQL database backup
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from hard link targets
/bin/gtar: /var/cpanel: file changed as we read it
[backup] Failed to perform full backup of /var/cpanel/ to /backup/2014-03-05/system/dirs/_var_cpanel.tar.gz
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
[backup] System backups will not be uploaded to any remote destinations
Can't modify constant item in scalar assignment at /usr/local/cpanel/scripts/postcpbackup line 8, at EOF
Bareword "var" not allowed while "strict subs" in use at /usr/local/cpanel/scripts/postcpbackup line 8.
Bareword "cpanel" not allowed while "strict subs" in use at /usr/local/cpanel/scripts/postcpbackup line 8.
Bareword "cleanbackups" not allowed while "strict subs" in use at /usr/local/cpanel/scripts/postcpbackup line 8.
Bareword "scripts" not allowed while "strict subs" in use at /usr/local/cpanel/scripts/postcpbackup line 8.
Bareword "cleanbackupsnow" not allowed while "strict subs" in use at /usr/local/cpanel/scripts/postcpbackup line 8.
Bareword "FROMCPBACKUP" not allowed while "strict subs" in use at /usr/local/cpanel/scripts/postcpbackup line 8.
Execution of /usr/local/cpanel/scripts/postcpbackup aborted due to compilation errors.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

It looks like you have a third-party plugin (Clean Backups) installed and enabled in /usr/local/cpanel/scripts/postcpbackup. I suggest uninstalling this plugin because it does not appear to be compatible with the new cPanel backup system.

Thank you.
 

radeonpower

Well-Known Member
Jul 23, 2009
141
4
68
Iceland
cPanel Access Level
Root Administrator
Hello :)

It looks like you have a third-party plugin (Clean Backups) installed and enabled in /usr/local/cpanel/scripts/postcpbackup. I suggest uninstalling this plugin because it does not appear to be compatible with the new cPanel backup system.

Thank you.
Thanks, I already uninstalled it some time ago but I looked into the /usr/local/cpanel/scripts/postcpbackup file and commented this out:

# Restore Manager
#system ("php", "/usr/local/cpanel/whostmgr/docroot/restoremanager/fixpermissions.php");
#exit 0;FROMCPBACKUP=1 /var/cpanel/cleanbackups/scripts/cleanbackupsnow