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.

[Case 50417] Remote FTP cpbackup Failing in version 11.30

Discussion in 'Data Protection' started by KrystalS, Jun 4, 2011.

  1. KrystalS

    KrystalS Active Member

    Joined:
    Mar 15, 2004
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    UK
    We are seeing this across all servers...

    Code:
    pkgacct started.
    pkgacct version 10 - user : gracecom - tarball: 1 - target mysql : default - split: 0 - incremental: 0 - homedir: 1 - archive version: 3 - running with uid 0
    pkgacct working dir : /home/cpbackuptmp/cpbackup/weekly/gracecom
    Copying Reseller Config...Done
    Copying Suspension Info (if needed)...Done
    Copying SSL Certificates, CSRS, and Keys...Done
    Copying Domain Keys....Done
    Copying Counter Data....Done
    Copying Bandwidth Data......[***]..Done
    Copying Dns Zones.......[***]...Done
    Copying Mail files....Done
    Copying frontpage files....Done
    Copying proftpd file....Done
    Copying www logs.......log file sizes [229 byte(s)]......[***]......[***]...Done
    Copy userdata...Done
    Copy custom virtualhost templates...Done
    Leaving timeout safety mode
    Copying mailman lists and archives....Done
    Copying homedir.............
    .........
    Done
    Entering timeout safety mode
    Determining mysql dbs......mysql version: 5.1......mysqldump version: 5.1...Saving mysql privs...Done
    ...Done
    Storing mysql dbs............
    gracecom_joomla(113089 bytes) horde.turba_objects(1597 bytes) horde.horde_prefs(1589 bytes) horde.kronolith_events(1615 bytes) horde.kronolith_storage(1615 bytes) horde.mnemo_memos(1593 bytes) horde.nag_tasks(1585 bytes) ...Done
    Copying cpuser file.......Done
    Copying crontab file.......Done
    Copying quota info.......Done
    Storing Subdomains....
    Done
    Storing Parked Domains....
    Done
    Storing Addon Domains....
    Done
    Storing ssl domain......Done
    Copying password.......Done
    Copying shell.......Done
    Creating Archive ....Done
    pkgacctfile is: /home/cpbackuptmp/cpbackup/weekly/gracecom.tar.gz
    
    size is: 36041923
    
    homesize is: 94539776
    Net::FTP=GLOB(0x106c3dc0)<<< 220 [***]
    Net::FTP=GLOB(0x106c3dc0)>>> USER [***]
    Net::FTP=GLOB(0x106c3dc0)<<< 331 Please specify the password.
    Net::FTP=GLOB(0x106c3dc0)>>> PASS ....
    Net::FTP=GLOB(0x106c3dc0)<<< 230 Login successful.
    Net::FTP=GLOB(0x106c3dc0)>>> TYPE I
    Net::FTP=GLOB(0x106c3dc0)<<< 200 Switching to Binary mode.
    Net::FTP=GLOB(0x106c3dc0)>>> MKD cpbackup
    Net::FTP=GLOB(0x106c3dc0)<<< 550 Create directory operation failed.
    Net::FTP=GLOB(0x106c3dc0)>>> MKD cpbackup/weekly
    Net::FTP=GLOB(0x106c3dc0)<<< 550 Create directory operation failed.
    Net::FTP=GLOB(0x106c3dc0)>>> CWD cpbackup/weekly
    Net::FTP=GLOB(0x106c3dc0)<<< 250 Directory successfully changed.
    Cannot open Local file /home/cpbackuptmp/cpbackup/weekly/gracecom.tar: No such file or directory
    
    We run the FTP backups with no compression as we don't want to stress the server..

    This always used to be a .tar file, but now it seems to be a .tar.gz file and so the backup script is failing becase the backup is making this file :

    /home/cpbackuptmp/cpbackup/weekly/gracecom.tar.gz

    and trying to upload this file :

    /home/cpbackuptmp/cpbackup/weekly/gracecom.tar
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello,

    We have an internal case (50417) concerning the fact that nocompress is not properly being passed from /etc/cpbackup.conf to /usr/local/cpanel/scripts/cpbackup file. The line in question appears to possibly be line 715 in that /usr/local/cpanel/scripts/cpbackup file, which you might try modifying from the following:

    Code:
    cpusystem( $pkgacct, $user, $target, 'backup', ( $CONF{'COMPRESSACCTS'} eq 'no' ? 'nocompress' : () ) );
    To the following:

    Code:
    cpusystem( $pkgacct, $user, $target, 'backup', ( $CONF{'COMPRESSACCTS'} eq 'no' ? '--nocompress' : () ) );
    Please make a backup of the file prior to revising it.

    Thanks.
     
Loading...

Share This Page