Hello,
I´ve restored a full backup but I get some errors. In the log file, at the end of the restore, I get this message:
PS C:\Users\sharepoint> Import-SPWeb -Identity http://develop_machine -Path C:\intranet.cmp -IncludeUserSecurity
Archivo de registro generado: C:\intranet.cmp.import.log
Import-SPWeb : En línea: 1 Carácter: 13 + Import-SPWeb <<<< -Identity http://develop_machine -Path C:\intranet.cmp -IncludeUserSecurity + CategoryInfo : InvalidData: (Microsoft.Share…CmdletImportWeb: SPCmdletImportWeb) [Import-SPWeb], SPException + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletImportWe b
PS C:\Users\sharepoint> PS C:\Users\sharepoint>
I use this command for the backup:
Export-SPWeb -identity http://production_server -Path C:\intranet.cmp -IncludeUserSecurity
Regards,
María
In addition to the last file I attached, I write the las errors an the end of the import log file. Messages are in spanish. Any suggestion is welcome. Regards, María
[11/07/2013 15:10:30] [ListItem] [v4.master] Verbose: List URL: /Docs/_catalogs/masterpage
[11/07/2013 15:10:30] [ListItem] [v4.master] Warning: La dirección URL ‘_catalogs/masterpage/v4.master’ no es válida. Puede que haga referencia a una carpeta o un archivo que no existe, o a una carpeta o un archivo válido que no está en el sitio web actual.
[11/07/2013 15:10:30] [ListItem] [v4.master] Debug: en Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
en Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish, String bstrFileName, ISP2DSafeArrayWriter pListDataValidationCallback, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback)
en Microsoft.SharePoint.SPListItem.AddOrUpdateItem(Boolean bAdd, Boolean bSystem, Boolean bPreserveItemVersion, Boolean bNoVersion, Boolean bMigration, Boolean bPublish, Boolean bCheckOut, Boolean bCheckin, Guid newGuidOnAdd, Int32& ulID, Object& objAttachmentNames, Object& objAttachmentContents, Boolean suppressAfterEvents, String filename)
en Microsoft.SharePoint.SPListItem.AddOrUpdateItem(Boolean bAdd, Boolean bSystem, Boolean bPreserveItemVersion, Boolean bNoVersion, Boolean bMigration, Boolean bPublish, Boolean bCheckOut, Boolean bCheckin, Guid newGuidOnAdd, Int32& ulID, Object& objAttachmentNames, Object& objAttachmentContents, Boolean suppressAfterEvents)
en Microsoft.SharePoint.Deployment.FileSerializer.SetGhostedFile(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid existId, String fileUrl, SerializationInfoHelper infoHelper, SerializationInfoHelper infoHelperListitem, Boolean fileExistsInDb, StreamingContext context)
[11/07/2013 15:10:30] Progress: Importando Asignación de rol para Docs/Documentos/13.-OFERTAS/SANIDAD/369 SERGAS/7482 Arrendamiento con opción de co.
[11/07/2013 15:10:30] Warning: No se puede resolver la asignación de rol de Docs/Documentos/13.-OFERTAS/SANIDAD/369 xxxxxx/7482 Arrendamiento con opción de co.
[11/07/2013 15:10:31] FatalError: Error inesperado.
[11/07/2013 15:10:31] Debug: en Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
en Microsoft.SharePoint.Library.SPRequest.UpdateMembers(String bstrUrl, UInt32 dwObjectType, String bstrObjId, Guid& pguidScopeId, Int32 lGroupID, Int32 lGroupOwnerId, Object& pvarArrayAdd, Object& pvarArrayAddIds, Object& pvarArrayLoginsRemove, Object& pvarArrayIdsRemove, Boolean bRemoveFromCurrentScopeOnly, Boolean bSendEmail)
en Microsoft.SharePoint.Deployment.RoleAssignmentsImport.ProcessComplexElement(ImportStreamingContext context, XmlReader xr, SqlSession session)
en Microsoft.SharePoint.Deployment.SqlBatchImport.Run()
en Microsoft.SharePoint.Deployment.SecurityObjectSerializer.SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
en Microsoft.SharePoint.Deployment.XmlFormatter.CallSetObjectData(Object obj, SerializationInfo objectData, ISerializationSurrogate surrogate, ISurrogateSelector selector)
en Microsoft.SharePoint.Deployment.XmlFormatter.ParseObjectDirect(Object objParent, Type objectType)
en Microsoft.SharePoint.Deployment.XmlFormatter.DeserializeObject(Type objectType, Boolean isChildObject, DeploymentObject envelope)
en Microsoft.SharePoint.Deployment.XmlFormatter.Deserialize(Stream serializationStream)
en Microsoft.SharePoint.Deployment.ObjectSerializer.Deserialize(Stream serializationStream)
en Microsoft.SharePoint.Deployment.SPImport.DeserializeObjects()
en Microsoft.SharePoint.Deployment.SPImport.Run()
[11/07/2013 15:10:44] Progress: No se completó Importar.
[11/07/2013 15:10:44] Hora de fin: 11/07/2013 15:10:44.
[11/07/2013 15:10:44] Duration: 02:32:59
[11/07/2013 15:10:44] Finalizado con 6 advertencias.
[11/07/2013 15:10:44] Finalizado con 9023 errores.