Usuário com melhor resposta
Backup do Sharepoint

Pergunta
-
Bom dia,
Eu estou tendo problemas com o meu Sharepoint 2010. Na página de Administração Central quando eu vou executar um backup completo
da minha Farm, o backup fica travado. Eu verifiquei em Monitoramento \ Verificar status do trabalho e na parte Executando aparece a seguinte mensagem:
Search Backup and Restore (pause) application d72b017d-230b-48dd-bcf3-33fd1628ae37 server server02
O backup fica travado e não sai disso, eu já deixei de um dia para o outro.
Se eu deletar este Job na parte de monitoramento o backup continua, porém acredito que com erros.Alguem sabe como resolver este problema???
Respostas
-
Acho que o problema esta no parametro passado na BAT, por exemplo:
Eu estava usando o seguinte comando:
STSADM.EXE -o backup -directory \\XXXX - backupmethod full
Quando usei:
stsadm -o backup -url http://portal -filename C:\XXX.bkp -backupmethod full –overwriteFuncionou sem problemas.
Quando eu uso no backup -directory, ele leva como pasta e quando eu uso -url, ele leva o site todo. Eu acho!!?!?
- Marcado como Resposta Anderson Avila terça-feira, 26 de abril de 2011 13:37
Todas as Respostas
-
Oi Anderson, tudo bom?
Você precisa examinar o erro. Primeiramente, vá até os Logs do SharePoint e busque o erro pelo ID que foi gerado (no caso, creio que seja este d72b017d-230b-48dd-bcf3-33fd1628ae37 ).
Lá terá as informações necessárias para que possa identificar o que está acontecendo e ir atrás da solução.
Espero ter ajudado.
Ajude manter o fórum organizado, se útil classifique!
__________________________________________________________
Larah Vidotti
- MCTS > Sharepoint Specialist
- MCTS > Windows Server Virtualization
- MCP > Windows server 2003
- Blog
- Twitter
- Canal SharePoint - Maior comunidade de SharePoint do Brasil -
No arquivo que corresponde o próprio backup (spbackup.log ) não encontrei nada relacionado ao ID do erro, porém no final do arquivo é informado que foi concluído com 10 erros, segue:
[2/9/2011 11:19:32 AM] Concluído com 0 avisos.
[2/9/2011 11:19:32 AM] Concluído com 10 erros.
[2/9/2011 11:19:32 AM] FatalError: Falha no backup para Object Query-0 (C: on server02) failed in event OnBackup. For more information, see the spbackup.log or sprestore.log file located in the backup directory.
[2/9/2011 11:19:32 AM] -------------------------------------------------Eu pesquisei o arquivo C:\Program Files\Common Files\Microsoft Shared\Web Server Exten\SERVER02-20110209-1046.log e esse arquivo possui varias entradas para o ID do erro, segue:
02/09/2011 10:46:55.76 mssearch.exe (0x0974) 0x0A64 SharePoint Foundation Search GatherSvc ds3r High mounting gatherer application d72b017d-230b-48dd-bcf3-33fd1628ae37 [gthrapp.cxx:6393] d:\office\source\search\native\gather\gthrsvc\gthrapp.cxx
02/09/2011 10:46:55.76 mssearch.exe (0x0974) 0x0A64 SharePoint Foundation Search GatherSvc drx4 High initializing gatherer application d72b017d-230b-48dd-bcf3-33fd1628ae37 [gthrapp.cxx:309] d:\office\source\search\native\gather\gthrsvc\gthrapp.cxx02/09/2011 10:46:55.76 mssearch.exe (0x0974) 0x0A64 SharePoint Foundation Search GatherSvc ds0v High Application 'd72b017d-230b-48dd-bcf3-33fd1628ae37' - CLSIDFromProgID failed for IDS_PROGID_RESOURCEMANAGERWITHVERSION [gthrapp.cxx:1482] d:\office\source\search\native\gather\gthrsvc\gthrapp.cxx
02/09/2011 10:46:55.76 mssearch.exe (0x0974) 0x0A64 SharePoint Foundation Search GatherSvc ewk3 High Application 'd72b017d-230b-48dd-bcf3-33fd1628ae37' - Failed to obtain the version ID from the Search database [gthrapp.cxx:1371] d:\office\source\search\native\gather\gthrsvc\gthrapp.cxx
02/09/2011 10:46:55.76 mssearch.exe (0x0974) 0x0A64 SharePoint Foundation Search Gatherer cd10 Critical Could not access the Search database. A generic error occurred while trying to access the database to obtain the schema version info. Context: Application 'd72b017d-230b-48dd-bcf3-33fd1628ae37' Details: Invalid class string (0x800401f3)
02/09/2011 10:46:55.76 mssearch.exe (0x0974) 0x0A64 SharePoint Foundation Search GatherSvc drx5 High Application 'd72b017d-230b-48dd-bcf3-33fd1628ae37' - IsCorrectApplicationDatabaseSchemaVersion failed in CGatherApplication::CGatherApplication::Init [gthrapp.cxx:357] d:\office\source\search\native\gather\gthrsvc\gthrapp.cxx
02/09/2011 10:46:55.76 mssearch.exe (0x0974) 0x0A64 SharePoint Foundation Search GatherSvc ds3u High CGatherApplicationCollection::lokMountInternal failed to Init Application d72b017d-230b-48dd-bcf3-33fd1628ae37, hr = 0xc0041236 [gthrapp.cxx:6441] d:\office\source\search\native\gather\gthrsvc\gthrapp.cxx
02/09/2011 11:01:57.12 mssearch.exe (0x0974) 0x0A64 SharePoint Foundation Search GatherSvc ds3r High mounting gatherer application d72b017d-230b-48dd-bcf3-33fd1628ae37 [gthrapp.cxx:6393] d:\office\source\search\native\gather\gthrsvc\gthrapp.cxx
02/09/2011 11:01:57.12 mssearch.exe (0x0974) 0x0A64 SharePoint Foundation Search GatherSvc drx4 High initializing gatherer application d72b017d-230b-48dd-bcf3-33fd1628ae37 [gthrapp.cxx:309] d:\office\source\search\native\gather\gthrsvc\gthrapp.cxx
02/09/2011 11:01:57.12 mssearch.exe (0x0974) 0x0A64 SharePoint Foundation Search GatherSvc ds0v High Application 'd72b017d-230b-48dd-bcf3-33fd1628ae37' - CLSIDFromProgID failed for IDS_PROGID_RESOURCEMANAGERWITHVERSION [gthrapp.cxx:1482] d:\office\source\search\native\gather\gthrsvc\gthrapp.cxx
02/09/2011 11:01:57.12 mssearch.exe (0x0974) 0x0A64 SharePoint Foundation Search GatherSvc ewk3 High Application 'd72b017d-230b-48dd-bcf3-33fd1628ae37' - Failed to obtain the version ID from the Search database [gthrapp.cxx:1371] d:\office\source\search\native\gather\gthrsvc\gthrapp.cxx
02/09/2011 11:01:57.12 mssearch.exe (0x0974) 0x0A64 SharePoint Foundation Search Gatherer cd10 Critical Could not access the Search database. A generic error occurred while trying to access the database to obtain the schema version info. Context: Application 'd72b017d-230b-48dd-bcf3-33fd1628ae37' Details: Invalid class string (0x800401f3)
02/09/2011 11:01:57.12 mssearch.exe (0x0974) 0x0A64 SharePoint Foundation Search GatherSvc drx5 High Application 'd72b017d-230b-48dd-bcf3-33fd1628ae37' - IsCorrectApplicationDatabaseSchemaVersion failed in CGatherApplication::CGatherApplication::Init [gthrapp.cxx:357] d:\office\source\search\native\gather\gthrsvc\gthrapp.cxx
02/09/2011 11:01:57.12 mssearch.exe (0x0974) 0x0A64 SharePoint Foundation Search GatherSvc ds3u High CGatherApplicationCollection::lokMountInternal failed to Init Application d72b017d-230b-48dd-bcf3-33fd1628ae37, hr = 0xc0041236 [gthrapp.cxx:6441] d:\office\source\search\native\gather\gthrsvc\gthrapp.cxx
-
Eu verifiquei agora o log de eventos do Windows e encontrei um erro crítico para o Sharepoint, segue:
The Execute method of job definition Microsoft.Office.Server.Search.Administration.IndexingScheduleJobDefinition (ID 13f7fd5e-a6ca-48f8-a156-af323e27ccf7) threw an exception. More information is included below.
The search application '128b5385-029e-4627-aef8-98a9511721d9' on server server02 did not finish loading. View the event logs on the affected server for more information. -
Vericando o log do event viewer e achei a seguinte mensagem de alerta:
The following conditions are currently affecting index propagation to this server for search service application 'Search Service Application':
1. Query 0, catalog Main: unresponsive for 165216 minutes. not pausing, resuming, or resetting
2. Query 0, catalog Anchor: unresponsive for 165216 minutes. not pausing, resuming, or resetting
3. Query 0 is not being automatically disabled because the minimum number of ready query components per partition is 2.Será que essa mensagem tem alguma ligação com o erro na hora de executar o backup????
-
Vericando o log do event viewer e achei a seguinte mensagem de alerta:
The following conditions are currently affecting index propagation to this server for search service application 'Search Service Application':
1. Query 0, catalog Main: unresponsive for 165216 minutes. not pausing, resuming, or resetting
2. Query 0, catalog Anchor: unresponsive for 165216 minutes. not pausing, resuming, or resetting
3. Query 0 is not being automatically disabled because the minimum number of ready query components per partition is 2.Será que essa mensagem tem alguma ligação com o erro na hora de executar o backup????
O erro no Sharepoint foi o seguinte:
Search Backup and Restore (pause) application d72b017d-230b-48dd-bcf3-33fd1628ae37 server server02 -
Oi Anderson, você algum dia já conseguiu executar um backup completo da farm ou foi a primeira vez que você tentou e deu erro?
Espero ter ajudado.
Ajude manter o fórum organizado, se útil classifique!
__________________________________________________________
Larah Vidotti
- MCTS > Sharepoint 2007 & 2010 Specialist
- MCTS > Windows Server Virtualization
- MCP > Windows server 2003
- Blog
- Twitter -
-
Acho que o problema esta no parametro passado na BAT, por exemplo:
Eu estava usando o seguinte comando:
STSADM.EXE -o backup -directory \\XXXX - backupmethod full
Quando usei:
stsadm -o backup -url http://portal -filename C:\XXX.bkp -backupmethod full –overwriteFuncionou sem problemas.
Quando eu uso no backup -directory, ele leva como pasta e quando eu uso -url, ele leva o site todo. Eu acho!!?!?
- Marcado como Resposta Anderson Avila terça-feira, 26 de abril de 2011 13:37