[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Synch file with Unison on remote server



On Fri, Apr 20, 2007 at 06:46:00PM +0200, Mirco Piccin wrote:
> But it takes many minutes to tar all, every day.
> 
> So i think to use Unison (it copy only last modified or new files) with the
> remote server.
> First, i try to use Unison directly with the server, but it wants the same
> version both on client and in the server.
> 
> So i decide to procede in this way:
> - smbmount / sshfs remote folder;
> - unison all the files;
> 
> And i'd like to do a procedure that my wife can launch by a menu entry (not
> shell for her!!).
> 
> The first problem founded:
> smbmount not works well (it does not permit to chown/chmod  remote file - i
> don't know why) and unison failed;
> 
> The second problem founded:
> sshfs works great, but wait for user password - is not possible to pass it
> as a parameter.
> 
> I think i will use sshfs, but:
> how can i pass password as parameter to sshfs
> without wait for user input??


Set up ssh to use keys.  See the debian-reference for ssh logins without
passwords.

I haven't used smbmount or sshfs so I'm just asking: do they handle the
permissions and owners that tar keeps track of?

Doug.



Reply to: