DirectAdmin backup via FTPS

niconphantom

New member
Joined
Dec 28, 2014
Messages
6
Hi everyone,

I have an off site FTP server where I am planning to store backups (I am using default DirectAdmin backup option). FTP server allows connections only from the server with DirectAdmin. I am able to backup data using regular FTP, however I would like to use FTPS to make it a bit more secure. I tested connection via FTPS using FileZilla from my computer, everything seems to be Ok and when FTP client connects via FTPS it gets a certificate.

If I disable regular FTP connections and allow only FTPS, I see the following error in DA when I run a cron task:

Unexpected response: TLS/SSL protection required.
ncftpls: cannot open myftphost.com: miscellaneous error occurred while trying to login to the host.
/usr/bin/ncftpls returned error code 1
FTP information invalid.

So looks like I need to somehow import a certificate from my FTP. Any idea how to do that or what needs to be done for backups via FTPS?

Thank you in advance
 
Looks like I found answer to my question - http://www.ncftp.com/ncftp/doc/faq.html

"Q. Does NcFTP support any secure FTP modes a la SFTP/SSL/SSH Tunnels?

A. NcFTP does not have any built-in support for encryption or secure FTP of any type. We do not support any type of interaction with hacks such as FTP over SSH tunnels. We may implement a secure FTP mode at a future date, but please do not ask for an ETA."

Is there any way to replace ncftp with something different to get a FTPS support?
 
I installed Rsnapshot to create incremental backups of our webservers. It works like a charm and is pretty safe because you transfer the backups through ssh.
If you are planning to use Rsnapshot, you also need to create an RSA key to create a passwordless login from your server to your backup server (or the other way around).
 
Thanks for the suggestion. Rsnapshot looks good, however I would like to use default DA backup option as it's pretty simple and it's quite easy to select all the required accounts/ options to backup. As default DA backup option seems to be using NcFTPls, it looks like there is no option to have FTPS due to NcFTP limitation. This is what I found from their Website: http://www.ncftp.com/ncftp/doc/faq.html

"Q. Does NcFTP support any secure FTP modes a la SFTP/SSL/SSH Tunnels?

A. NcFTP does not have any built-in support for encryption or secure FTP of any type. We do not support any type of interaction with hacks such as FTP over SSH tunnels. We may implement a secure FTP mode at a future date, but please do not ask for an ETA"

Is there any way to replace NcFTP with other client that supports FTPS or any workaround how to connect via NcFTP using TLS/SSL?
 
I do not want to start a new thread.
I have simillar problem.
I have two DA servers and one backup server.

centos 5/DA1.50.1 FTPS Admin upload works OK

but on

centos 7/DA1.50.1 works only no-FTPS
when I set to FTPS .. DA gives me "FTP information invalid" when I try to save settings

I did not found anything on logs on that centos7box
 
Back
Top