"Remote file or directory does not exist" while running cleanup

Asked by Geoff Akerlund on 2011-08-22

Hello. When I try to run this script:

export PASSPHRASE=mypass
duplicity cleanup --ssh-options="-oIdentityFile=~/.ssh/id_rsa" --force scp://geoff@10.1.1.85:4887//my/backup/directory
unset PASSPHRASE

I get these errors:

Local and Remote metadata are synchronized, no sync needed.
Warning, found the following local orphaned signature files:
duplicity-new-signatures.20110804T070040Z.to.20110805T070022Z.sigtar.part
duplicity-new-signatures.20110806T070030Z.to.20110807T070025Z.sigtar.part
Warning, found the following remote orphaned signature files:
duplicity-new-signatures.20110803T070007Z.to.20110805T070240Z.sigtar.gpg
duplicity-new-signatures.20110805T070240Z.to.20110807T070228Z.sigtar.gpg
duplicity-new-signatures.20110807T070228Z.to.20110809T070010Z.sigtar.gpg
Warning, found the following orphaned backup files:
[duplicity-inc.20110804T070040Z.to.20110805T070022Z.manifest.part]
[duplicity-inc.20110806T070030Z.to.20110807T070025Z.manifest.part]
Last full backup date: Sun Aug 14 00:00:09 2011
Deleting these files from backend:
duplicity-new-signatures.20110804T070040Z.to.20110805T070022Z.sigtar.part
duplicity-new-signatures.20110806T070030Z.to.20110807T070025Z.sigtar.part
duplicity-inc.20110804T070040Z.to.20110805T070022Z.manifest.part
duplicity-inc.20110806T070030Z.to.20110807T070025Z.manifest.part
duplicity-new-signatures.20110803T070007Z.to.20110805T070240Z.sigtar.gpg
duplicity-new-signatures.20110805T070240Z.to.20110807T070228Z.sigtar.gpg
duplicity-new-signatures.20110807T070228Z.to.20110809T070010Z.sigtar.gpg
Remote file or directory does not exist in command='sftp -oIdentityFile=~/.ssh/id_rsa -oPort=4887 -oServerAliveInterval=15 -oServerAliveCountMax=2 geoff@10.1.1.85'
Running 'sftp -oIdentityFile=~/.ssh/id_rsa -oPort=4887 -oServerAliveInterval=15 -oServerAliveCountMax=2 geoff@10.1.1.85' failed (attempt #1)
Remote file or directory does not exist in command='sftp -oIdentityFile=~/.ssh/id_rsa -oPort=4887 -oServerAliveInterval=15 -oServerAliveCountMax=2 geoff@10.1.1.85'
Running 'sftp -oIdentityFile=~/.ssh/id_rsa -oPort=4887 -oServerAliveInterval=15 -oServerAliveCountMax=2 geoff@10.1.1.85' failed (attempt #2)
Remote file or directory does not exist in command='sftp -oIdentityFile=~/.ssh/id_rsa -oPort=4887 -oServerAliveInterval=15 -oServerAliveCountMax=2 geoff@10.1.1.85'
Running 'sftp -oIdentityFile=~/.ssh/id_rsa -oPort=4887 -oServerAliveInterval=15 -oServerAliveCountMax=2 geoff@10.1.1.85' failed (attempt #3)
Remote file or directory does not exist in command='sftp -oIdentityFile=~/.ssh/id_rsa -oPort=4887 -oServerAliveInterval=15 -oServerAliveCountMax=2 geoff@10.1.1.85'
Running 'sftp -oIdentityFile=~/.ssh/id_rsa -oPort=4887 -oServerAliveInterval=15 -oServerAliveCountMax=2 geoff@10.1.1.85' failed (attempt #4)
Remote file or directory does not exist in command='sftp -oIdentityFile=~/.ssh/id_rsa -oPort=4887 -oServerAliveInterval=15 -oServerAliveCountMax=2 geoff@10.1.1.85'
Running 'sftp -oIdentityFile=~/.ssh/id_rsa -oPort=4887 -oServerAliveInterval=15 -oServerAliveCountMax=2 geoff@10.1.1.85' failed (attempt #5)
Giving up trying to execute 'sftp -oIdentityFile=~/.ssh/id_rsa -oPort=4887 -oServerAliveInterval=15 -oServerAliveCountMax=2 geoff@10.1.1.85' after 5 attempts

I'm pretty sure the target_path is correct, since I copied it from the script I use to backup. Any ideas?

Regards,
Geoff

Question information

Language:
English Edit question
Status:
Answered
For:
Duplicity Edit question
Assignee:
No assignee Edit question
Last query:
2011-08-22
Last reply:
2011-08-22
edso (ed.so) said : #1

On 22.08.2011 05:40, Geoff Akerlund wrote:
> New question #168784 on Duplicity:
> https://answers.launchpad.net/duplicity/+question/168784
>
> Hello. When I try to run this script:
>
> export PASSPHRASE=mypass
> duplicity cleanup --ssh-options="-oIdentityFile=~/.ssh/id_rsa" --force scp://geoff@10.1.1.85:4887//my/backup/directory
> unset PASSPHRASE
>

> Remote file or directory does not exist in command='sftp -oIdentityFile=~/.ssh/id_rsa -oPort=4887 -oServerAliveInterval=15 -oServerAliveCountMax=2 geoff@10.1.1.85'
> Running 'sftp -oIdentityFile=~/.ssh/id_rsa -oPort=4887 -oServerAliveInterval=15 -oServerAliveCountMax=2 geoff@10.1.1.85' failed (attempt #5)
> Giving up trying to execute 'sftp -oIdentityFile=~/.ssh/id_rsa -oPort=4887 -oServerAliveInterval=15 -oServerAliveCountMax=2 geoff@10.1.1.85' after 5 attempts
>
> I'm pretty sure the target_path is correct, since I copied it from the script I use to backup. Any ideas?
>

Weird. please try to backup and watch out for 'sftp -oIdentityFile=~/.ssh/id_rsa -oPort=4887 -oServerAliveInterval=15 -oServerAliveCountMax=2 ...' lines. Do they contain the correct path?

Also please check if you are using latest duplicity or tell your version and check if the Changelog mentiones anything similar to be fixed since then. It's probably more concluding to use the latest anyway.

ede/duply.net

Sorry, I forgot to mention I am using Duplicity 0.6.13. All the paths are correct as far as I can tell. Although no paths are presented in the error log I pasted, which I thought was weird. I have updated to 0.6.15 and will update if the problem persists.

Can you help with this problem?

Provide an answer of your own, or ask Geoff Akerlund for more information if necessary.

To post a message you must log in.