Article View: news.software.nntp
Article #84834Re: Migrating a big INN timecaf/tradindexed spool ?
From: Russ Allbery
Date: Sat, 14 Apr 2012 20:11
Date: Sat, 14 Apr 2012 20:11
28 lines
2425 bytes
2425 bytes
Xavier Roche <xroche@free.fr.NOSPAM.invalid> writes:
> Is there a way to migrate a big INN spool (with timecaf and tradindexed
> overview) _without_ respooling the entire universe, and/or rebuilding
> the history ?
> The history.* files are few GB, and the spool is quite huge too, and a
> complete respool would take ages.
You should be able to just copy the files if the new INN is the same
architecture as the old INN.
> Will copying files (timecaf chunks, history.* files, overview structure)
> "as is" cause troubles ? I remember than INN was using the inode number
> in the code somehow, but I don't know if this is still relevant now (the
> old server is running INN 2.4.3)
tradindexed uses the inode number as an optimization to avoid a reopen if
the overview file hasn't changed. It will work with inode mismatches, but
there will be a lot of warnings in the logs and it will be slower. You
can use tdx-util -R to fix the inode numbers in the indices, or just let
the first nightly expire on the new system take care of it.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87k41igjko.fsf@windlord.stanford.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder3.xlned.com!news.glorb.com!usenet.stanford.edu!usenet-its.stanford.edu!.POSTED!not-for-mailReferences:
<jmb8db$198$1@news.httrack.net>Show Full Headers
Complete Article Headers
Message-ID: <87k41igjko.fsf@windlord.stanford.edu> Subject: Re: Migrating a big INN timecaf/tradindexed spool ? Date: Sat, 14 Apr 2012 13:11:19 -0700 From: Russ Allbery <rra@stanford.edu> References: <jmb8db$198$1@news.httrack.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder3.xlned.com!news.glorb.com!usenet.stanford.edu!usenet-its.stanford.edu!.POSTED!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 28 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: usenet-its.stanford.edu 1334434279 5207 171.67.225.134 (14 Apr 2012 X-Complaints-To: news@usenet-its.stanford.edu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:UXNVi/yX1kcAZ/zDilXMooja4Kg= X-Original-Bytes: 2102