Article View: news.software.nntp
Article #5437**makehistory questions**
From: Tony Jones
Date: Fri, 01 Mar 1996 00:00
Date: Fri, 01 Mar 1996 00:00
50 lines
2341 bytes
2341 bytes
If enough people give me some answers here, I am more than happy to organise
them for review so it can be added to the FAQ. The faq is good in respect to
specific problem->solution, but isn't so good on general concepts.
-------
Makehistory seems like a wonderful multiedged sword, but the downside of
this is that there seems to be at least N ways to skin the cat.
I'm having a real hard time in deciphering from the news-recovery man page,
which of these N ways I should use - what are the differences (if any) between
the methods.
1) The FAQ briefly discusses the difference between -n and -nu, but it still
isn't totally clear
-u -> pause server and send ctlinnd/addhist
-nu -> -u but don't pause server (= just send addhist ????)
Can -nu cause inconsistencies ? Since the server isn't paused ?
When would I want to use -n and when -nu ?
2) Someone else on the group suggested just:
makehistory -o
This seems to be a more direct form of -u (generate the db files directly
without going via ctlinnd), but I'm guessing I'll either need INN to be
down, or throttled while doing this.
3) The man page also mentions:
makehistory -n -f history.n
makehistory -r -s `wc -l <history` -f history.n
mv history.n history
mv history.n.dir history.dir
mv history.n.pag history.pag
as being another way. Here I am scanning spool without building the dbz, and
then using -r -f to manually build just the dbz from the new history.N.
This seems to be essential a decomposition of 'makehistory -o' - no ?
What are the advantages of doing it this way ?
-----------
So, I guess they all seem to be to be essentially the same result done
in a different way. Is this correct ?
In the end, I throttled the server, and used '-bo'.
tony
Technical Details
Message-ID:
<4h82dp$a78@odin.sunquest.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <4h82dp$a78@odin.sunquest.com> Subject: **makehistory questions** Date: Fri, 01 Mar 1996 00:00:00 +0000 From: tony@sunquest.com (Tony Jones) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 141757305 Organization: Sunquest Information Systems, Inc. Newsgroups: news.software.nntp