Page 1 of 2

Issues making backup to FTP

Posted: Thu Mar 09, 2017 2:04 pm
by mainh
Hello!

I'm facing some issues making backups to my external FTP server and all files that are backed up to the server have the filesize 0 byte, even though I've made sure that the FTP servers works correctly and why this happens is very weird.

Anyone have any idea how to resolve this issue? It's rather frustrating as it would be great to have external backups up and running automatically without this issue occurring.

OS: Ubuntu 14.04 LTS

Image

Re: Issues making backup to FTP

Posted: Thu Mar 09, 2017 2:21 pm
by skamasle
What say logs ?

Try run backup manually and see what happen

Re: Issues making backup to FTP

Posted: Thu Mar 09, 2017 2:25 pm
by mainh
skamasle wrote:What say logs ?

Try run backup manually and see what happen
I've looked into the logs and the issue occur both when running the backup manually, as well as automatically. Here's a snippet from the logs:

Code: Select all

-- SUMMARY --
2017-03-05 21:05:59 Local: /backup/admin.2017-03-05.tar
2017-03-05 21:05:59 Remote: ftp://89.221.255.xxxMHBackup/admin.2017-03-05.tar
2017-03-05 21:07:59 Size: 407 Mb
2017-03-05 21:07:59 Runtime: 1 minute

Re: Issues making backup to FTP

Posted: Thu Mar 09, 2017 2:28 pm
by skamasle
Try connect to your FTP from your server, maybe firewall have closed ports or you need open pasive ports

Re: Issues making backup to FTP

Posted: Thu Mar 09, 2017 3:04 pm
by mainh
skamasle wrote:Try connect to your FTP from your server, maybe firewall have closed ports or you need open pasive ports
The FTP server is open and the connect is established, I've uploaded files to it over FTP and SCP which worked flawlessly. The server VSFTPD server that I use to receive the files on is in fact fully open and passive mode is enabled..

Re: Issues making backup to FTP

Posted: Sun Mar 26, 2017 6:48 am
by anthonyrossbach
I have had the same problem for over a year, got not even one response about it. I have never found a fix so had to create my own script to remote in and copy over the files that are not on the remote sever every few minutes.

Re: Issues making backup to FTP

Posted: Mon Mar 27, 2017 1:56 pm
by peterbrinck
I've also asked about this problem a few months back, and no answer

I've seen a few other posts here about this issue, but no response and no fix

Re: Issues making backup to FTP

Posted: Fri Jun 30, 2017 8:42 am
by blueberry
did anyone manage to solve this?

Am also having this Remote FTP Backup 0mb filesize issue.

Re: Issues making backup to FTP

Posted: Mon Jul 10, 2017 9:09 am
by huloza
blueberry wrote:did anyone manage to solve this?

Am also having this Remote FTP Backup 0mb filesize issue.
configure in your firewall to accept the range of passive ports that the ftp server is using(TCP). that solves this problem.

Regards!

Re: Issues making backup to FTP

Posted: Fri Jul 14, 2017 2:04 pm
by blueberry
huloza wrote:
blueberry wrote:did anyone manage to solve this?

Am also having this Remote FTP Backup 0mb filesize issue.
configure in your firewall to accept the range of passive ports that the ftp server is using(TCP). that solves this problem.

Regards!
Hi, can u advice where and how do i do this? I'm trying to backup to a local network IP address. SFTP works fine, but FTP transfers 0mb file size. And wondering how to get FTP to work?

In VestaCP, the firewall tab setting is as such:

ACCEPT TCP / FTP 21,12000-12100 0.0.0.0/0