Application migration problematics MOSS 2007
===

I would like to have your opinion about my situation.

I have developped a web application based on MOSS 2007 with VS2008. My WSP contains an initial set of data (xml file) used to feed the web application with the initial data (all the data is stored in two lists).

I would like to find the best solution to keep the data if the web application is deployed in a different place, here are the solutions I thought of :

Let's suppose the old server is O and the new is N.

 1. Use the stsadm export/import after having deployed the package on N. The problem with that solution is that it doesn't reproduce the permissions on the lists

 2. Use the stsadm backup/restore after having deployed the package on N. This solution is the best so far, it only requires to change the site collection administrator of the backuped site in the central admin (the old one is not the same as the new one)

 3. Develop a feature that will export the application data to an XML file, add it to the VS2008 solution, repackage, deploy the WSP on the server N

Here are the three solutions I had in my mind, for the moment the best for me is the solution 2 as it necessitates less development that the third which, otherwiwe, is by far the cleanest.

Thank you for all your ideas, advices,