🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #61421

Re: INN: Storing postings in media!

#61421
From: Russ Allbery
Date: Sun, 13 Oct 2002 16:44
31 lines
2363 bytes
In news.software.nntp, Raqueeb Hassan <raqueebh@yahoo.com> writes:

> Now, I was wondering how about storing older postings (which expires
> conforming the expire.ctl) using the idea of logrotate to some format
> which can be restored for news database?

> Is that possible?

Not without doing some extra coding, but if you're using tradspool (and
you want to for this sort of application), articles are removed by
generating a list of files to delete and then running expirerm on them.

expirerm is a shell script that you can replace with some other commands
to instead copy the files off to some staging area where you can store
them on compressed media.

Then, if you ever need to put them back on your server again, you can
temporarily configure your server to accept articles no matter how old
they are (ctlinnd param c 0) and then feed them back into your server with
innxmit.

Alternately, you can use the archive program out of newsfeeds to create a
separate spool of articles to archive and just save that out to some other
medium when you want.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <yladlixp9c.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.networking.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <2545b34c.0210130750.2220c391@posting.google.com>

Show Full Headers
Complete Article Headers
Message-ID: <yladlixp9c.fsf@windlord.stanford.edu>
Subject: Re: INN: Storing postings in media!
Date: Sun, 13 Oct 2002 09:44:15 -0700
From: Russ Allbery <rra@stanford.edu>
References: <2545b34c.0210130750.2220c391@posting.google.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.networking.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp,comp.os.linux.networking
Organization: The Eyrie
Lines: 30
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1034527456 20809 171.64.13.23 (13 Oct 2002 16:44:16 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter,
 sparc-sun-solaris2.6)
Cancel-Lock: sha1:dwr5rfjg2p2kvlF7EWsb/YH6usg=