The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    18
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    671
    Trophy Points:
    113
    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.
     
  3. radeonpower

    radeonpower Well-Known Member

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