Article View: news.software.nntp
Article #87967Re: How to move to a new server
From: Russ Allbery
Date: Wed, 22 May 2019 01:38
Date: Wed, 22 May 2019 01:38
30 lines
2333 bytes
2333 bytes
Robert Senger <rs-news@microscopium.de> writes:
> Sure, quite simple:
> 1. Installed inn2 on the new Debian 10 64 bit machine, don't started it
> 2. Stopped inn2 on the old Debian 9 32 bit machine
> 3. Copied the contents of /etc/news, /var/lib/news, /var/spool/news to
> the new machine, preserving all file attributes (rsync -aAhHSPX)
> 4. Cleaned out /var/spool/overview directory
> 5. Recreated history and overview: makehistory -b -O -l 30000 -I
> 5. Started inn2 on the new machine
> 6. Ran some test with any news client
> 7. Happy ;)
I assume you were using tradspool. Just as a warning for others who may
encounter this thread, this unfortunately won't work for some of the other
storage backends (CNFS, timecaf) because they encode offsets into the
on-disk data structures that change in the move from 32-bit to 64-bit. :(
For the record, that's why the FAQ recommends transfering all articles to
the new server over protocol rather than the far more efficient method of
copying the spool.
--
Russ Allbery (eagle@eyrie.org) <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:
<87imu35kv4.fsf@hope.eyrie.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mailReferences:
<1558402122.25503.3.camel@microscopium.de> <qbvm2m$7qd$1@tncsrv09.home.tnetconsulting.net> <1558455441.25515.1.camel@microscopium.de> <qc18ka$rkm$2@tncsrv09.home.tnetconsulting.net> <1558485763.25515.6.camel@microscopium.de>Show Full Headers
Complete Article Headers
Message-ID: <87imu35kv4.fsf@hope.eyrie.org> Subject: Re: How to move to a new server Date: Tue, 21 May 2019 18:38:39 -0700 From: Russ Allbery <eagle@eyrie.org> References: <1558402122.25503.3.camel@microscopium.de> <qbvm2m$7qd$1@tncsrv09.home.tnetconsulting.net> <1558455441.25515.1.camel@microscopium.de> <qc18ka$rkm$2@tncsrv09.home.tnetconsulting.net> <1558485763.25515.6.camel@microscopium.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.(19219).mbox.7z!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 28 NNTP-Posting-Host: hope.eyrie.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: usenet.stanford.edu 1558489119 28740 166.84.7.155 (22 May 2019 01:38:39 GMT) X-Complaints-To: action@cs.stanford.edu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cancel-Lock: sha1:1LqPkHJyRaEd+Ji9IWDzz4vtApA= X-Received-Bytes: 2161 X-Received-Body-CRC: 79129826