🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #30993

Re: Upgrade

#30993
From: Robert Kiessling
Date: Mon, 31 Aug 1998 00:00
33 lines
2007 bytes
Michalis Kabrianis <mkab@forthnet.gr> writes:

> I'm trying to upgrade from INN v 1.7.2 to INN v2.1 
> I noticed that Inn 1.7.2 uses 3 files for the history database: history,
> history.dir and history.pag
> INN 2.1 on the other hand, uses 4 files: history, history.dir, history.index
> and history.hash.

You can in fact choose between twi kinds of database files. With the
--enable-tagged-hash option of configure, you can switch to tagged
hash format, which is recommended if you don't have much memory.

Anyway, even with tagged hash, and in this case history, history.dir
and history.pag, you cannot reuse the 1.7 database files history.dir
and history.pag.

> Is it possible to upgrade without having to recreate all the history* files?

Mostly yes. Just delete history.dir and history.pag, keep history and
run

	makehistory -s `wc -l history` -r -i

This will keep history and only recreate the database files. The -s
options is needed as otherwise you will run for hours or days before
getting the result.

Remember that all this only applies to traditional spool and not to
storage API.

Robert

Technical Details
Message-ID: <x5iuj9njj4.fsf@hera.local.easynet.de>
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
References: <904576391.2135017980@medousa.forthnet.gr>

Show Full Headers
Complete Article Headers
Message-ID: <x5iuj9njj4.fsf@hera.local.easynet.de>
Subject: Re: Upgrade
Date: Mon, 31 Aug 1998 00:00:00 +0000
From: Robert Kiessling <robert@easynet.de>
References: <904576391.2135017980@medousa.forthnet.gr>
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: 386498926
Distribution: inet
Sender: robert@hera.local.easynet.de
Content-Type: text/plain; charset=US-ASCII
X-Complaints-To: abuse@easynews.net
X-Trace: newsfeed.easynews.net 904584799 26293 10.1.1.11 (31 Aug 1998 17:33:19 GMT)
Organization: easynet DV GmbH, Erlangen, Germany
Mime-Version: 1.0 (generated by tm-edit 7.108)
NNTP-Posting-Date: 31 Aug 1998 17:33:19 GMT
Newsgroups: news.software.nntp