I use the popular Tree Style Tab firefox extension. How can I back up all open tabs and later restore them, yielding the same tab tree? The backup could be saved to the bookmarks database, or to a separate file. New backups should not overwrite old backups.
I don't really want to back up the whole session, just the tabs. Ideally I'd like to schedule a task within firefox to create a new backup daily or at browser close time.
Note that right click and "Bookmark this Tree..." works for sub-trees, but so far as I can see, not for the entire tree (you can't bookmark all open tabs this way). Meanwhile, right click and "Bookmark All Tabs..." does save all of the tabs, but loses the tree structure.