🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #18407

Re: Backup/Recovery of news

#18407
From: Matt Dillon
Date: Wed, 11 Jun 1997 00:00
57 lines
2676 bytes
:In article <339CF587.6D1D@india.hp.com>,
:Mandar M. Gadgil <mandar@india.hp.com> wrote:
:>Hi
:>
:>I am working on  INN1.4UNOFF.  I have few questions on news
:>backup/recovery:
:>
:>I would like to know the recovery  mechanism after a disk crash.  I have
:>browsed thru the man page of news-recovery, but could not figure out a
:>few things. I would appreciate if someone can throw some light on these
:>issues.
:>
:>1. Can I restore the current news  articles  after a disk crash.  How to
:>   acheive this?
:>...
:>
:>Thanking you...
:>
:>Regards
:>
:>Mandar

    Well, if you are taking a full feed or have a large (greater then 4G)
    spool, you generally have two choices:

    (1) when the system comes back up and fsck's ok, if the history file is
	still good and most of the spool is intact, you just start innd 
	normally and do not try to recover the lost spool files.

	innd will renumber the active file and return to normal operation.
	Renumbering the active file usually takes around 15 minutes.

    (2) If the crash blows away your history file, you can rebuild it with
	makehistory, but if you have a large spool this can take 24 hours
	or longer and the news system is useless until the rebuild is
	finished.

	Usually, it isn't worth the wait.  When this happens, I generally
	newfs the spool, remove the history file, and start from scratch,
	which takes all of 10 minutes.  (I NEWFS rather then rm -rf because
	rm -rf 'ing a full spool can take hours).

    Keeping a backup of your history file is usually not all that useful
    on a newsreader machine, but can be useful on a newsfeeds machine to
    'prime' the system if you loose the real history file.  i.e. so you
    are not inundated with 30 articles/sec that you had already received
    days earlier.

    You definitely want to backup the INND control and configuration files
    (newsfeeds, expire.ctl, binaries, scripts, etc...)

						-Matt



Technical Details
Message-ID: <5nmp0l$q66$1@flea.best.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mail
References: <339CF587.6D1D@india.hp.com>

Show Full Headers
Complete Article Headers
Message-ID: <5nmp0l$q66$1@flea.best.net>
Subject: Re: Backup/Recovery of news
Date: Wed, 11 Jun 1997 00:00:00 +0000
From: dillon@best.net (Matt Dillon)
References: <339CF587.6D1D@india.hp.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mail
X-Deja-AN: 247753839
Distribution: world
Sender: zorch@ftp.UU.NET
Organization: Best Internet Communications, Inc. - 415 964 BEST
Newsgroups: news.admin.misc,news.admin.technical,news.software.nntp