Please describe what you are doing to trigger the bug:
Storage: SFTP
duplicacy backup
duplicacy prune -keep 1:2 -exhaustive
Please describe what you expect to happen (but doesn’t):
prune the snapshots
Please describe what actually happens (the wrong behaviour):
It does prune the snapshots, but additionally I get with every backup and then prune run a huge list of:
Deleted file 00/c8858a6b61a1aa01166f93a47f80d50b0fc19b9a0066a89d4ab9282bb7f72e.hewxsoig.tmp from the storage
Deleted file 00/c8858a6b61a1aa01166f93a47f80d50b0fc19b9a0066a89d4ab9282bb7f72e.geqbzzln.tmp from the storage
Deleted file 00/c8858a6b61a1aa01166f93a47f80d50b0fc19b9a0066a89d4ab9282bb7f72e.ivmlsxgz.tmp from the storage
Deleted file 00/382c4c67f9b0ee1f85f302a913dbcca50127ce2f97b5f42151c75287db55c5.dpancdqd.tmp from the storage
Deleted file 00/c8858a6b61a1aa01166f93a47f80d50b0fc19b9a0066a89d4ab9282bb7f72e.jfmhpxli.tmp from the storage
Deleted file 00/c8858a6b61a1aa01166f93a47f80d50b0fc19b9a0066a89d4ab9282bb7f72e.mmwmypst.tmp from the storage
Deleted file 00/c8858a6b61a1aa01166f93a47f80d50b0fc19b9a0066a89d4ab9282bb7f72e.upktajzb.tmp from the storage
Somehwere I read that backup is creating those tmp files but then renames them – and this is apparently not happening for SFTP (at least for my storage). I’d be happy to support debugging this.
Didn’t realize the suffix is randomized. I was searching for an option to turn that behaviour off in the debian sftp server, but couldn’t find any. Also I couldn’t find an alternative sftp server that has turned it off. What I do find is the recommendaton that the uploading client should delete the tmp file. So: It would be nice if duplicacy would delete partially uploaded files that got interrupted or tries to resume on the same partial uploaded files?