🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #46480

Re: (INN) reconstruct a news spool (from .tar archive)

#46480
From: Russ Allbery
Date: Thu, 18 May 2000 00:00
34 lines
2411 bytes
Darren Wyn Rees <merlin@netlink.co.uk> writes:

> What's the best way to reconstruct a news spool ?

> I've got a couple of .tar files from INN news spools going back a few
> years, and I'd list to put some of those articles back into my news
> spool (somehow) for the groups I never expire.

> I'd appreciate some suggestions from people who might have done this or
> something similar, so that I know I'm heading in the right direction.

Far and away the best way of doing this, and definitely the most
hassle-free, is to start INN so that it will accept articles of any age
(possibly making sure that none of your regular feeds are feeding it at
the same time, since you don't want to accept old duplicates while you're
doing this), either with the command-line option or the inn.conf setting.
Use find . -type f -print on your untarred old spool to generate a list of
all the file names, and then feed that file list directly to innxmit.
innxmit will handle all the work of figuring out the message ID and
feeding it to your INN server.

This is much more reliable than using makehistory or the like, since this
will be guaranteed to get the overview and history data right.  The only
potential problem is that if you're feeding old articles in groups you
have more recent articles for, you'll have overview data in the wrong
order, which doesn't work well.  You really want to do the sort of above
loading before accepting any current news in any of those groups, move
aside all the current news and delete all its overview and feed it in with
innxmit last, or rebuild all your overview after you do this.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <ylvh0bm5ar.fsf@windlord.stanford.edu>
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!not-for-mail
References: <slrn8i0ncb.9hd.merlin@maesd.A470.com>

Show Full Headers
Complete Article Headers
Message-ID: <ylvh0bm5ar.fsf@windlord.stanford.edu>
Subject: Re: (INN) reconstruct a news spool (from .tar archive)
Date: Thu, 18 May 2000 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <slrn8i0ncb.9hd.merlin@maesd.A470.com>
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!not-for-mail
X-Deja-AN: 625293668
Content-Type: text/plain; charset=us-ascii
Organization: The Eyrie
Mime-Version: 1.0
User-Agent: Gnus/5.0802 (Gnus v5.8.2) XEmacs/21.1 (Biscayne)
Newsgroups: news.software.nntp