duplicity-team team mailing list archive
-
duplicity-team team
-
Mailing list archive
-
Message #05690
[Question #695777]: scp Permission denied
New question #695777 on Duplicity:
https://answers.launchpad.net/duplicity/+question/695777
Today I upgraded duplicity:
duplicity 0.7.18.2-1
Now my backups don't work anymore:
duplicity --ssh-options="-oIdentityFile=/etc/ssh/ssh_host_rsa_key" /root/mytest/ scp://USERNAME@xxxxxxxxxxxxxxxxxxxxxx//users/USERNAME/BAK/mytest/
Output:
Local and Remote metadata are synchronized, no sync needed.
Last full backup left a partial set, restarting.
Last full backup date: Sat Feb 27 12:17:52 2021
Reuse configured PASSPHRASE as SIGN_PASSPHRASE
RESTART: The first volume failed to upload before termination.
Restart is impossible...starting backup from beginning.
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: none
Reuse configured PASSPHRASE as SIGN_PASSPHRASE
No signatures found, switching to full backup.
Attempt 1 failed. BackendException: scp remote error: scp: '/users/USERNAME/BAK/mytest/': Permission denied
But manual scp works:
scp -oIdentityFile=/etc/ssh/ssh_host_rsa_key /root/mytest/file USERNAME@xxxxxxxxxxxxxxxxxxxxxx:/users/USERNAME/BAK/mytest/
Output:
file 100% 0 0.0KB/s 00:00
Also, list-current-files works:
duplicity list-current-files --ssh-options="-oIdentityFile=/etc/ssh/ssh_host_rsa_key" scp://USERNAME@xxxxxxxxxxxxxxxxxxxxxx//users/USERNAME/BAK/mytest/
Any idea what's going wrong here?
--
You received this question notification because your team duplicity-team
is an answer contact for Duplicity.