🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #52015

Re: moving spool from inn2.2.1 to inn2.3.1

#52015
From: Kjetil Torgrim Homme
Date: Wed, 25 Apr 2001 03:14
32 lines
2168 bytes
[Jeffrey M. Vinocur]

>   You can rebuild with makehistory -O and then makedbz, but many
>   people recommend feeding the articles from the old spool to the
>   new server using innxmit as a more robust mechanism for
>   upgrading.

I have a quick hack for sm so you can say

cut -f3 ~news/db/history | grep -v '^$' | sm -S -f - | rsh newserver rnews

(I've submitted a prettier patch for inclusion in INN 2.3, the code
base there is a lot cleaner.)

http://www.ifi.uio.no/~kjetilho/hacks/sm.c-1.12-patched

Replace frontends/sm.c with this file and recompile.  You can run the
new sm binary without installing it first.

The main advantage of this patch over innxmit is that it's a little
faster (you avoid NNTP protocol overhead/latencies).  It's also a
handy way of making a backup of your spool in a readable format if you
don't have two news servers (replace "rsh newserver" with "dd
of=/dev/rmt/0cbn obs=64512").  But the original reason for writing
this was to populate the overviews of a Diablo reader frontend, and in
that case you only need the header (-H) -- the rest is thrown away
anyway.


Kjetil T.

Technical Details
Message-ID: <1r8zkpk6x2.fsf@thrir.ifi.uio.no>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!129.240.148.23!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail
References: <3AE05AB5.9FB68890@gatech.edu> <9bpor4$mip$1@marduk.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <1r8zkpk6x2.fsf@thrir.ifi.uio.no>
Subject: Re: moving spool from inn2.2.1 to inn2.3.1
Date: Wed, 25 Apr 2001 03:14:01 +0000
From: Kjetil Torgrim Homme <kjetilho@ifi.uio.no>
References: <3AE05AB5.9FB68890@gatech.edu> <9bpor4$mip$1@marduk.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!129.240.148.23!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail
Newsgroups: news.software.nntp
Organization: Dept. of Informatics, University of Oslo, Norway
Lines: 31
NNTP-Posting-Host: thrir.ifi.uio.no
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: maud.ifi.uio.no 988168441 25167 129.240.66.152 (25 Apr 2001 03:14:01 GMT)
X-Complaints-To: abuse@ifi.uio.no
NNTP-Posting-Date: 25 Apr 2001 03:14:01 GMT
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7