hard links (leafnode)
Adam Funk
a24061 at ducksburg.com
Mon Sep 24 12:31:17 UTC 2012
On 2012-09-23, Thufir wrote:
> I'm backing up leafnode NNTP server contents as per:
>
> "It is, however, important that tar, pax, cpio, or whichever tool you
> use, is (A) capable of, and (B) instructed to save and restore
> hard links as hard links (rather than just copies). Each article has
> only one file (inode, technically speaking) with multiple names (= hard
> links). This makes sure that we do not waste space (inodes and blocks)
> on the file systems while maintaining fast access both by article number
> and by message ID."
>
> http://article.gmane.org/gmane.network.leafnode/4647
...
> Just want to make sure before I do the backup. It should be fine? Just
> backup, and then I can put it back onto the spool at /var/news?
I think even if you restore the spool incorrectly (with duplicate
files rather than hard links, that is), you can run texpire with the
'-r' option ("repair") and it will fix them.
More information about the ubuntu-users
mailing list