Synchronizing directory hierarchies via SFTP

krad kraduk at gmail.com
Tue Dec 8 08:26:34 UTC 2015


Me to in conjunction with autofs. The system I was using it on had very
regular file updates and the remote system was a windows box, so a recipe
for things to go wrong. The main issue I had was the fuse/sshfs cache would
often get out of sync with the remote server. Forcibly unmounting the
filesystem after the batch run sorted this as well as a bit of script
locking. Since then all has been good. This was linux based though.

On 7 December 2015 at 23:58, Michael B. Eichorn <ike at michaeleichorn.com>
wrote:

> On Tue, 2015-12-08 at 00:08 +0100, Patrick Hess wrote:
> > Terje Elde wrote:
> > > You could mount the sftp locally (sshfs, fuse?), and then use rsync
> > > as if with two local dirs?
> >
> > Thanks, that's definitely an interesting option that didn't come
> > to my mind.
> >
> > > (If that will be efficient depends a lot on your workload)
> >
> > Based on my previous experience with FUSE a couple of years ago,
> > I'm actually more concerned about the reliability of this solution.
> > In my case I'm looking at some 1800 files, for a total of 3.4 GB,
> > of which about 300 MB will change weekly. Is this a workload FUSE
> > could be trusted with nowadays or am I likely to run into issues
> > in the long term?
>
> I havn't used it on a FreeBSD rig, but I use sshfs regularly on my
> Linux rigs and it has been reliable and surprisingly performant. I
> don't know how similar/different the Linux and FreeBSD fuse
> implementations are so, YMMV.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list