🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #66504

Re: INN Backup policy

#66504
From: aioe
Date: Sun, 17 Aug 2003 10:44
38 lines
1989 bytes
On Wed, 13 Aug 2003 22:11:42 -0300, Smalltalkiano wrote:

>     I want to hear people with more experience with INN (than two weeks
>     :)about how to make a backups of the goups, and how to make the
>     restore.

if you need to backup a small number of articles, you may use suck (
http://www.sucknews.org/index.html )

In essence, suck retrieves messages from a news server (as a client) and
saves them on local disk. You may choose which file format suck has to
use;

if you use a single rnews file as suck output (see rnews(1) for details),
a simple script like this may be enough for you

------

#!/bin/bash

cd /somewhere
# you have to put here sucknewsrc ( see suck(1) )

/usr/bin/suck your.news.server.to.backup -br temp_rnews_file -c [-e][-M][-q]

touch temp_rnews_file

cat temp_rnews_file >>/path/to/general/backup/file

rm temp_rnews_file

------

when you need to recover your articles

cat /path/to/general/backup/file | rnews

Technical Details
Message-ID: <pan.2003.08.17.10.44.11.853220@aioe.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!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!adsl028.14.cyb.IT!not-for-mail
References: <bhg2pe$ca1q$1@ID-71120.news.uni-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <pan.2003.08.17.10.44.11.853220@aioe.org>
Subject: Re: INN Backup policy
Date: Sun, 17 Aug 2003 12:44:12 +0200
From: aioe <estasi@aioe.org>
References: <bhg2pe$ca1q$1@ID-71120.news.uni-berlin.de>
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!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!adsl028.14.cyb.IT!not-for-mail
Newsgroups: news.software.nntp
Lines: 38
NNTP-Posting-Host: adsl028.14.cyb.it (195.191.14.28)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de 1061117053 1375887 195.191.14.28 (16 [188356])
User-Agent: Pan/0.14.0 (I'm Being Nibbled to Death by Cats!)