🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Russell Virgilio Fri, 20 Apr 2001 15:50
moving spool from inn2.2.1 to inn2.3.1
#51938
Author: Russell Virgilio
Date: Fri, 20 Apr 2001 15:50
17 lines
1760 bytes
I am working on this process, but it doesn't seem to be working.  The
articles are all on the spool in tradspool style.  I want to continue to
use tradspool and a tradindexed overview.  Do I need to create a new
overview from the old history file?  If so, what makehistory commands do
I use?  I am used to the old makehistory, but all the options have
changed.  Thanks for any help with this quick question.
-Russell

--
~----Russell Virgilio----Stand Up For Your Rights!----~
| Georgia Tech .. System Support Specialist ...       |
| OIT Campus Services .. work(404)-894-8092 .....     |
~----page(866)586-9344 or 5869344@archwireless.net----~



Re: moving spool from inn2.2.1 to inn2.3.1
#51939
Author: Jeffrey M. Vinocur
Date: Fri, 20 Apr 2001 16:41
18 lines
1731 bytes
In article <3AE05AB5.9FB68890@gatech.edu>,
Russell Virgilio  <russ@gatech.edu> wrote:
>I am working on this process, but it doesn't seem to be working.  The
>articles are all on the spool in tradspool style.  I want to continue to
>use tradspool and a tradindexed overview.  Do I need to create a new
>overview from the old history file?  If so, what makehistory commands do
>I use?  I am used to the old makehistory, but all the options have
>changed.  Thanks for any help with this quick question.

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.

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: moving spool from inn2.2.1 to inn2.3.1
#51944
Author: Remco Blaakmeer
Date: Fri, 20 Apr 2001 23:09
28 lines
2335 bytes
On Fri, 20 Apr 2001 15:50:13 GMT, Russell Virgilio <russ@gatech.edu> wrote
	in <3AE05AB5.9FB68890@gatech.edu>:
> I am working on this process, but it doesn't seem to be working.  The
> articles are all on the spool in tradspool style.  I want to continue to
> use tradspool and a tradindexed overview.  Do I need to create a new
> overview from the old history file?  If so, what makehistory commands do
> I use?  I am used to the old makehistory, but all the options have
> changed.  Thanks for any help with this quick question.

The format of both the overview files and the history file has changed
from 2.2 to 2.3. You can upgrade the existing spool, but you'll have to
completely rebuild the history and overview files.

1. Make sure inn is not running.
2. Remove history* or move them to a safe place (in case you need to
   migrate back to 2.2 for whatever reason). Do the same for overview.
3. makehistory -O (you might also want to add the -F option)
4. makedbz -f history -s `wc -l < history`
5. Start inn.

Before you do this, however, make sure you have properly configure inn.
And save your news spool in a safe place, so you can start over in case
you screw up.

Remco
-- 
qn-195-66-31-144:  00:55:01 up 2 days,  2:41,  8 users,  load average: 1.00, 1.00, 1.00
Re: moving spool from inn2.2.1 to inn2.3.1
#52015
Author: 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.

Re: moving spool from inn2.2.1 to inn2.3.1
#52036
Author: Remco Blaakmeer
Date: Wed, 25 Apr 2001 21:38
21 lines
2003 bytes
On Wed, 25 Apr 2001 03:14:01 GMT, Kjetil Torgrim Homme <kjetilho@ifi.uio.no> wrote
	in <1r8zkpk6x2.fsf@thrir.ifi.uio.no>:
> [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

The obvious disadvantage of using rnews is, of course, that all your
users will have all their read articles marked as unread again, since
they reappear with a different article number.

Remco
-- 
qn-195-66-31-144:  23:35:01 up 7 days,  1:22,  9 users,  load average: 1.22, 1.19, 1.12
Re: moving spool from inn2.2.1 to inn2.3.1
#52042
Author: Kjetil Torgrim Homme
Date: Thu, 26 Apr 2001 09:06
16 lines
1623 bytes
[Remco Blaakmeer]

>   Kjetil Torgrim Homme wrote:
>   > I have a quick hack for sm so you can say
>   > 
>   > cut -f3 ~news/db/history | grep -v '^$' | sm -S -f - | rsh newserver rnews
>   
>   The obvious disadvantage of using rnews is, of course, that all
>   your users will have all their read articles marked as unread
>   again, since they reappear with a different article number.

Ah, I should have mentioned that newserver needs to run in slave mode.


Kjetil T.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads