🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #45465

Re: moving news spool tree

#45465
From: Jeremy
Date: Sat, 01 Apr 2000 00:00
32 lines
1517 bytes
Unknown  <someone@> wrote:

> I have a standalone server of inn 2.2.2 and was wondering what the
> best approach is to move the /usr/lib/news tree to another disk
> without losing all the articles.  

Assuming you're moving to /usr/local/news, you can do:

cd /usr/lib/news; tar cf - . | (cd /usr/local/news; tar xfBp -)

...or something.

> Is it just a matter of shutting news down, cp 'ing the tree to the new
> location then changing the paths in the various /usr/lib/news/etc/
> files? 

If you're moving the entire INN installation, yes, that should do it.
Though it would be "cleaner" to recompile with the new paths, if you
care about that sort of thing.

Using tar is faster than cp and probably better.

Oh yeah -- do this without the server running.

> And after doing that do I need to do some sort of re-indexing? 

No, I don't think that will be necessary.

-- 
Jeremy  (  jeremy@exit109.com  |  bofh@netscum.dk  )

Technical Details
Message-ID: <954613950.98870@news.netscum.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <ce3ces0t1kfi08peei41cme4db65vfrehl@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <954613950.98870@news.netscum.dk>
Subject: Re: moving news spool tree
Date: Sat, 01 Apr 2000 00:00:00 +0000
From: Jeremy <bofh@netscum.dk>
References: <ce3ces0t1kfi08peei41cme4db65vfrehl@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 605343668
Organization: There Is No Organization
X-Meow: Meow
Newsgroups: news.software.nntp