🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.admin
Article #4025

How to re-supply a days news feed.

#4025
From: Stuart Lynne
Date: Sat, 29 Nov 1986 07:50
34 lines
1638 bytes
If you have sites downstream who occasionally drop some news on the
floor and ask you to resupply here's a quick fix to make it easy to
do so. 

First add a line in your /usr/lib/news/sys file:

	backup:world,comp,sci,news,rec,soc,talk,misc,net,mod,na,usa,to:F

This will copy the name of every file you receive into a batch file in your
batch directory (we presume here that you don't feed a node called backup).

Next in your daily script for running expire:

	cd /usr/spool/batch
	mv backup.3.Z backup.4.Z
	mv backup.2.Z backup.3.Z
	mv backup.1.Z backup.2.Z
	mv backup backup.1
	compress backup.1

This will keep the last four days of news batch files present in your batch
directory. To resend a particular day simply:

	zcat backup.?.Z > sysname

where sysname is the node name of the system requesting the feed again.


------------------------------------------------------------------------
Stuart Lynne  	Public Access Network - Vancouver BC 	
UUCP:		ihnp4!alberta!ubc-vi!van-bc!sl
Mail:		225B Evergreen Dr., Port Moody, BC, Canada, V3H 1S1
Phone: 		604-937-7532
Technical Details
Message-ID: <152@van-bc.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!sri-unix!hplabs!tektronix!uw-beaver!ubc-vision!van-bc!sl

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!sri-unix!hplabs!tektronix!uw-beaver!ubc-vision!van-bc!sl
From: sl@van-bc.UUCP (Stuart Lynne)
Newsgroups: news.admin,news.software.b
Subject: How to re-supply a days news feed.
Message-ID: <152@van-bc.UUCP>
Date: Sat, 29-Nov-86 02:50:53 EST
Article-I.D.: van-bc.152
Posted: Sat Nov 29 02:50:53 1986
Date-Received: Tue, 2-Dec-86 21:52:05 EST
Organization: Public Access Network, Vancouver, BC.
Lines: 28
Keywords: backup newsfeed