Trying to backup Ubuntu 18.04.1 server using duplicity
to a FTPS (FTP over SSL) server. The password is stored in the FTP_PASSWORD
environment variable as suggested. The duplicity command is:
duplicity /path/to/backup ftps://user@hostname/some/dir
The problem is that this translates into the following when it turns around and calls lftp
open -u 'user,pass` ftps://hostname
This will not work until you change the open command to (without the ftps://
prefix on the hostname:
open -u 'user,pass` hostname
What I cannot figure out is either:
- How to tell
duplicity
not to build up theopen
command with theftps://
prefix. - How to get
lftp
to work with the prefix
Note: The FTPS server works fine with other FTP clients, and even works properly with lftp
as long as I build up the open
command correctly.
that seems wrong, https://lftp.yar.ru/lftp-man.html clearly states urls are viable
also
so removing ftps:// simply makes lftp connect via ftp which is probably not what you want.
i'd suggest you to enable duplicity max. verbosity '-v9' and find out why lftp fails to connect via ftps://
..ede/duply.net