Article View: news.software.nntp
Article #51198Re: News transfer from inn 2.2.1 to 2.3.1
From: bill davidsen
Date: Wed, 14 Mar 2001 17:06
Date: Wed, 14 Mar 2001 17:06
54 lines
2961 bytes
2961 bytes
In article <Xns9063778CF2B4BBKohlrrzunikoelnde@134.95.100.202>,
Bernhard Kohl <B.Kohl@rrz.uni-koeln.de> wrote:
| I'm preparing a new news server that will run inn 2.3.1.
|
| The enclosed NEWS documentation says that it's strongly recommended to feed
| the articles to the new news server rather than dump it and trying to build
| overview and history directly from the old spool.
|
| So, I have 2 questions:
|
|
| * 1 * Is there a way to sync the article numbers between the old an
| new spool?
|
| I've set xrefslave and storetoxref to true, but it doesn't seem
| to work.
If you have an old system you have to set an option to include the
xref header. I believe it might be -x, but do check. You also have to
start innd with the option set to accept really old articles.
| * 2 * Is there a script to feed all news to new server? I've found a
| script on
|
| http://www.eyrie.org/~eagle/faqs/inn.html#3.9
|
| but it ends with many "ignoring line ..." when innxmitting
I usually just grab field three out of the history file and feed to
innxmit. Depending on the age of the old system formatting might be
needed.
From memory (ln is my news base dir):
cut -f3 $ln/db/history | grep / | sed 's/ .*//' >file_for_innxmit
I had a neat perl script to put the message-id back in in the right
place, but I doubt I can find it as quickly as you can write it. Again,
from memory:
while(<>) {
chomp;
@foo = split;
print "$foo[2] $foo[0]\n" if $#foo > 1;
}
History in and innxmit format out. I am likely to be mislead by memory,
check this stuff.
--
bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc
"I am lost. I am out looking for myself. If I should come back before I
return, please ask me to wait." -seen in a doctor's office
Technical Details
Message-ID:
<98o8e9$3ohs$1@newssvr05-en0.news.prodigy.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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!ucberkeley!howland.erols.net!newscon04-ext.news.prodigy.com.MISMATCH!newscon04.news.prodigy.com!prodigy.com!newsmst01!postmaster.news.prodigy.com!darkstar.prodigy.com!davidsenReferences:
<Xns9063778CF2B4BBKohlrrzunikoelnde@134.95.100.202>Show Full Headers
Complete Article Headers
Message-ID: <98o8e9$3ohs$1@newssvr05-en0.news.prodigy.com> Subject: Re: News transfer from inn 2.2.1 to 2.3.1 Date: Wed, 14 Mar 2001 17:06:17 +0000 From: davidsen@tmr.com (bill davidsen) References: <Xns9063778CF2B4BBKohlrrzunikoelnde@134.95.100.202> 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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!ucberkeley!howland.erols.net!newscon04-ext.news.prodigy.com.MISMATCH!newscon04.news.prodigy.com!prodigy.com!newsmst01!postmaster.news.prodigy.com!darkstar.prodigy.com!davidsen Newsgroups: news.software.nntp Organization: TMR Associates, Schenectady NY Lines: 53 NNTP-Posting-Host: darkstar.prodigy.com X-Trace: newssvr05-en0.news.prodigy.com 984589577 123452 192.168.190.236 (14 Mar 2001 17:06:17 GMT) X-Complaints-To: abuse@prodigy.net NNTP-Posting-Date: 14 Mar 2001 17:06:17 GMT Originator: davidsen@darkstar.prodigy.com