Article View: news.software.nntp
Article #66712Re: INN--how to migrate cyclobuff to new disk
From: Klaus Ellegaard
Date: Fri, 19 Sep 2003 14:47
Date: Fri, 19 Sep 2003 14:47
38 lines
2587 bytes
2587 bytes
gl@arlut.utexas.edu (Jay G. Scott) writes: >i have a news server with the articles stored in cyclic buffers. >i'm about to put in some new disks, and i'd like to save my current >buffers. i __may__ have enough room to enlarge the buffers, we'll >see. >the question is, how do i migrate the old buffers to new storage? >is there a way to dump the articles to files? erg. unless there's >a way to put them back in buffers.... You can't move the contents of the buffers around easily. The best thing to do is copy the old buffers to the new disks. Consider possible performance issues before doing that. If keeping the buffers is not possible, use either suck or newsx to "export" the contents to (batch) files, set up new buffers on the new disks and let INN import the files. Remember to clear the history file and set "artcutoff" in inn.conf to a large enough value. Reset the "artcutoff" value afterwards. The second method obviously requires some down time for your server. If you import the old articles from files AND process incoming feeds at the same time, the overview will not be generated with articles in chronological order. If you don't want your users to notice that you have changed buffers (I.e. not have to reset their newsrc-files), set your INN to be an Xrefslave while importing the old articles. Remember to turn that feature off again before you start accepting incoming feeds. Most of this is assuming that you have a fairly simple setup. Klaus.
Technical Details
Message-ID:
<bkf4u0$54s$1@katie.ellegaard.dk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!news2.euro.net!newsfeed.multikabel.nl!news.tele.dk!news.tele.dk!small.news.tele.dk!news100.image.dk!news.ellegaard.dk!ellegaard.dk!not-for-mailReferences:
<bkf1se$49d@csdsun1.arlut.utexas.edu>Show Full Headers
Complete Article Headers
Message-ID: <bkf4u0$54s$1@katie.ellegaard.dk> Subject: Re: INN--how to migrate cyclobuff to new disk Date: Fri, 19 Sep 2003 14:47:28 +0000 From: Klaus Ellegaard <klausellegaard@msn.com> References: <bkf1se$49d@csdsun1.arlut.utexas.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.20140818.mbox.gz!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!news2.euro.net!newsfeed.multikabel.nl!news.tele.dk!news.tele.dk!small.news.tele.dk!news100.image.dk!news.ellegaard.dk!ellegaard.dk!not-for-mail Newsgroups: news.software.nntp Organization: Organized? Who, me? Lines: 38 Distribution: usa X-Trace: katie.ellegaard.dk 1063982848 5276 192.168.1.1 (19 Sep 2003 14:47:28 GMT) X-Complaints-To: abuse@ellegaard.dk NNTP-Posting-Date: Fri, 19 Sep 2003 14:47:28 +0000 (UTC) X-No-Archive: yes X-No-ahbou: yes User-Agent: nn/6.6.5