rodpascoe

Member
Aug 12, 2012
10
5
3
cPanel Access Level
Root Administrator
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 :-


[email protected] [/]# 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
[email protected] [/]#

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

I'd really appreciate some help!

Thanks in advance


Rod
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
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.