From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/29232 Path: main.gmane.org!not-for-mail From: soma@cs.unm.edu (Anil B. Somayaji) Newsgroups: gmane.emacs.gnus.general Subject: Re: Retrieve lost messages in agent directory Date: 15 Feb 2000 00:27:02 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035165938 1559 80.91.224.250 (21 Oct 2002 02:05:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:05:38 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 0AC1FD0520 for ; Tue, 15 Feb 2000 02:28:50 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id BAB10410; Tue, 15 Feb 2000 01:28:37 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 15 Feb 2000 01:27:29 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id BAA25200 for ; Tue, 15 Feb 2000 01:27:18 -0600 (CST) Original-Received: from cardinal.prod.itd.earthlink.net (cardinal.prod.itd.earthlink.net [207.217.121.154]) by mailhost.sclp.com (Postfix) with ESMTP id 7E9B1D0520 for ; Tue, 15 Feb 2000 02:27:22 -0500 (EST) Original-Received: from lydia.adaptive.net (sdn-ar-002nmalbuP220.dialsprint.net [206.133.143.236]) by cardinal.prod.itd.earthlink.net (8.9.3/8.9.3) with ESMTP id XAA07591; Mon, 14 Feb 2000 23:27:04 -0800 (PST) Original-Received: (from soma@localhost) by lydia.adaptive.net (8.9.3/8.9.3/Debian 8.9.3-6) id AAA06730; Tue, 15 Feb 2000 00:27:03 -0700 Original-To: Harry Putnam In-Reply-To: Harry Putnam's message of "14 Feb 2000 11:47:47 -0800" Original-Lines: 71 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:29232 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:29232 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Harry Putnam writes: > I hope someone here is well experienced with rsyncing Gnus setup from > place to place. My proceedure has been: I use rsync extensively to synchronize my desktop and laptop machines (where I mirror my whole home directory), and my home and school machines (where I'm a bit more selective). The main problem I see is that you aren't using --delete and --force. By default, rsync doesn't delete files and directories at the destination that aren't present at the source. These options ensure that it does. This is _dangerous_, but if you are mirroring your personal files, it is probably what you want (I like my deleted files to stay deleted). To suit my taste, I'd do something like this: * Create a Common directory, move all the files you want to sync up into that directory. You can make ~/Mail a symlink to ~/Common/Mail - gnus will work fine. To move your .newsrc.eld to Common, though, I'd suggest changing gnus-startup-file to point to a file in Common, such as ~/Common/newsrc. You will need a symlink for ~/.gnus.el, unless you twiddle with things in you .emacs. * Then, do something like this (assuming you are on desktop, and want to update laptop): rsync -a -v --delete --force -e ssh ~/Common laptop:. Note the lack of trailing slashes! I wouldn't bother with -z unless there is a slow connection between the machines. (Actually, I haven't timed it, but rsync is already pretty compute bound if there aren't too many files to transfer, so I don't see how -z would help over regular ethernet - but I could be wrong.) In addition, I created conditional aliases on the two machines, so the command I type indicates what direction I'm going in, and the wrong command doesn't exist on the wrong machine. I also have it echo what exactly it is doing (say, "Sending Common to laptop"). If you ever have remote windows up between your machines, this can be a life-saver. For the curious, I bothered setting this up for myself when I moved all of my email to CFS. I can now keep my personal email on our department's web server without worring about No File Security (NFS). So, in my case, what I synchronize is my ~/Crypt. As you might imagine, CFS could get upset if files and directories weren't mirrored exactly. I've been doing this for several months at least, and I've found that rsync does this with no problems (knock on wood). I hope this helps! --Anil - -- Anil Somayaji (soma@cs.unm.edu) http://www.cs.unm.edu/~soma +1 505 872 3150 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.1 (GNU/Linux) iEYEARECAAYFAjio/6MACgkQXOpXEmNZ3ScC5ACgiLKoNJJTEmkXLW3cqi71nYae kMYAnRTp3Tezd/f43gKKS3CjYQEOxcIn =BAty -----END PGP SIGNATURE-----