🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Tricia C. Sesar Wed, 17 Apr 2002 23:36
manually editing history file
#58235
Author: Tricia C. Sesar
Date: Wed, 17 Apr 2002 23:36
18 lines
1709 bytes
Is there any problem manually deleting entries in my history file?

Long story short, I need to transfer articles which are archived in a
news server running INN 2.2 to a news server running 2.3.2.  I made the
mistake running innxmit before changing artcutoff, and the articles were
rejected because the are too old. The problem with letting expire.ctl do
the work is that the articles are in a hierarchy configured to expire
after 5 years.

So, I wrote a little tool that will grab message-ID's on the archive
server and write them to a file. On the destination server, I want to
run ~news/bin/grephistory against each ID, which will return the
corresponding token. Then, I want to remove the line in ~news/db/history
which matches the returned token.

Any problems here?

Re: manually editing history file
#58236
Author: Mark Hittinger
Date: Thu, 18 Apr 2002 00:12
31 lines
2789 bytes
"Tricia C. Sesar" <trixee@rcn.com> writes:
>So, I wrote a little tool that will grab message-ID's on the archive
>server and write them to a file. On the destination server, I want to
>run ~news/bin/grephistory against each ID, which will return the
>corresponding token. Then, I want to remove the line in ~news/db/history
>which matches the returned token.
>Any problems here?

Be sure to throttle the new server when you change it's history file.

Is it a lot of articles?  Is the new server's history file large?  If both
of those are true it might be worthwhile doing something bad.  You can take
the articles on the archive server, change their message id, put them in
the incoming directory as individual files on the new server, and use 
"rnews -U" to post them.  Since the message id won't match the article
might be accepted if there aren't other reasons why it shouldn't.

Changing message id's is bad because articles will repropogate out of the
new server.  If both of your servers are private or you can insure that
the new server won't repropogate then you might be able to get away with it.
It sounds like you've got a private setup.

On the other hand if its a small number of articles or the new history file
is tiny you could make changes fast so a short throttle wouldn't be noticed
by your users.

Later

Mark Hittinger
bugs@pu.net
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