Is it possible to use BIT without sshfs as sftp connections to my server are chrooted

Asked by Luke

I'm trying to set up a backup job from my Ubuntu 14.04 PC to a Synology NAS running (linux based) DSM 5.0.
Synology NASes chroot sftp connections to the root of the /volume1 directory, so the paths visible from an ssh/rsync connection differ from the sshfs/sftp paths (i.e /volume1/MyBackupDir via ssh/rsync becomes /MyBackup dir when mounted via sshfs).

I selected full rync mode thinking that might not require an sshfs mount, but got the following error message:

"Can't mount sshfs -p 22 -o ServerAliveInterval=240 -o idmap=user user@server:/volume1/MyBackupDir /home/user/.local/share/backintime/mnt/4720F256/mountpoint"

I can work around the issue by installing a different sftp-server via optware (www.nslu2-linux.org/wiki/Optware) and configuring sshd_config, but that is not optimal as the NAS reverts the sshd_config on every firmware update and I have to remember to reconfigure it or my backups fail.

Is it possible to use BIT without sshfs? Alternatively, is it possible to specify different rsync and sshfs paths?

Question information

Language:
English Edit question
Status:
Solved
For:
Back In Time Edit question
Assignee:
No assignee Edit question
Solved by:
Germar
Solved:
Last query:
Last reply:
Revision history for this message
Best Germar (germar) said :
#1

@quentin-decembry wrote a very good wiki on how to use Synology DSM 5 with BackInTime. Take a look at
http://wiki.qedinux.be/index.php?title=BackInTime_to_Synology_DSM_5

Revision history for this message
Luke (tiliqua-au) said :
#2

Thanks, didn't think of a bind mount. Setting up the bind mount in /etc/rc.local survived a firmware upgrade as well.