Sujet : Re: Switching INN 2 storage format
De : iulius (at) *nospam* nom-de-mon-site.com.invalid (Julien ÉLIE)
Groupes : news.software.nntpDate : 14. Feb 2025, 20:55:49
Autres entêtes
Organisation : Groupes francophones par TrigoFACILE
Message-ID : <voo745$5sgj$2@news.trigofacile.com>
References : 1
User-Agent : Mozilla Thunderbird
Salut Tanguy,
Therefore, I am considering switching to a news storage format more
suitable with a CoW filesystem. I think the best option would be
timehash, any thoughts on that?
If you are looking for a news storage format writing one article per file, either timehash or tradspool could be used.
As I understand it, switching storage format for /new/ articles can
simply be done by simply adding the new storage backend in first
position in storage.conf, can it not?
Exactly. The first matching class found in the storage.conf file is used. You'll have to restart innd to take the modified file into account.
I do not plan on migrating existing articles, but simply to wait for
them to expire since there does not seem to exist any simple migration
procedure. But if someone knows a way to do so, I could be interested.
There is a program named "respool" in the contrib directory <
https://github.com/InterNetNews/inn/blob/main/contrib/respool.c> but I have never used it so I do not know whether it works fine. Use at your own risk! :-)
-- Julien ÉLIE« – Dis Astérix ! Quelle salade pour un peu d'huile ! – Oui, et dépêchons-nous de trouver un guérisseur avant que ça ne tourne au vinaigre. » (Astérix)