duplicity can't find remote backup directory?

Posted by leeand00 on Server Fault See other posts from Server Fault or by leeand00
Published on 2011-11-22T06:41:31Z Indexed on 2011/11/22 9:59 UTC
Read the original article Hit count: 214

Filed under:
|
|
|
|

Using my private key to do so, this command allows me to connect to /home/backupUser/backup just fine:

$ sudo sftp -oPort=7843 [email protected]:backup

However when I run duplicity, I get the following error:

duplicity full --exclude ... / scp://backupUser:[email protected]:7843:/backup 

bash: [email protected]:7843./backup: No such file or directory

I'm under the assumption that duplicity would interpret the /backup path as relative to the user's home directory.

But since the above command didn't work, I also tried leaving off the / in the backup directory at the end of the command, i.e.

duplicity full --exclude ... / scp://backupUser:[email protected]:7843:backup 
bash: [email protected]:7843:backup: command not found

Is there something I'm missing here, like adding the passcode for the private key to make this command work?

© Server Fault or respective owner

Related posts about ssh

Related posts about backup