[leafnode-list] Re: Correct way to copy the news spool and leafnode configuration to another computer?

Adam Funk a24061 at yahoo.com
Tue Aug 8 11:24:06 CEST 2006


On 2006-08-08, Matthias Andree <matthias.andree at gmx.de> wrote:
> Adam Funk <a24061 at yahoo.com> writes:
>
>> Sometime soon I need to move leafnode from one computer (Debian) to
>> another (Ubuntu).  I think the configuration can be copied by simply
>> copying /etc/news/leafnode/ into place on the second machine,
>
> Yes - but be sure to not accidentally leave a config file with passwords
> publicly readable. Use of proper options to maintain permissions and
> ownership advised. cp -p, scp -p or similar.
>
>> but what do I need to do to copy /var/spool/news/ (which I understand
>> contains a lot of files with multiple hard links)?  Can tar handle the
>> hard links correctly, or do I need to used cpio?
>
> Recent versions of pax, tar and cpio should be fine.
> For tar, remember to use the "-p" option on the destination side.
> When using rsync, be sure to use the -H and -a options.
>
> When you encounter strange behavior after the copy, run "texpire -r",
> which is supposed to sort things out.

Sounds good, thanks!




More information about the leafnode-list mailing list