🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by XiouXin Huang Fri, 27 Aug 1999 00:00
How to pull old posts to another news server?
#39485
Author: XiouXin Huang
Date: Fri, 27 Aug 1999 00:00
27 lines
1322 bytes
Hi all

I had a INN2.2 news server, runs perfect. For some reason, I add another
one INN2.2.
These two can feed articles to each other with no problem, but what
about old posts
existent in the 1st one news server? How to pull these old articles to
the 2nd one?

I tried to use nntpget as this:
2nd_host$ nntpget -d -n newsgroup_at_1st -o 1st_host

But I got error message as this:
Usage error:  No host given
Usage:  nntpget [ -d dist -n grps [-f file | -t time -u file]] host

What's the exactly right  command syntax? 
Or I'm going the wrong way?

Any help would be appreciated!
Thanks in advance.
-- 
"Open Source" is the Choice of Next Generartion!

 XiouXin Huang

Re: How to pull old posts to another news server?
#39484
Author: Andrew Gierth
Date: Fri, 27 Aug 1999 00:00
12 lines
1183 bytes
>>>>> "Kjetil" == Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes:

 Kjetil> I have patches for sm so that it can take your history file
 Kjetil> (or another source of storage tokens) and emit an rnews batch
 Kjetil> file[1]

how does this differ from batcher?

-- 
Andrew.

Re: How to pull old posts to another news server?
#39489
Author: Kjetil Torgrim Homme
Date: Fri, 27 Aug 1999 00:00
22 lines
1537 bytes
[XiouXin Huang]

>   I had a INN2.2 news server, runs perfect. For some reason, I add
>   another one INN2.2.  These two can feed articles to each other
>   with no problem, but what about old posts existent in the 1st one
>   news server? How to pull these old articles to the 2nd one?

I have patches for sm so that it can take your history file (or
another source of storage tokens) and emit an rnews batch file[1]

cut -f3 < history | sed '/^$/d' | sm -S -R -f - > HUGE-RNEWS-SPOOLFILE

It worked pretty fast for me.  I guess I could clean it up and submit
the patches if there is interest.


Kjetil T.

[1] Since I wrote it to create a header only feedfile for a Diablo
    reader, you can elect to only output the headers with -H :-).

Re: How to pull old posts to another news server?
#39490
Author: Volker Borchert
Date: Fri, 27 Aug 1999 00:00
20 lines
1129 bytes
With 1.7.2, I manually created batch files using something like

	$ cd /var/spool/news
	$ find de -type f > outgoing/de.batch

and had innxmit process them directly:

	$ innxmit -d new.machine.do.main de.batch 2>&1 | tee de.log

See the man pages for details on how this would be done for 2.2,
and adjust the paths for article spool and outgoing directory to
your site policy.

-- 

"I'm a doctor, not a mechanic." Dr Leonard McCoy <mccoy@ncc1701.starfleet.fed>
"I'm a mechanic, not a doctor." Volker Borchert  <bt@teknon.de>

Re: How to pull old posts to another news server?
#39493
Author: Russ Allbery
Date: Fri, 27 Aug 1999 00:00
16 lines
1076 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes:

> I have patches for sm so that it can take your history file (or another
> source of storage tokens) and emit an rnews batch file[1]

> cut -f3 < history | sed '/^$/d' | sm -S -R -f - > HUGE-RNEWS-SPOOLFILE

> It worked pretty fast for me.  I guess I could clean it up and submit
> the patches if there is interest.

I'm interested.

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

Re: How to pull old posts to another news server?
#39551
Author: bill davidsen
Date: Tue, 31 Aug 1999 00:00
33 lines
2004 bytes
In article <1rvha12oxh.fsf@ganglot.ifi.uio.no>,
Kjetil Torgrim Homme  <kjetilho@haey.ifi.uio.no> wrote:

| I have patches for sm so that it can take your history file (or
| another source of storage tokens) and emit an rnews batch file[1]
| 
| cut -f3 < history | sed '/^$/d' | sm -S -R -f - > HUGE-RNEWS-SPOOLFILE
| 
| It worked pretty fast for me.  I guess I could clean it up and submit
| the patches if there is interest.
| 
| 
| Kjetil T.
| 
| [1] Since I wrote it to create a header only feedfile for a Diablo
|     reader, you can elect to only output the headers with -H :-).


I did a token to rnews thing using perl, but I'd rather have your
patches, obviously. consider yourself encouraged.

BTW: it's pretty easy to do a hack in innxmit to do the header only, at
least in 2.0. I kind of lost the need about then.

Are you (sucessfully) using Diablo reader with an INN master. I would
love to do that, although I'm unlikely to until it becomes a priority or
they find a cure for sleep.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
"So let it be written, so let it be dumb." Pharaoh Dufus the last...

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