Well,
it seems that message was a red herring.
Enabling more verbose logging, this is what is shown in the ltfp transmission:
---- Resolving host address...
---- IPv6 is not supported or configured
---- 1 address found: $NASIP
---- Connecting to nas ($NASIP) port 21
<--- 220 NAS FTP server ready.
---> FEAT
<--- 211- Extensions supported:
<--- AUTH TLS
<--- PBSZ
<--- PROT
<--- CCC
<--- SIZE
<--- MDTM
<--- REST STREAM
<--- MFMT
<--- TVFS
<--- MLST
<--- MLSD
<--- 211 End.
---> USER $username
<--- 331 Password required for mantide.
---> PASS $password
<--- 230 User $username logged in.
---> PWD
<--- 257 "/" is current directory.
---> MKD backupftp
<--- 550 backupftp: Permission denied.
---> MKD backupftp/backup-mantide
<--- 550 backupftp/backup-mantide: File exists.
---> MKD backupftp/backup-mantide/
<--- 550 backupftp/backup-mantide: File exists.
mkdir: Access failed: 550 backupftp/backup-mantide: File exists. (backupftp/backup-mantide/)
---> TYPE I
<--- 200 Type set to I.
---> PASV
<--- 227 Entering Passive Mode ($NASIP,217,122)
---- Connecting data socket to ($NASIP) port 55674
---- Data connection established
---> STOR backupftp/backup-mantide/duplicity-full.20240223T070031Z.vol2.difftar.gpg
<--- 150 Opening BINARY mode data connection for 'backupftp/backup-mantide/duplicity-full.20240223T070031Z.vol2.difftar.gpg'.
<--- 452 Error writing to file: No such file or directory.
---- Closing data socket
---> SIZE backupftp/backup-mantide/duplicity-full.20240223T070031Z.vol2.difftar.gpg
<--- 213 346300416
copy: put rolled back to 349027744, seeking get accordingly
copy: put rolled back to 346300416, seeking get accordingly
---> PASV
<--- 227 Entering Passive Mode ($NASIP,217,21)
---- Connecting data socket to ($NASIP) port 55573
---- Data connection established
---> REST 346300416
<--- 350 Restarting at 346300416. Send STORE or RETRIEVE to initiate transfer.
---> STOR backupftp/backup-mantide/duplicity-full.20240223T070031Z.vol2.difftar.gpg
<--- 150 Opening BINARY mode data connection for 'backupftp/backup-mantide/duplicity-full.20240223T070031Z.vol2.difftar.gpg'.
<--- 452 Error writing to file: No such file or directory.
---- Closing data socket
---> SIZE backupftp/backup-mantide/duplicity-full.20240223T070031Z.vol2.difftar.gpg
<--- 213 346300416
copy: put rolled back to 346445592, seeking get accordingly
copy: put rolled back to 346300416, seeking get accordingly
---> PASV
<--- 227 Entering Passive Mode ($NASIP,217,47)
---- Connecting data socket to ($NASIP) port 55599
---- Data connection established
---> REST 346300416
<--- 350 Restarting at 346300416. Send STORE or RETRIEVE to initiate transfer.
---> STOR backupftp/backup-mantide/duplicity-full.20240223T070031Z.vol2.difftar.gpg
<--- 150 Opening BINARY mode data connection for 'backupftp/backup-mantide/duplicity-full.20240223T070031Z.vol2.difftar.gpg'.
<--- 452 Error writing to file: No such file or directory.
---- Closing data socket
---> SIZE backupftp/backup-mantide/duplicity-full.20240223T070031Z.vol2.difftar.gpg
<--- 213 346300416
copy: put rolled back to 346455728, seeking get accordingly
copy: put rolled back to 346300416, seeking get accordingly
---> PASV
<--- 227 Entering Passive Mode ($NASIP,217,13)
---- Connecting data socket to ($NASIP) port 55565
---- Data connection established
---> REST 346300416
<--- 350 Restarting at 346300416. Send STORE or RETRIEVE to initiate transfer.
---> STOR backupftp/backup-mantide/duplicity-full.20240223T070031Z.vol2.difftar.gpg
<--- 150 Opening BINARY mode data connection for 'backupftp/backup-mantide/duplicity-full.20240223T070031Z.vol2.difftar.gpg'.
<--- 452 Error writing to file: No such file or directory.
---- Closing data socket
---> SIZE backupftp/backup-mantide/duplicity-full.20240223T070031Z.vol2.difftar.gpg
<--- 213 346300416
copy: put rolled back to 346445592, seeking get accordingly
copy: put rolled back to 346300416, seeking get accordingly
---> PASV
<--- 227 Entering Passive Mode ($NASIP,217,163)
---- Connecting data socket to ($NASIP) port 55715
---- Data connection established
---> REST 346300416
<--- 350 Restarting at 346300416. Send STORE or RETRIEVE to initiate transfer.
---> STOR backupftp/backup-mantide/duplicity-full.20240223T070031Z.vol2.difftar.gpg
<--- 150 Opening BINARY mode data connection for 'backupftp/backup-mantide/duplicity-full.20240223T070031Z.vol2.difftar.gpg'.
<--- 452 Error writing to file: No such file or directory.
---- Closing data socket
---> SIZE backupftp/backup-mantide/duplicity-full.20240223T070031Z.vol2.difftar.gpg
<--- 213 346300416
copy: put rolled back to 346444144, seeking get accordingly
copy: put rolled back to 346300416, seeking get accordingly
---> PASV
<--- 227 Entering Passive Mode ($NASIP,216,246)
---- Connecting data socket to ($NASIP) port 55542
---- Data connection established
---> REST 346300416
<--- 350 Restarting at 346300416. Send STORE or RETRIEVE to initiate transfer.
---> STOR backupftp/backup-mantide/duplicity-full.20240223T070031Z.vol2.difftar.gpg
<--- 150 Opening BINARY mode data connection for 'backupftp/backup-mantide/duplicity-full.20240223T070031Z.vol2.difftar.gpg'.
<--- 452 Error writing to file: No such file or directory.
---- Closing data socket
---> SIZE backupftp/backup-mantide/duplicity-full.20240223T070031Z.vol2.difftar.gpg
<--- 213 346300416
copy: put rolled back to 346435456, seeking get accordingly
copy: put rolled back to 346300416, seeking get accordingly
---> PASV
<--- 227 Entering Passive Mode ($NASIP,217,144)
---- Connecting data socket to ($NASIP) port 55696
---- Data connection established
---> REST 346300416
<--- 350 Restarting at 346300416. Send STORE or RETRIEVE to initiate transfer.
---> STOR backupftp/backup-mantide/duplicity-full.20240223T070031Z.vol2.difftar.gpg
<--- 150 Opening BINARY mode data connection for 'backupftp/backup-mantide/duplicity-full.20240223T070031Z.vol2.difftar.gpg'.
<--- 452 Error writing to file: No such file or directory.
---- Closing data socket
---> SIZE backupftp/backup-mantide/duplicity-full.20240223T070031Z.vol2.difftar.gpg
<--- 213 346300416
copy: put rolled back to 346557840, seeking get accordingly
copy: put rolled back to 346300416, seeking get accordingly
put: /srv/nfs/misc/tmp/duplicity-asuietia-tempdir/mktemp-w5h4s33d-4: Fatal error: max-retries exceeded
---> QUIT
<--- 221 Goodbye. You uploaded 0 bytes and downloaded 0 bytes.
---- Closing control socket
From what I understand, here duplicity is trying to continue an interrupted
(previous) backup where the second volume was only partially transferred. It
connect to the NAS, it finds the file, it get the file size, it tries to
resume the transfer from that offset.
The error that comes from the NAS, when trying to resume the transfer, is "452
Error writing to file: No such file or directory."
I believe this is the correct error message that should emerge in the log when
not using the VERBOSITY=9 I just used now.
BTW, I removed that second volume and run the full backup again. It is now
still going on, but the problem seems solved.
Bye,
Giuseppe