🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Ben Rosengart Wed, 16 Jan 2002 00:02
purging an entire hierarchy from history
#56136
Author: Ben Rosengart
Date: Wed, 16 Jan 2002 00:02
9 lines
1116 bytes
Is there any way to purge an entire hierarchy or storage class from
history?  I have some articles that I'm feeding from one server to
another, and I've lost the plot a bit and want to start over.

-- 
Ben Rosengart     (212) 741-4400 x215

"For values of 'whatever'."
Re: purging an entire hierarchy from history
#56129
Author: Ben Rosengart
Date: Wed, 16 Jan 2002 00:18
12 lines
1343 bytes
In article <slrna49gnt.lan.br@panix2.panix.com>, Ben Rosengart wrote:
> Is there any way to purge an entire hierarchy or storage class from
> history?  I have some articles that I'm feeding from one server to
> another, and I've lost the plot a bit and want to start over.

Oh, sorry, I'm using INN 2.3.2.

-- 
Ben Rosengart     (212) 741-4400 x215

"For values of 'whatever'."
Re: purging an entire hierarchy from history
#56132
Author: Greg Andrews
Date: Wed, 16 Jan 2002 06:09
19 lines
1640 bytes
Ben Rosengart <br@panix.com> writes:
>In article <slrna49gnt.lan.br@panix2.panix.com>, Ben Rosengart wrote:
>> Is there any way to purge an entire hierarchy or storage class from
>> history?  I have some articles that I'm feeding from one server to
>> another, and I've lost the plot a bit and want to start over.
>
>Oh, sorry, I'm using INN 2.3.2.
>

Back in v1.x days, I did that by editing the history text file with
sed, awk, or perl, then rebuilding the database files from the text
file.

  -Greg
-- 
+++++ Greg Andrews +++ gerg@panix.com +++++
I have a map of the United States that's actual size
		 -- Steven Wright
Re: purging an entire hierarchy from history
#56141
Author: Ben Rosengart
Date: Wed, 16 Jan 2002 23:03
23 lines
1905 bytes
In article <a235eg$e5t$2@news.panix.com>, Greg Andrews wrote:
> Ben Rosengart <br@panix.com> writes:
>>In article <slrna49gnt.lan.br@panix2.panix.com>, Ben Rosengart wrote:
>>> Is there any way to purge an entire hierarchy or storage class from
>>> history?  I have some articles that I'm feeding from one server to
>>> another, and I've lost the plot a bit and want to start over.
>>
>>Oh, sorry, I'm using INN 2.3.2.
>>
> 
> Back in v1.x days, I did that by editing the history text file with
> sed, awk, or perl, then rebuilding the database files from the text
> file.

The problem with that is that the history text file is full of
SM tokens, and I'm not sure how to tell which correspond to the
hierarchy/storage class that I want to expunge.

-- 
Ben Rosengart     (212) 741-4400 x215

"For values of 'whatever'."
Re: purging an entire hierarchy from history
#56143
Author: Kjetil Torgrim Homme
Date: Wed, 16 Jan 2002 23:57
17 lines
1746 bytes
[Ben Rosengart]

>   The problem with that is that the history text file is full of SM
>   tokens, and I'm not sure how to tell which correspond to the
>   hierarchy/storage class that I want to expunge.

Look more closely, the first octet in the token is the storage method,
the next is the storage class, and then the next eight octets are the
name of the cycbuff.  Or something like that.

A different approach is to run expire with that storage class set to 0
days.

-- 
Kjetil T.		abusing standards for the greater good
			http://www.microsoft.com:products@3333866552/
Re: purging an entire hierarchy from history
#56146
Author: Ben Rosengart
Date: Thu, 17 Jan 2002 06:29
25 lines
1861 bytes
In article <1rsn95onms.fsf@sex.ifi.uio.no>, Kjetil Torgrim Homme wrote:
> [Ben Rosengart]
> 
>>   The problem with that is that the history text file is full of SM
>>   tokens, and I'm not sure how to tell which correspond to the
>>   hierarchy/storage class that I want to expunge.
> 
> Look more closely, the first octet in the token is the storage method,
> the next is the storage class, and then the next eight octets are the
> name of the cycbuff.  Or something like that.

Heh, I suspected that the tokens had internal structure, and I was
hoping that someone would pipe up with information like this.  Thank
you!
 
> A different approach is to run expire with that storage class set to 0
> days.

That's even better.

-- 
Ben Rosengart     (212) 741-4400 x215

"For values of 'whatever'."
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