Article View: news.software.nntp
Article #90334Re: Re-feeding articles?
From: Jesse Rehmer
Date: Fri, 28 Apr 2023 18:24
Date: Fri, 28 Apr 2023 18:24
63 lines
3895 bytes
3895 bytes
On Apr 28, 2023 at 1:15:04 PM CDT, "Jesse Rehmer"
<jesse.rehmer@blueworldhosting.com> wrote:
> On Apr 28, 2023 at 10:59:03 AM CDT, "Nigel Reed" <sysop@endofthelinebbs.com>
> wrote:
>
>> Hi there,
>>
>> I've now got myself an zfs file system so shouldn't have any inode
>> issues, plus I'm blocking the mixmin server, I hope, by adding
>> mixmin.com to the cleanfeed bad_paths file.
>>
>> Now, after I've deleted all the rogue articles, I'm ready to copy my
>> spool back to the server. This means I'm going to be missing news from
>> somewhere around 15th April until current.
>>
>> Julien told me that it's possible for newsmasters to resend articles
>> but it's a manual process and didn't elaborate.
>>
>> Can someone explain how that would be achieved? for example, to resend
>> everything from Apr 15 at 00:00 GMT.
>>
>> I'll just have a "ME" line in newsfeeds so the articles wont get sent
>> out to everyone else until the process is complete.
>>
>> To be sure, I'll also need to make sure my newsserver doesn't reject
>> the older articles. Oh man, I feel such a noob! lol.
>>
>> Thanks,
>
> This is the best explanation for what you're after from
> https://www.eyrie.org/~eagle/faqs/inn.html#S6.4:
>
> To feed all articles on an existing server to another one, regardless of how
> they're stored on the server, first tell the new server to accept articles
> regardless of how old they are (otherwise, INN will reject articles older than
> artcutoff in inn.conf) and disable your filtering:
>
> ctlinnd param c 0
> ctlinnd perl n
> ctlinnd python n
>
> In case you wish to only feed articles arrived on the old server between two
> dates, you can adapt the previous commands with a condition on the $arrived
> variable (or the $posted variable if you prefer to use the Date header field
> instead of the actual arrival time). For instance, the following commands will
> feed articles arrived between two given timestamps (that can be computed with
> the convdate utility shipped with INN).
>
> convdate -n '15 Apr 2014 20:42 +0200' '16 Apr 2014 12:37 +0200'
> returns the two corresponding timestamps 1397586540 and 1397644620 that can
> then be used to retrieve a subset of articles to feed:
>
> cd <pathdb in inn.conf>
> perl -ne 'chomp; our ($hash, $timestamps, $_) = split " "; \
> my ($arrived, $expires, $posted) = split("~", $timestamps); \
> print "$_\n" if $_ and $arrived >= 1397586540 \
> and $arrived <= 1397644620' history \| tr . / ><pathoutgoing
> ininn.conf>/list
> innxmit server list
Forgot to mention, if you want someone to try feeding you a batch, hit me up
via e-mail.
Technical Details
Message-ID:
<u2h300$1ih3$1@nnrp.usenet.blueworldhosting.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<20230428105903.5eb31dd4@wibble.sysadmininc.com> <u2h2f8$rjm$1@nnrp.usenet.blueworldhosting.com>Show Full Headers
Complete Article Headers
Message-ID: <u2h300$1ih3$1@nnrp.usenet.blueworldhosting.com> Subject: Re: Re-feeding articles? Date: Fri, 28 Apr 2023 18:24:01 +0000 From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com> References: <20230428105903.5eb31dd4@wibble.sysadmininc.com> <u2h2f8$rjm$1@nnrp.usenet.blueworldhosting.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: BlueWorld Hosting Usenet (https://usenet.blueworldhosting.com) Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=fixed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 28 Apr 2023 18:24:01 -0000 (UTC) Injection-Info: nnrp.usenet.blueworldhosting.com; logging-data="51747"; mail-complaints-to="usenet@blueworldhosting.com" User-Agent: Usenapp for MacOS Cancel-Lock: sha1:aeSciFUE6WZJivPUV8JlxXxXoC4= sha256:DycDXml48jQvOzw8TSGv4ZVZ529h7/kIgcKu4Pr9Zuo= sha1:jBvmtF6hg1CIU5Zrrk+GukQhZkk= sha256:+/QeRkAfBxmQ0X/dXZ/TZR19lo0YTo3XKCxQThFxOus= X-Usenapp: v1.26.6/d - Full License