🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Muttley Sat, 13 Dec 2003 12:01
Server Upgrade
#67411
Author: Muttley
Date: Sat, 13 Dec 2003 12:01
10 lines
1278 bytes
Hello,
I'm looking to upgrade a server running INN to a new OS version.
This is largely because RH8 goes out of support from end Dec.  The
server is currently running INN-2.4.0 which is installed from the
source, rather than RH's RPM.

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?
Re: Server Upgrade
#67414
Author: 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
Re: Server Upgrade
#67428
Author: Muttley
Date: Sun, 14 Dec 2003 11:22
11 lines
1295 bytes
In article <brf9cf$jud$2@puck.litech.org>
jeff@litech.org (Jeffrey M. Vinocur) wrote:
>
> Hmm, Russ, think this is worth FAQing?  Could be slightly more
> verbose, if so.

Jeffrey,
Excellent instructions, thanks for your time.  Personally I think it
would be well worth FAQ'ing.
Re: Server Upgrade
#69140
Author: Russ Allbery
Date: Mon, 17 May 2004 09:32
43 lines
3167 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:

> 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.

Yeah, a good FAQ entry on "how do I back up and recover INN" would be
good.  I'll add the above into the beginnings of an entry and hopefully
people can flesh it out.

-- 
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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads