🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #67414

Re: Server Upgrade

#67414
From: Jeffrey M. Vinocur
Date: Sat, 13 Dec 2003 14:57
45 lines
3043 bytes
In article <200312131201.hBDC15Cn002508@www.aarg.net>,
Muttley  <Use-Author-Address-Header@[127.1]> wrote:
>
>What do I need to backup and how can I recover the server to its
>current state once I get the new OS up and running with INN-2.4.0
>reinstalled?

Ok, you need:

- your articles (in $patharticles, unless they're in CNFS)
- the config files (in $pathetc)
- the active and newsgroups files (in $pathdb)
- any custom filters you installed (in $pathfilter, or perhaps
  a cleanfeed.local installed in another location)
- any custom authentication stuff you're using (like a custom
  passwd file for news accounts)
- if you've been generating HTML versions of the news.daily
  reports, you might want to save the old ones
- you might want to look at the first few lines of config.status
  (located in your original source tree) so you can be sure to
  use the same ./configure options

Are you using CNFS?  If so I'd want to think about this a little
more.  Otherwise, should be straightforward; back up those
things, compile INN on the new system with the same ./configure
command, `make install`, then put all the pieces back where they
belong, run `makehistory` to rebuild your history and overview
databases (thus, you need at least -O, and perhaps other options
that look good to you).

I forget whether makehistory in 2.4.0 runs makedbz automatically
or not.  When you're done, it should have created history,
history.dir, history.hash, and history.index (all in $pathdb).
If you only got history and not the others, run makedbz.  If you
got history, and the others as well but they have a .n. in the
middle of their names, just rename them.


Hmm, Russ, think this is worth FAQing?  Could be slightly more
verbose, if so.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <brf9cf$jud$2@puck.litech.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.20140818.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!fr.ip.ndsoftware.net!news.litech.org!not-for-mail
References: <200312131201.hBDC15Cn002508@www.aarg.net>

Show Full Headers
Complete Article Headers
Message-ID: <brf9cf$jud$2@puck.litech.org>
Subject: Re: Server Upgrade
Date: Sat, 13 Dec 2003 14:57:19 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <200312131201.hBDC15Cn002508@www.aarg.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.20140818.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!fr.ip.ndsoftware.net!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 45
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1071327439 20429 66.218.0.75 (13 Dec 2003 14:57:19
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Sat, 13 Dec 2003 14:57:19 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)