1
2
I am trying to setup a backup of my Linux desktop machine on a Synology NAS with backintime.
However, I am stuck with the following error message:
Entfernter Rechner <nas.ip.address> unterstützt 'rsync -rtDH --links --no-p --no-g --no-o --dry-run --chmod=Du+wx /tmp/tmpAOVRI9 --rsh="ssh -p 22 " "<user>@<nas.ip.address>:/volume2/backup"' nicht:
3072
Translation:
Remote server <nas.ip.address> does not support 'rsync -rtDH --links --no-p --no-g --no-o --dry-run --chmod=Du+wx /tmp/tmpAOVRI9 --rsh="ssh -p 22 " "<user>@<nas.ip.address>:/volume2/backup"':
3072
Setup:
- Synology NAS: DS214play, running DS 5.2-5644
- Desktop: Linux Mint 17.2
- backintime: v1.0.34
What I have done so far:
- I have setup the NAS, so I can login as
<user>
using the users public ssh key. (Thus,ssh -p 22 <user>@<nas.ip.address>
works fine.) - I got sshfs working, so
sshfs -p 22 -o ServerAliveInterval=240 -o idmap=user <user>@<nas.ip.address>:/ </mountpoint/
works fine. (However,sshfs -p 22 -o ServerAliveInterval=240 -o idmap=user <user>@<nas.ip.address>:/volume2/backup </mountpoint/
fails with<user>@<nas.ip.address>:/volume2/backup: No such file or directory
, even though the directory exists on the nas.
When I run the command above in a shell on the desktop, I get the following error message (I've also tried without volum2/backup
but the result is the same):
rsync -rtDH --links --no-p --no-g --no-o --dry-run --chmod=Du+wx /tmp/tmpAOVRI9 --rsh="ssh -p 22 " "<user>@<nas.ip.address>:/volume2/backup"
Permission denied, please try again.
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.0]
It is also very important to check that home folder permissions on Synology are 755 (drwxr-xr-x). Otherwise ssh with key won't work and ask password instead. By default home folder was created with 777 permissions in my case (DSM 6.1). – yves – 2017-03-26T18:49:43.963
this information has been integrated in backitime FAQ with up date for DSM 6 – yves – 2017-03-29T19:20:20.043