|[p2-dev] Data migration|
So what are best practices for migrating data? Certainly P2 facilitates updating code, but what about migrating the data bases or (root) data files associated with a product? Simply coping files around can help, but migration probably involves running code that takes the current state of the product (data bases and/or data files) and updates their structures per the updated code. It would be helpful if the migration could be run as a part of the P2 update itself … even to the point of rolling back the entire update should the migration fail.
So what are people doing to migrate data? Are custom touchpoint handlers or actions helpful?
Also, my specific problem involves a head-less OSGi based server … no Eclipse IDE. Upgrade is un-attended.
Thanks for your thoughts,