Thread View: news.software.nntp
7 messages
7 total messages
Started by Mark Powell
Fri, 25 Sep 1998 00:00
Translating traditional into stoageapi
Author: Mark Powell
Date: Fri, 25 Sep 1998 00:00
Date: Fri, 25 Sep 1998 00:00
34 lines
2139 bytes
2139 bytes
Recently moved from 1.7.2-insync?? to 2.1 with CNFS for everything except local groups which are using timehash, so they can be backed up. I noticed yesterday in the makehistory man page that it can translate traditionally stored articles into storage api. Our local groups are salford.* and I still have the tree under articles: $ l /var/news/spool/articles total 10 drwxr-xr-x 5 news news 512 Sep 25 11:39 . drwxr-xr-x 11 news news 512 Sep 24 11:53 .. drwx------ 2 root root 512 Sep 23 16:09 lost+found drwxrwxr-x 10 news news 512 Sep 23 16:09 salford drwxrwxr-x 8 news news 512 Sep 25 03:41 time-01 I'd like all those old articles in the salford dir to be available again. Would a simple: $ makehistory -t s achieve this? Would that "re-store" the articles in the timehash tree? Allowing me to then dispense with the salford directory or will it simply just add them to the history file, but still access them traditionally? I understand innd mustn't be running whilst doing this? Cheers. -- Mark Powell - System Administrator (UNIX) - Clifford Whitworth Building A.I.S., University of Salford, Salford, Manchester, UK. Tel: +44 161 295 5936 Fax: +44 161 295 5888 Email: M.S.Powell@ais.salfrd.ac.uk finger mark@ucsalf.ac.uk (for PGP key) NO SPAM please: Spell salford correctly to reply to me.
Re: Translating traditional into stoageapi
Author: Kjetil Torgrim Homme
Date: Fri, 25 Sep 1998 00:00
Date: Fri, 25 Sep 1998 00:00
32 lines
1972 bytes
1972 bytes
[Mark Powell] > Recently moved from 1.7.2-insync?? to 2.1 with CNFS for everything except > local groups which are using timehash, so they can be backed up. > I noticed yesterday in the makehistory man page that it can translate > traditionally stored articles into storage api. Our local groups > are salford.* and I still have the tree under articles: > > I'd like all those old articles in the salford dir to be available > again. Would a simple: > > $ makehistory -t s > > achieve this? Would that "re-store" the articles in the timehash tree? I am afraid it is too late now (not 100% sure, though). You should have done it before starting the new server. You can however fairly easily construct a batch file out of your existing spool, and then feed it back in. Remember to temporarily lower the age limit on incoming articles (the -c flag to innd). Also take care that these articles are not fed to your peers... > Allowing me to then dispense with the salford directory or will it > simply just add them to the history file, but still access them > traditionally? It would move them to the timehash directory. Kjetil T.
Re: Translating traditional into stoageapi
Author: Kjetil Torgrim Homme
Date: Mon, 28 Sep 1998 00:00
Date: Mon, 28 Sep 1998 00:00
20 lines
1446 bytes
1446 bytes
[Mark Powell] > Why? What difference does it make that the server has already run? > Surely I can stop it and simply recreate the whole history > database, including these articles? For that matter what is this > translate optin for, if not for this? The translate option takes an existing old spool or old history file and creates a new spool and history file. I think it is non-trivial to merge your new database with the old one. > Feeding them back in via inews, would. However, I wanted to know > what makehistory would do. That was the question I answered. Kjetil T.
Re: Translating traditional into stoageapi
Author: Mark Powell
Date: Mon, 28 Sep 1998 00:00
Date: Mon, 28 Sep 1998 00:00
60 lines
2896 bytes
2896 bytes
In article <1r67ec71yx.fsf@haey.ifi.uio.no>, Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: >[Mark Powell] >> Recently moved from 1.7.2-insync?? to 2.1 with CNFS for everything except >> local groups which are using timehash, so they can be backed up. >> I noticed yesterday in the makehistory man page that it can translate >> traditionally stored articles into storage api. Our local groups >> are salford.* and I still have the tree under articles: >> >> I'd like all those old articles in the salford dir to be available >> again. Would a simple: >> >> $ makehistory -t s >> >> achieve this? Would that "re-store" the articles in the timehash tree? > >I am afraid it is too late now (not 100% sure, though). You should >have done it before starting the new server. Why? What difference does it make that the server has already run? Surely I can stop it and simply recreate the whole history database, including these articles? For that matter what is this translate optin for, if not for this? > You can however fairly >easily construct a batch file out of your existing spool, and then >feed it back in. Remember to temporarily lower the age limit on >incoming articles (the -c flag to innd). Also take care that these >articles are not fed to your peers... Yeah, but doing this, updates the Date: line on the articles. That'll just be confusing. >> Allowing me to then dispense with the salford directory or will it >> simply just add them to the history file, but still access them >> traditionally? > >It would move them to the timehash directory. Feeding them back in via inews, would. However, I wanted to know what makehistory would do. -- Mark Powell - System Administrator (UNIX) - Clifford Whitworth Building A.I.S., University of Salford, Salford, Manchester, UK. Tel: +44 161 295 5936 Fax: +44 161 295 5888 Email: M.S.Powell@ais.salfrd.ac.uk finger mark@ucsalf.ac.uk (for PGP key) NO SPAM please: Spell salford correctly to reply to me.
Re: Translating traditional into stoageapi
Author: bill davidsen
Date: Mon, 28 Sep 1998 00:00
Date: Mon, 28 Sep 1998 00:00
22 lines
1699 bytes
1699 bytes
In article <6unhit$7jp$1@plato.salford.ac.uk>,
Mark Powell <mark@salfrd.ac.uk> wrote:
| In article <1r67ec71yx.fsf@haey.ifi.uio.no>,
| Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
| > You can however fairly
| >easily construct a batch file out of your existing spool, and then
| >feed it back in. Remember to temporarily lower the age limit on
| >incoming articles (the -c flag to innd). Also take care that these
| >articles are not fed to your peers...
|
| Yeah, but doing this, updates the Date: line on the articles. That'll
| just be confusing.
Say what? It would reset the date received field in the history file,
but it shouldn't change the posting date.
--
bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc
Never underestimate the power of stupid people in large groups
Re: Translating traditional into stoageapi
Author: Mark Powell
Date: Mon, 28 Sep 1998 00:00
Date: Mon, 28 Sep 1998 00:00
38 lines
2426 bytes
2426 bytes
In article <1remsw5jce.fsf@haey.ifi.uio.no>, Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: >[Mark Powell] > >> Why? What difference does it make that the server has already run? >> Surely I can stop it and simply recreate the whole history >> database, including these articles? For that matter what is this >> translate optin for, if not for this? > >The translate option takes an existing old spool or old history file >and creates a new spool and history file. I think it is non-trivial >to merge your new database with the old one. It wouldn't seem that difficult. I was assuming that makehistory could find the articles in the traditional spool dir and then copy them into the timehash directories. I suppose I could always just copy them in there myself, using relevant filenames and then just completely rebuild history, overviews and indexs? >> Feeding them back in via inews, would. However, I wanted to know >> what makehistory would do. > >That was the question I answered. I'm not clear. Are you saying I can do this with makehistory? I'd just like to know before I do this, as a complete rebuild takes about 6 hours on our woefully under-powered news box. -- Mark Powell - System Administrator (UNIX) - Clifford Whitworth Building A.I.S., University of Salford, Salford, Manchester, UK. Tel: +44 161 295 5936 Fax: +44 161 295 5888 Email: M.S.Powell@ais.salfrd.ac.uk finger mark@ucsalf.ac.uk (for PGP key) NO SPAM please: Spell salford correctly to reply to me.
Re: Translating traditional into stoageapi
Author: Mark Powell
Date: Tue, 29 Sep 1998 00:00
Date: Tue, 29 Sep 1998 00:00
32 lines
1957 bytes
1957 bytes
In article <6uomhm$2rv4$1@newssvr09-int.news.prodigy.com>, bill davidsen <davidsen@tmr.com> wrote: >In article <6unhit$7jp$1@plato.salford.ac.uk>, >Mark Powell <mark@salfrd.ac.uk> wrote: >| Yeah, but doing this, updates the Date: line on the articles. That'll >| just be confusing. > >Say what? It would reset the date received field in the history file, >but it shouldn't change the posting date. I thought he meant using inews. I forgot about the long distant past an using #! rnews xxx UUCP style batches. Used that and reinjected all my old articles. Cheers, for the help. >-- > bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc >Never underestimate the power of stupid people in large groups > -- Mark Powell - System Administrator (UNIX) - Clifford Whitworth Building A.I.S., University of Salford, Salford, Manchester, UK. Tel: +44 161 295 5936 Fax: +44 161 295 5888 Email: M.S.Powell@ais.salfrd.ac.uk finger mark@ucsalf.ac.uk (for PGP key) NO SPAM please: Spell salford correctly to reply to me.
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