backup_target_user: user
backup_target_pass: password
should be placed in all/vault.yml as their were not recognize when in production/vault.yml
I set the target to: target: ftp://{{ backup_target_user }}[:{{ backup_target_pass }}]@xyz.ftp.dhosting.pl[:21]
and server log shows the error
Attempt 1 failed. BackendException: Error running 'lftp -c "source /tmp/duplicity-etq94hg0-tempdir/mkstemp-umg8ffmk-1; ( cd uploads/ && ls ) || ( mkdir -p uploads/ && cd uploads/ && ls )"': returned 1, with output:
open: Not connected
cd: Not connected
mkdir: Not connected
I found out that this problem would gone after lftp update → source
FTP
ftp[s]://user[:password]@other.host[:port]/some_dir
**NOTE:** use lftp+, ncftp+ prefixes to enforce a specific backend, default is lftp+ftp://...
but it’s looks like NcFTP is not installed
--- Start running command BKP at 06:15:04.230 ---
/bin/sh: 1: ncftpls: not found
NcFTP not found: Please install NcFTP version 3.1.9 or later
06:15:05.293 Task 'BKP' failed with exit code '27'.
--- Finished state FAILED 'code 27' at 06:15:05.293 - Runtime 00:00:01.062 ---
and finally lftp+sftp:// gave me the same error as on ftp
LFTP version is 4.8.4
Reading globbing filelist /etc/duply/productionurl_uploads/exclude
Attempt 1 failed. BackendException: Error running 'lftp -c "source /tmp/duplicity-ypnjdqwe-tempdir/mkstemp-3q46b7l1-1; ( cd backup/productionurl/uploads/ && ls ) || ( mkdir -p backup/productionurl/uploads/ && cd backup/productionurl/uploads/ && ls )"': returned 1, with output:
open: Not connected
cd: Not connected
mkdir: Not connected
So neither ftp nor sftp worked for me. I would appreciate help making this work. Thank you.