[Wylug-help] Linux equvilance to 'off line folders'?

Andy Macdonald andy at greenhead.ac.uk
Mon Mar 22 17:49:23 GMT 2004


Yes, rsync works very well - I was using it to mirror our mail server with almost 2000 mailboxes on, before we got clustering. I seem to remember there was a switch to delete files that had been deleted too ...

On Mon, 22 Mar, James Holden wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> lists at mungewell.org wrote:
> | Hi all,
> | having managed to locate a cheap laptop for my wife I am having to
> | rearrange how our system works. I want to maintain the 'server' as the
> | master repositary for our files, so we can basically use any machine we
> | have. However as I also want to be able to use/update files whilst not
> | network connected I need to implement some form of 'offline folders'.
> |
> | I imagine that files might only be changed by a single person on a
> | single machine between synchronisations, so I wouldn't need the ability
> | to merge changes from different sources.
> |
> | I remember someone mentioning, a while ago, that they were using CVS to
> | access their home directory.
> |
> | Is this a good approach? and does anyone have any alternative
> | suggestions?
> |
> | Simon.
>
> My laptop rsync's /home once an hour. It works very well, and uses ssh
> public keys to authenticate.
>
> The command looks like this:
>
> rsync -avpogtL --numeric-ids --rsh="ssh -l root" \
> - --rsync-path=/usr/freeware/bin/rsync \
> - --exclude-from=/root/thinkpad_excludes.txt /home/ \
> indigo2:/data/backups/thinkpad/
>
> Replace the --rsync-path argument with the path to rsync on the server
> (/usr/freeware/bin/rsync in this case). /root/thinkpad_excludes.txt
> contains entries like:
>
> */.tmp
> */.temp
> */temp
> */noarchive
> */scratch
> */.??*/*/*/Cache
> */.gimp*/gimpswap*
> */.Trash/*
>
> This avoids rsyncing pointless stuff, like huge undo files from Gimp.
>
> Generate the public key on the laptop with 'ssh-keygen -t rsa' and
> append the contents of the resulting .pub file to
> ~root/.ssh/authorized_keys. Make sure public key authentication is
> enabled in sshd.conf.
>
>
> James
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFAXx3vmHdHQoNYhjoRAn6CAKDCtyt1BcUmY+pLhMS3HZi75DlEVgCdG8nO
> Ms63uwIAkZyN0NQ3+r+jkG8=
> =+SIL
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Wylug-help mailing list
> Wylug-help at wylug.org.uk
> http://list.wylug.org.uk/mailman/listinfo/wylug-help
>

--
Andy Macdonald
Network Manager, Greenhead College
Huddersfield, HD1 4ES, England.
Tel: 01484 422032; Mobile: 07932 635057
See award winning web site: http://www.greenhead.ac.uk












More information about the Wylug-help mailing list