3

I have a list template (.stp) file. I would like to restore the list and its contents in any given SharePoint environment. The conditions for restoring are listed below:

  1. Restore the list to any given SharePoint environment/server (as stated above),
  2. Preserve the GUID of the list across environments so that the references (lookup fields) are carried over.
  3. Preserve the list metadata including the version history and last modified (date, user, etc).

I am looking to do this in SharePoint 2010 environment. During my search I found the following suggestions, but none of these fulfill all the conditions as listed above:

Please let me know if there is a way to do this using PowerShell or otherwise. Else, I plan to write my own cmdlet. Thank you.

1 Answer 1

1

If you want to Preserve the GUID, you can use backup-restore content database approach. Simply back-up your content database from your old SQL Server environment, restore it in new SQL Server environment(or new database in the same SQL Server Instance) and add your restored content database to sharepoint via central admin.

Unfortunately, it will carry all site collection and web under that content database, not specific list.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.