Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 158067

Summary: improve tasklist backup snapshot functionality
Product: z_Archived Reporter: Robert Elves <robert.elves>
Component: MylynAssignee: Robert Elves <robert.elves>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P2 CC: leo.dos.santos, steffen.pingel
Version: unspecified   
Target Milestone: 3.0   
Hardware: PC   
OS: All   
Whiteboard:
Bug Depends on: 196283, 202275, 226032, 226221, 229742, 230304    
Bug Blocks:    

Description Robert Elves CLA 2006-09-20 17:12:03 EDT
We are currently taking snapshots of the tasklist but there is no ui for recovery.
Merge snapshot with current mylar data backup/import functionality.
Comment 1 Robert Elves CLA 2006-10-19 13:10:41 EDT
Also investigate how the tasklist.xml is being written and ensure that it recovers gracefully in the event of malformed xml.
Comment 2 Mik Kersten CLA 2006-11-21 17:46:03 EST
Note that I have added a "Restore Task List from History..." action to the Task List's view menu.
Comment 3 Robert Elves CLA 2007-05-02 14:08:03 EDT
Upon failure to read tasklist, we should attempt to restore from a backup then inform user of the situation.
Comment 4 Robert Elves CLA 2008-01-16 17:26:44 EST
TODO:
* reduce disk usage of backups
* investigate possible concurrency issues with restore due to periodic backup/save jobs taking place during restore.
Comment 5 Robert Elves CLA 2008-02-21 21:44:48 EST
Deferring due to necessary fixes to concurrency and required api changes.
Comment 6 Steffen Pingel CLA 2008-04-05 14:17:35 EDT
Rob, we should consider to also save the workingset.xml file. When I had to restored my task list I always I had to reassign queries to my task working sets.
Comment 7 Robert Elves CLA 2008-04-05 19:16:35 EDT
 (In reply to comment #6)
> Rob, we should consider to also save the workingset.xml file. When I had to
> restored my task list I always I had to reassign queries to my task working
> sets.
Excellent idea. Will do.
Comment 8 Mik Kersten CLA 2008-04-08 11:55:23 EDT
That's a weird one.  It should be out of our scope of what to back up, but due to the way that Task List restore happens the working sets are effectively blown away.  If there's a straightforward way of our storing the working sets that makes sense to me too, but it seems like a separate bug.
Comment 9 Robert Elves CLA 2008-06-06 21:31:53 EDT
Snapshots are restored automatically in event of failure.  Concurrency issues addressed using jobs api.  
Comment 10 Robert Elves CLA 2008-06-12 15:57:17 EDT
Resolved.