On 5 aug 2011, at 21:47, oksofar wrote:

> Our hosting company somehow lost our Trac database, as well as all
> their backups. So I have to recreate it, if I can.
> 
> I had configured Trac to send me emails on every update, so I have
> email messages for every Trac ticket. Theoretically, I could recreate
> the database from these emails with email2trac.
> 
Is in these emails a ticket in the subject line? If yes then start with number 
1 email2trac can handle the updates.  


> To do that, I'd write a script that converts the Trac messages into
> the format that email2trac uses.
> 
> So I have 2 questions:
> 
> 1. Has anyone out there already written such a script? My email client
> is Thunderbird, so the messages are all in plain-text.

Maybe just dump the email folder to disk in mh style. Each message is a file 
then use the command line tool email2trac to create the tickets.
> 
> 2. Is there any way for email2trac to force Trac to use a specific
> incident number on a new ticket? That way I could recreate all the
> tickets with their original ID numbers.
> 
Can make an option for this.
> Thanks.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Trac Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/trac-users?hl=en.
> 

--
Bas van der Vlies
[email protected]



-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to