I, by accident have deleted many tickets (1600).
We have a backup of Data.fs.
We currently are running two MM instances (0.96), one
with the actual tickets (missing the 1600 deleted), and another old one.
I tried to export the new tickets, and import them
into the backup instance. Importing with ZMI fails with "This object does not support that operation".
We now have a considerably production problem. I hope, somebody can help.
This is maybe a little bit obvious but have you just tried to undo the delete from the ZMI undo tab? This should work fine providing you do it soon enough and providing the database hasn't been packed.
Undo I tried too.
But I didn't find relevant undo entries.
The backup is the Data.fs.old from packing. Deletion occurred afterwards. (We currently encountered, that the Data.fs was not really backuped to tape, since it was larger than 2GB, and the backup job by mistake signaled OK, though he failed).
Is there anything special in importing BtreeFolder2 objects (tickets) ?
There's nothing special about BTreeFolder2 but there is something special about Tickets, they aren't registered so can't be pasted - which also breaks import/export. This was something that has come up before when people have sent us exports.
Unfortunately we are behind on on some commercial projects right now so we really can't spend much time investigating this. James is going to have a quick look at this but if he can't solve it quickly it will either have to wait until we have a bit more time or we could do it as a commercial engagement.
Try adding this code to the initialize() function in the__init__ module.
This should make imports work.
This really enables imports !!!
I changed the direction (exported old, importing in new), otherwise I got problems with next_ticket.
Some little scripts, and I could succesfully restore all the 1600 tickets !
Many thanks for great and quick support.
The decision to use MailManager was a very good one.
That's good news.
Reminds me to check that our own MailManager is being backed up properly!
FYI, the code to register tickets has now been committed.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.