Migration d’un serveur de fichiers entre n’importe quelle version de Windows Server

Très bien, Dans ce court document, nous verrons comment migrer un serveur de fichiers de la manière la plus simple entre n’importe quelle version de Microsoft Windows Server (Windows NT, Windows 2000, Windows 2003 o Windows Server 2008). C’est tout simplement génial et rapide, ce qui nous permettra une migration à chaud. Dans ce document, nous avons vu comment, avec l’utilitaire Microsoft FSMT (File Server Migration Toolkit) cela pourrait nous aider à migrer un serveur de fichiers (http://www.bujarra.com/?p=961), mais si nous voulons éviter d’installer des logiciels, ce qui suit sera intéressant.

Tiré du site web d’un bon collègue, (Carlos Fuenteseca) http://docsharing.wordpress.com, l’autre jour, j’ai décidé de l’essayer chez un client, et c’est très pratique. Il suffit simplement de lancer un Robocopy (Téléchargeable gratuitement sur le site web de Microsoft) en el servidor origen o destino y que copie los archivos origen a su destino, manteniento la ruta de los directorios, Autorisations NTFS… además según configuremos el comando nos permitirá actualizar el destino sin la necesidad de volver a copiar todos los ficheros del origen, sólo las diferencias. Hasta ahora esto alguno lo conocerá, lo ejecutas a ciertas horas programadas y tendrás ambos servidores con los ficheros sincronizados. Exemple de la commande:

robocopy.exe SERVIDOR_ORIGENUNIDAD_ORIGEN$DIRECTORIO UNIDAD_DESTINO:DIRECTORIO /S /E /COPYALL /MIR /R:3 /W:3 /RAPPORT:UNIDAD:LOG_COPIA_ROBOCOPY.TXT

SERVIDOR_ORIGENUNIDAD_ORIGEN$DIRECTORIO: Servidor y ubicación origen
DIRECTORIO UNIDAD_DESTINO:DIRECTEUR: Es el servidor y ubicación destino.
/S: Copia subdirectorios
/Et: Copia subdirectorios vacíos
/COPYALL: Copia todos los atributos del ficheros (Among them the NTFS AND SHARES permissions)
/MIR: Create an exact copy of the directory structure
/R:3: Retry 3 times to retry copying the file if it fails
/W:2 Seconds to wait before retrying the copy
/RAPPORT:LOG_ROBOCOPY.TXT: We tell it to create a log of the task and where.

Apart from this, we would have to go to the source file or data server and export this registry branch:

HKLMSYSTEMCurrentControlSetServiceslanmanserverShares

Exporting this branch, we will export the shared directories from the server, also inside there is a key called SECURITY where the sharing permissions of each directory are defined. Ce que j’ai dit, by exporting this branch, and importing it into the destination server it is enough, so all set! Reiniciamos el servidor para que coja la nueva configuración del registro y ya tendríamos migrado así de simple un servidor de archivos.


Articles recommandés

Auteur

nheobug@bujarra.com
Autor del blog Bujarra.com Cualquier necesidad que tengas, N’hésitez pas à me contacter, J’essaierai de vous aider chaque fois que je le pourrai, Partager, c’est vivre ;) . Profiter des documents!!!