🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #40611

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

#40611
From: Russ Allbery
Date: Wed, 06 Oct 1999 00:00
31 lines
2107 bytes
Mike <joe@microsoft.com> writes:

> 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).

Configure your new server to accept articles as old as the oldest article
on your old server, generate a list of all the articles (storage tokens,
actually) on your old server from the history file (I seem to recall
there's a tool with INN that does this, although it's also easy enough to
do by hand with awk), and then run innxmit on that list of articles to
send it to your new server.

This may not do quite what you want depending on what you mean by
retaining the original post dates, though, as I believe for the purposes
of expire those articles will all be considered to have arrived the day
you did the innxmit.  One possible workaround for that would be to stop
the news server after you do this and then edit the history file to make
the arrival time of each article match the posting time.  The dates are
the second field of the history file and are tilde-separated; the first
date is the arrival time and the third date is the posting time, so you'd
want to make the first date match the third date.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <ylaepwf1jn.fsf@windlord.stanford.edu>
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: <ylaepwf1jn.fsf@windlord.stanford.edu>
Subject: Re: Best way to copy existing news from on server to another
Date: Wed, 06 Oct 1999 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
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: 533708530
Organization: The Eyrie
Newsgroups: news.software.nntp