mharc-users

Re: new mail archive server

2003-06-13 15:32:50
On June 13, 2003 at 12:36, Peter Blajev wrote:

On an old server I have MHonArc archiving emails for mailing list support_arc
h and converting
them to HTML. It put all the files in /.../support_arch/ directory. 

Now I installed a new server with MHonArc and MHarc. Everything is configured
, tested and it's working.

What is the way to move the old messages and have MHarc recreate all index pa
ges?

It depends on what data you have for your old archive and/or the format
of the old archive.  If you have the original raw mail data, it is
straight-forward to import the raw data into mharc.  Several methods
have been discussed on this list in the past.

If all you have is the HTML archive data, you can try an use the
mhn2mbox script by Anthony W which is available at
<http://www.albany.net/~anthonyw/mhonarc/>.  The script converts
mhonarc HTML message pages back into a mailbox file.  Then the mailbox
file can be imported into mharc as raw mail data.

If the script is not sufficient for your needs, then your options
are limited.  If your old archives are in monthly/yearly format,
you could copy them straight into the html archive area for
the list (btw, you will need to add a support_arch entry in your
lists.def if you want mharc to manage the archives).

If it is not in a monthly/yearly format, but just one large archive,
you can copy it over as a 0000-00 period to represent pre-mharc archived
messages.  You can the do an editidx operation to have all the pages
updated to get the mharc look-n-feel.

  CAUTION:
      Doing a 'make rebuild' will cause the old data to be lost since
      there is no backup raw mail data in the mbox archives.  Therefore,
      you should probably avoid puting the old archives under mharc
      and just have a link in the top archive page for users to access
      the old archives.

--ewh

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHARC-USERS

<Prev in Thread] Current Thread [Next in Thread>