User Tools

Site Tools


info:mirroring

This is an old revision of the document!


Mirroring

Using Unison and FTP hosts

  1. Install unison (and unison-gtk) and curlftpfs:
    aptitude install curlftpfs unison unison-gtk
  2. Setup a local mount path:
    mkdir /mnt/shared
  3. 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. Get this number from /etc/passwd: grep USER /etc/passwd. The first number is the user ID.

  4. Create a synchronization directory in your home: mkdir ~/syn
  5. Mount the directory (it is not mounted automatically): mount /mnt/shared
  6. Start unison: unison-gtk and specify ~/syn as local and /mnt/shared as remote site.
info/mirroring.1262688946.txt.gz · Last modified: 2010/01/05 11:55 by moritz

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki