🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by David Fri, 11 May 2001 15:34
How to restore
#52277
Author: David
Date: Fri, 11 May 2001 15:34
14 lines
1452 bytes
I made a mistake  : I ran news.daily and deleted old my precious articles...
I restored the whole directory /var/spool/news and got my files back and
theirs proper directories.
But when I connect to the news server (INN) from my news reader, I still
cannot see them.
What have I to do to get them back online ?

Thanks for all informations

David
ddeg@wokup.fr


Re: How to restore
#52283
Author: Jeffrey M. Vinocur
Date: Fri, 11 May 2001 19:32
20 lines
1688 bytes
In article <9dh163$qdo$1@s1.read.news.oleane.net>, David <ddeg@free.fr> wrote:
>I made a mistake  : I ran news.daily and deleted old my precious articles...
>I restored the whole directory /var/spool/news and got my files back and
>theirs proper directories.
>But when I connect to the news server (INN) from my news reader, I still
>cannot see them.
>What have I to do to get them back online ?

It sounds like you need to rebuild your overview database.  See
the manpage for `makehistory -O` (other options may be
appropriate).  If you rebuild your history database (i.e.,
makehistory without -x), you will want to `makedbz` and then
rename the new history.* files.



-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: How to restore
#52284
Author: Bert Hyman
Date: Fri, 11 May 2001 19:40
37 lines
2319 bytes
ddeg@free.fr (David) wrote in
news:9dh163$qdo$1@s1.read.news.oleane.net: 

> I made a mistake  : I ran news.daily and deleted old my precious
> articles... I restored the whole directory /var/spool/news and got
> my files back and theirs proper directories.
> But when I connect to the news server (INN) from my news reader, I
> still cannot see them.
> What have I to do to get them back online ?

If the articles were expired by your news.daily run, then the high/low 
article numbers in your active file (~news/db/active) are no longer 
correct. 

The articles are also expired from the history file. This wouldn't affect 
the newsreader, but if you restore the articles without rebuilding the 
history file, they'll never get expired again.

Also, the articles would have been expired out of the.overview files for 
the newsgroups.

So, I guess you need to run

1) makeactive to re-build the active file
2) makehistory to re-build the history database
3) expireover to re-build all the .overview files

Also, on your newsreader, the .newsrc file (or whatever it uses to keep 
track of what articles you've read) will probably have the articles 
marked as read by you, so they won't be presented to you again unless you 
also restore that file too.

Sounds like you've got a bit of work ahead of you.

-- 
Bert Hyman | St. Paul, MN | bert@visi.com
Re: How to restore
#52293
Author: Jeffrey M. Vinocur
Date: Sun, 13 May 2001 04:48
19 lines
1661 bytes
In article <Xns909E955A4E14CVeebleFetzer@192.61.221.125>,
Bert Hyman <bert@visi.com> wrote:
>
>1) makeactive to re-build the active file
>2) makehistory to re-build the history database
>3) expireover to re-build all the .overview files

Err.  You appear to be assuming a much older version of INN that
is likely.  On current versions, there is no `makeactive` and
`expireover` is not used for that purpose, you use `makehistory`
to rebuild both history and overview (and then `makedbz` to
process the new history file), and use `ctlinnd renumber` to
renumber the active file if necessary.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: How to restore
#52294
Author: Bert Hyman
Date: Sun, 13 May 2001 14:25
20 lines
1610 bytes
In news:9dl3m8$l0s$1@marduk.litech.org jeff@litech.org (Jeffrey M. Vinocur) 
wrote:

> In article <Xns909E955A4E14CVeebleFetzer@192.61.221.125>,
> Bert Hyman <bert@visi.com> wrote:
>>
>>1) makeactive to re-build the active file
>>2) makehistory to re-build the history database
>>3) expireover to re-build all the .overview files
> 
> Err.  You appear to be assuming a much older version of INN that
> is likely.  ...

Quite likely ... If it works, don't fix it :-).

[Actually, with me, it's more like "It's not broken? Well, I can fix THAT!"]

-- 
Bert Hyman	St. Paul, MN	bert@visi.com
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