🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Mike Zanker Fri, 30 Jan 2004 15:03
Recover articles from accidental rmgroup
#67836
Author: Mike Zanker
Date: Fri, 30 Jan 2004 15:03
12 lines
1519 bytes
I accidentally removed a group by failing to edit do checkgroups output 
before running it. I immediately newgrouped it again but now readers 
can only see one article. I'm presuming that this is because either the  
active file entry is incorrect (0000000000 0000000001) or the overview 
information is missing.

What's the easiest way to restore access to these articles, bearing in 
mind that I'm using timecaf?

Thanks in advance,

Mike.
Re: Recover articles from accidental rmgroup
#67835
Author: Jeffrey M. Vinocur
Date: Fri, 30 Jan 2004 21:29
31 lines
2191 bytes
In article <Xns9480991D8D34Emikezankerorg@81.2.101.85>,
Mike Zanker  <not-for-mail@zanker.org> wrote:
>I accidentally removed a group by failing to edit do checkgroups output 
>before running it. I immediately newgrouped it again but now readers 
>can only see one article. I'm presuming that this is because either the  
>active file entry is incorrect (0000000000 0000000001) or the overview 
>information is missing.

Well, the active file is definitely incorrect.  If the overview
remains, `ctlinnd renumber your.group.name` should fix the active
file in a fraction of a second.  I have a funny feeling you won't
be so lucky, but it's completely safe to try it.

And if you're using tradindexed overview, you can look at the
appropriate .DAT file and see what's in there.


>What's the easiest way to restore access to these articles, bearing in 
>mind that I'm using timecaf?

Oof.  If you want them to return with the same article numbers as
before, you'll need to generate overview data somehow.  If you're
using tradindexed, we can probably manage that even with timecaf.
If not, you may need to use makehistory to rebuild your whole
overview database.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Recover articles from accidental rmgroup
#67837
Author: Mike Zanker
Date: Fri, 30 Jan 2004 23:27
26 lines
2103 bytes
jeff@litech.org (Jeffrey M. Vinocur) wrote in
news:bveibs$9ee$2@puck.litech.org: 

> Well, the active file is definitely incorrect.  If the overview
> remains, `ctlinnd renumber your.group.name` should fix the active
> file in a fraction of a second.  I have a funny feeling you won't
> be so lucky, but it's completely safe to try it.

I think that's the problem - the (tradindexed) overview files are zero 
length after newgrouping the group.

> Oof.  If you want them to return with the same article numbers as
> before, you'll need to generate overview data somehow.  If you're
> using tradindexed, we can probably manage that even with timecaf.
> If not, you may need to use makehistory to rebuild your whole
> overview database.

With a couple of million articles that could take some time :(

It's probably not worth it to recover a few tens of articles from one 
group. I presume that if I just forget about them that they will expire   
along with other articles?

Thanks,

Mike.
Re: Recover articles from accidental rmgroup
#67838
Author: Jeffrey M. Vinocur
Date: Sat, 31 Jan 2004 00:06
43 lines
2798 bytes
In article <Xns9480EE8E4D7B6mikezankerorg@81.2.101.85>,
Mike Zanker  <not-for-mail@zanker.org> wrote:
>jeff@litech.org (Jeffrey M. Vinocur) wrote in
>news:bveibs$9ee$2@puck.litech.org: 
>
>> Oof.  If you want them to return with the same article numbers as
>> before, you'll need to generate overview data somehow.  If you're
>> using tradindexed, we can probably manage that even with timecaf.
>> If not, you may need to use makehistory to rebuild your whole
>> overview database.
>
>With a couple of million articles that could take some time :(

Right, but you are using tradindexed, so as I said you may not
need to rebuild everything.

If you're using a recent INN, the tdx-util tool is capable of
rebuilding overview from a tradspool-style directory of articles
(which you could generate from timecaf without too much
difficulty).

Oh, wait, there won't be history entries for those articles
either.  Ok, so here's a hack that I have used in the past:  if
you (with the server not running) move your entire spool out of
the way except for the group in question, you can makehistory
(with the flag to append to the existing history file) and then
makedbz to rebuild the index data.  Much faster than rescanning
the whole spool.  Then move the other parts of the spool back
into place.

Yes, we really need better tools for this stuff.


>It's probably not worth it to recover a few tens of articles from one 
>group. I presume that if I just forget about them that they will expire   
>along with other articles?

Hmm, from timecaf?  I must admit I have no idea.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Recover articles from accidental rmgroup
#67841
Author: Mike Zanker
Date: Sat, 31 Jan 2004 09:12
17 lines
1844 bytes
jeff@litech.org (Jeffrey M. Vinocur) wrote in
news:bverhe$hdt$1@puck.litech.org: 

> Oh, wait, there won't be history entries for those articles
> either.  Ok, so here's a hack that I have used in the past:  if
> you (with the server not running) move your entire spool out of
> the way except for the group in question, you can makehistory
> (with the flag to append to the existing history file) and then
> makedbz to rebuild the index data.  Much faster than rescanning
> the whole spool.  Then move the other parts of the spool back
> into place.

Thanks for the suggestions but I think I'll just put this one down to 
experience. I'm fairly new at administering INN and would probably make 
things worse :)

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