Pergunta

Temos alguns problemas com a restauração de coleções de sites excluídas em nossos ambientes SP1 Stage e Prod 2010. Temos todas as configurações padrão de reciclagem configuradas e permitiram o recurso.

Quando uma coleção de site for excluída, nunca aparece na lixeira. Eu verifiquei a lixeira do usuário final, excluída da lixeira do usuário final e verificou as administrações centrais reciclagem.

Mesmo estranho, às vezes Quando eu executo o comando get-spdeletedsite, a coleção de sites excluídos não aparece. Quando ele aparece em execução esse comando e somos capazes de restaurar o site, mas parece estranho que às vezes não. Temos que restaurar o site de backups nas ocasiões que não podemos encontrar a coleta de site excluída.

Eu encontrei apenas um pós-fórum / artigo relacionado a essa questão exata, mas não foi resolvido. Qualquer um aqui tinha esse problema, ou tem alguma sugestão sobre o que eu poderia tentar?

Obrigado caras!

Foi útil?

Solução

A Site considerably different from a Site Collection in that a site is simply a child web of the site collection whereas the Site Collection is the top level data container. Only deleted sites appear in the recycle bin because the recycle bin itself is contained in the Site Collection. If you delete the Site Collection, you are deleting the recycle bin as well, meaning the PowerShell commands are the only option (aside from a traditional restore)

Further, according to this site:

If you are an admin and you have explicitly called Remove-SPSite, then your site collection is not available to the SPDeleteSite commandlets.

this is further backed up by Microsoft which says this :

The Remove-SPSite cmdlet completely deletes an existing site collection and all subsites. This operation cannot be undone.

so if you are deleting the site collections via this command, they will not appear if you try to restore them using the powershell Get-SPDeletedSite command

Licenciado em: CC-BY-SA com atribuição
Não afiliado a sharepoint.stackexchange
scroll top