info:mirroring
This is an old revision of the document!
Mirroring
Using Unison and FTP hosts
- Install unison (and unison-gtk) and curlftpfs:
aptitude install curlftpfs unison unison-gtk
- Setup a local mount path:
mkdir /mnt/shared
- Modify
/etc/fstab
to contain the fuse entry:curlftpfs#user:password@host /mnt/shared fuse rw,uid=1000,user,noauto,allow_other 0 0
Replace uid=1000 with the number of your primary user. Issue the command
id
to get theuid
value. - To be able to mount the shared directory as a normal user, add your user to the
fuse
group:adduser USER fuse
- Sometimes it is also necessary to allow fuse to be mounted by other users, edit
/etc/fuse.conf
to have the optionuser_allow_other
. - Create a synchronization directory in your home:
mkdir ~/syn
- Mount the directory (it is not mounted automatically):
mount /mnt/shared
- Start unison:
unison-gtk
and specify~/syn
as local and/mnt/shared
as remote site.
info/mirroring.1262689257.txt.gz · Last modified: 2010/01/05 11:00 by moritz