🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #40660

Re: Best way to copy existing news from on server to another

#40660
From: bill davidsen
Date: Thu, 07 Oct 1999 00:00
46 lines
2959 bytes
In article <01bf1029$1e9a5e80$e712c4a5@ahmicron.do.losiros.cc.ca.us>,
Mike <joe@microsoft.com> wrote:
| What is the best way to copy existing news from one server to a server just
| implemented while retaining the original post dates?
| 
| There are about a half dozen local groups on an existing news server that I
| would like to recreate with their exact contents on a new server while
| retaining their original post dates (these groups are timehash groups).

  Start innd on the new machine using -c to accept old articles. Then on
the old server, for each group you want to copy, generate a list of the
Message-Id's in the group, feed it through grephistory to get input
suitable for innxmit, then send it to the new server.

Example, should work on any version of news:
  # get the id's, repeat for each group
  getover localhost local.news.group | cut -f5 >> mid.list
  # eliminate dups, generate innxmit input
  sort -u mid.list | grephistory -s > xmit.inp
  # send this to the new server
  innxmit -a -v my.new.server $PWD/xmit.inp

  By using the sendme option of grephistory to generate the innxmit
input file you ensure that it will work on both old and new news. Same
deal for using the overview data rather than counting on reading the
article itself or getting the MID from the history file where it no
longer lives for some storage methods.

  Also note that you can do this all on the new server if you wish, just
run getover against the old server instead of localhost, and feed the
list of message-id's into nntpget. That used to avoid the use of the
NEWNEWS command, so should work on any server for which you have read
acccess.

  A version of getover is in the newstools2 collection, which I dropped
on my distribution page, <http://pages.prodigy.net/billd>. Note that new
versions of all tools in that collection are in beta, what's there works
but isn't all that full featured.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Technical Details
Message-ID: <7tifqk$sr4$1@newssvr02.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!not-for-mail
References: <01bf1029$1e9a5e80$e712c4a5@ahmicron.do.losiros.cc.ca.us>

Show Full Headers
Complete Article Headers
Message-ID: <7tifqk$sr4$1@newssvr02.news.prodigy.com>
Subject: Re: Best way to copy existing news from on server to another
Date: Thu, 07 Oct 1999 00:00:00 +0000
From: davidsen@tmr.com (bill davidsen)
References: <01bf1029$1e9a5e80$e712c4a5@ahmicron.do.losiros.cc.ca.us>
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!not-for-mail
X-Deja-AN: 533953602
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr02.news.prodigy.com 939311764 29540 199.4.137.118 (7 Oct 1999 15:56:04 GMT)
Organization: TMR Associates, Schenectady NY
Newsgroups: news.software.nntp
Originator: davidsen@darkstar.prodigy.com