🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Mandar M. Gadgil Wed, 11 Jun 1997 00:00
Backup/Recovery of news
#18413
Author: Mandar M. Gadgil
Date: Wed, 11 Jun 1997 00:00
33 lines
1590 bytes
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?

   (It is required  to run  makeactive  and  makehistory.  info from man
    page of news-recovery)

2. Can someone give more info on  newsrequeue.  Specially on the "INPUT"
   field.  The man page says that a history file could be an input.  But
   then again the man page also gives "-h" option for history file to be
   specified.

3. What  is the  output  of the  newsrecovery.  I think  the  output  is
   directed to STDOUT.  Is the output always piped to filechan.

Thanking you...

Regards

Mandar


Re: Backup/Recovery of news
#18407
Author: 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



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