🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Raqueeb Hassan Sun, 13 Oct 2002 15:50
INN: Storing postings in media!
#61417
Author: Raqueeb Hassan
Date: Sun, 13 Oct 2002 15:50
16 lines
1281 bytes
Hello there!

I'm really happy with logrotate cause it stores my older logs in
copmressed format ready for transferring to cds.

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?

thanks in advance.

raqueeb hassan
bangladesh
Re: INN: Storing postings in media!
#61421
Author: 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.
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