Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

cPanel's new backup system

Discussion in 'Data Protection' started by radeonpower, Mar 5, 2014.

  1. radeonpower

    radeonpower Well-Known Member

    Joined:
    Jul 23, 2009
    Messages:
    129
    Likes Received:
    1
    Trophy Points:
    68
    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.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. radeonpower

    radeonpower Well-Known Member

    Joined:
    Jul 23, 2009
    Messages:
    129
    Likes Received:
    1
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    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
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice