xfering newsgroups ?

Christoph Biedl cbiedl at gmx.de
Thu Jul 15 15:46:05 UTC 2004


Rajeev Lamba wrote...

> 
>  >    Linkname: Feed all articles on a server to another server
>  >         URL: >    Linkname: Feed all articles on a server to another server
>  >         URL: http://www.eyrie.org/~eagle/faqs/inn.html#S6.4
>  >
> 
> Do we need to rebuild history/overview database after all articles get
> xfered to new server ?

No, since they are fed in in regular style like being transferred from
another server.

> Could we just test a single newsgroup migration using this method before
> migrating all newsgroups articles to verify.Seems this would build list
> of all news articles on the news server to be xfered.

I'm afraid you cannot trim this down to a single group, however

>      cd pathdb
>      perl -ne 'chomp; ($a,$b,$_) = split " "; print "$_\n" if $_' history \
>          | tr . / > pathoutgoing/list
                   ^ insert a '| head -100' here
and the list will be limited to the first 100 articles.


By the way it appears to me that the perl thingie is somewhat overkill.
I always do
$ grep '@$' <history | cut -d' ' -f3 >pathoutgoing/list
                              ^ verbatim tab character, alternativly
$ grep '@$' <history | awk -F"\t" '{print $3}' >pathoutgoing/list
which is much faster and I don't think that I lost something. 
Especially 'tr' - is this a remainder of INN 1.x times?

	Christoph


More information about the inn-workers mailing list