← Back to team overview

duplicity-team team mailing list archive

Re: [Question #168784]: "Remote file or directory does not exist" while running cleanup

 

Question #168784 on Duplicity changed:
https://answers.launchpad.net/duplicity/+question/168784

    Status: Open => Answered

edso proposed the following answer:
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

-- 
You received this question notification because you are a member of
duplicity-team, which is an answer contact for Duplicity.