Thread View: news.software.nntp
2 messages
2 total messages
Started by Jeremy
Sat, 01 Apr 2000 00:00
Re: moving news spool tree
Author: Jeremy
Date: Sat, 01 Apr 2000 00:00
Date: Sat, 01 Apr 2000 00:00
32 lines
1517 bytes
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 )
Re: moving news spool tree
Author: Sven Paulus
Date: Sat, 01 Apr 2000 00:00
Date: Sat, 01 Apr 2000 00:00
7 lines
803 bytes
803 bytes
Jeremy <bofh@netscum.dk> wrote: |> Using tar is faster than cp and probably better. Especially it keeps hardlinks, which "traditional" cp doesn't (Linux's "cp -a" and cpio also copy hardlinks).
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