lunes, 9 de febrero de 2009

Bloquear un sitio / Lock a Site collection

Lock or not lock.. this is not the question !!

Si necesitas bloquear un sitio en sharepoint puedes utilizar la linea de comandos, rápida y efectiva, y además revisar que se hayan aplicado los cambios a traves de comando o por el interface.

Por que? Puedes bloquearlo para que sólo se disponga de acceso a lectura antes de realizar una copia de seguridad.

Esta opcion sólo sirve para bloquear una collection de sitios, no un subsitio.

-----------------------------

If you need to lock a site collection use the powerfull command-line, stsadm. Just be aware that it´s working for a whole site collection but not for a subsite.

Why? you´ll need this feature before backing up a site collection to avoid inconsistence.

Check the current status of the url:

stsadm -o- getsitelock -url http://portal.trainer.com

or open the url in a IE and check if the options in the right menu are available.

Lock:

stsadm -o setsitelock -url http://portal.trainer.com -lock readonly

Unlock:

stsadm -o setsitelock -url http://portal.trainer.com -lock none

More: http://technet.microsoft.com/en-us/library/cc262811.aspx

No hay comentarios:

Publicar un comentario