Results 1 to 2 of 2

Thread: FTP Backups not working

  1. #1
    Registered User
    Join Date
    Aug 2012
    Posts
    1
    cPanel/WHM Access Level

    Root Administrator

    Default FTP Backups not working

    I have tried to use the remote FTP backup but am getting the following problem.

    The FTP username and password are correct and I can FTP with an FTP client and make folders and move files in etc but I get the following when I try and use FTP backup from cPanel.

    The logs show it logging in to the FTP account fine like this :-


    root@server1 [/]# more /usr/local/cpanel/logs/cpbackup/1344357397.log
    Net::FTP>>> Net::FTP(2.77)
    Net::FTP>>> Exporter(5.58)
    Net::FTP>>> Net::Cmd(2.29)
    Net::FTP>>> IO::Socket::INET(1.29)
    Net::FTP>>> IO::Socket(1.29)
    Net::FTP>>> IO::Handle(1.25)
    Net::FTP=GLOB(0xa0116a4)<<< 220 ProFTPD 1.3.2e Server (ProFTPD) [ip address was in here]
    Net::FTP=GLOB(0xa0116a4)>>> USER usernamewashere
    Net::FTP=GLOB(0xa0116a4)<<< 331 Password required for usernamewashere
    Net::FTP=GLOB(0xa0116a4)>>> PASS ....
    Net::FTP=GLOB(0xa0116a4)<<< 230 User usernamewashere logged in
    Net::FTP=GLOB(0xa0116a4)>>> QUIT
    Net::FTP=GLOB(0xa0116a4)<<< 221 Goodbye.
    [cpbackup] Started at Tue Aug 7 17:36:37 2012
    [cpbackup] Starting full MySQL database backups
    /bin/gtar: Removing leading `/' from member names
    /bin/gtar: /var/lib/mysql/mysql.sock: socket ignored
    [cpbackup] The following backups will be updated: monthly
    [cpbackup] Running account backup with target : /home/cpbackuptmp/cpbackup/month
    ly
    pkgacct started.
    pkgacct version 10 - user : first - tarball: 1 - target mysql : default - split:
    0 - incremental: 0 - homedir: 1 - archive version: 3 - running with uid 0
    pkgacct working dir : /home/cpbackuptmp/cpbackup/monthly/first
    Copying Reseller Config...Done
    Copying Suspension Info (if needed)...Done



    This went on for the whole process backing up all the accounts and then the last bit of the log shows :-

    Storing ssl domain......Done
    Copying password.......Done
    Copying shell.......Done
    Creating Archive ....Done
    pkgacctfile is: /home/cpbackuptmp/cpbackup/monthly/lbrill.tar.gz

    size is: 17965657

    homesize is: 20127744
    Net::FTP=GLOB(0xa022c28)<<< 220 ProFTPD 1.3.2e Server (ProFTPD) [ipaddresswashere]
    Net::FTP=GLOB(0xa022c28)>>> USER usernamewashere
    Net::FTP=GLOB(0xa022c28)<<< 331 Password required for usernamewashere
    Net::FTP=GLOB(0xa022c28)>>> PASS ....
    Net::FTP=GLOB(0xa022c28)<<< 230 User usernamewashere logged in
    Net::FTP=GLOB(0xa022c28)>>> TYPE I
    Net::FTP=GLOB(0xa022c28)<<< 200 Type set to I
    Net::FTP=GLOB(0xa022c28)>>> MKD cpbackup
    Net::FTP=GLOB(0xa022c28)<<< 550 cpbackup: Permission denied
    Net::FTP=GLOB(0xa022c28)>>> MKD cpbackup/monthly
    Net::FTP=GLOB(0xa022c28)<<< 550 cpbackup/monthly: No such file or directory
    Net::FTP=GLOB(0xa022c28)>>> CWD cpbackup/monthly
    Net::FTP=GLOB(0xa022c28)<<< 550 cpbackup/monthly: No such file or directory
    Net::FTP=GLOB(0xa022c28)>>> ALLO 17965657
    Net::FTP=GLOB(0xa022c28)<<< 202 No storage allocation necessary
    Net::FTP=GLOB(0xa022c28)>>> PORT 78,129,180,168,160,226
    Net::FTP=GLOB(0xa022c28)<<< 200 PORT command successful
    Net::FTP=GLOB(0xa022c28)>>> STOR lbrill.tar.gz
    Net::FTP=GLOB(0xa022c28)<<< 550 lbrill.tar.gz: Permission denied
    Unable to connect to remote FTP server.
    [cpbackup] Completed at Tue Aug 7 18:02:09 2012
    root@server1 [/]#

    Does anyone have any clue why it's failing??

    I'd really appreciate some help!

    Thanks in advance


    Rod
    Last edited by rodpascoe; 08-12-2012 at 04:46 AM.

  2. #2
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    2,128
    cPanel/WHM Access Level

    Root Administrator

    Default Re: FTP Backups not working

    Hello

    Please ensure that "FTP Backup Passive Mode" is enabled via:

    "WHM >> Backup >> Configure Backup"

    If the issue persists, it sounds like there is an issue with the permissions for the FTP user on the remote FTP server. We can try to reproduce the issue on a support ticket:

    Submit A Ticket

    You can post the ticket number here and we can track the issue for you.

    Thank you.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

Similar Threads

  1. FTP Backups terminating with FTP time out for big accounts
    By Kent Brockman in forum Archived Feature Requests
    Replies: 2
    Last Post: 01-14-2011, 02:11 PM
  2. Replies: 1
    Last Post: 11-12-2008, 11:06 AM
  3. ftp backups not working
    By NoAgendas in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 08-12-2006, 10:50 PM
  4. Replies: 0
    Last Post: 09-22-2005, 05:32 PM
  5. Incremental Backups not working via ftp
    By the_techs in forum cPanel & WHM Discussions
    Replies: 8
    Last Post: 06-29-2005, 07:35 PM