How to backup library bbdd to a remote ftp server!

Hi,
Ffirst of all sorry for my English.

I have a NAS where I have all my movies and I access the nas for playing movies perfectly.

I want to make directly bbdd backups in this remote ftp server (in my nas). Now I do it via SAMBA in my LAN but I want to do it in remote via internet in a second location.

In this second location from kodi client I access via ftp perfectly to my remote movies in my nas, but when trying to backup the bbdd I can not save it to my remote ftp server.
is it possible?

Thanks in advance