03-10-2009 04:19 PM
org.alfresco.error.AlfrescoRuntimeException: L'entrepôt '{0}' a une entrÚe dupliquée dans le noeud racine.
03-12-2009 10:33 AM
echo off
echo.
echo # Sauvegarde Mysql a chaud
echo.
mysqldump -u root -p***** alfresco –single-transaction > D:\sauvegarde\MySQL\alfresco_hot.sql
echo.
echo # Sauvegarde Alfresco dir.root a chaud
echo.
robocopy d:\alfresco\alf_data\contentstore\ D:\sauvegarde\dir.root\contentstore\ /mir /r:1 /w:1 > D:\sauvegarde\backup_hot.log
robocopy d:\alfresco\alf_data\contentstore.deleted\ D:\sauvegarde\dir.root\contentstore.deleted\ /mir /r:1 /w:1 >> D:\sauvegarde\backup_hot.log
robocopy d:\alfresco\alf_data\audit.contentstore\ D:\sauvegarde\dir.root\audit.contentstore\ /mir /r:1 /w:1 >> D:\sauvegarde\backup_hot.log
robocopy d:\alfresco\alf_data\backup-lucene-indexes\ D:\sauvegarde\dir.root\backup-lucene-indexes\ /mir /r:1 /w:1 >> D:\sauvegarde\backup_hot.log
echo.
echo # Sauvegarde a chaud terminee.
@echo off
set log=D:\ged\pilotage\update.log
date /t > %log% & time /t >> %log%
echo.
echo # arret de la jvm
echo.
call D:\Alfresco\alf_stop.bat
set a=1
:pause
set /a a=%a%+1
if %a%==10000 goto suite
goto pause
:suite
tskill java
echo.
echo # connexion au poste source
echo.
net use z: /d
net use z: \\ip\partage
echo.
echo # copie des fichiers a restaurer
echo.
robocopy.exe Z:\dir.root D:\ged\pilotage\dir.root /mir /r:1 /w:1 >> %log%
xcopy /y Z:\MySql\alfresco_hot.sql D:\ged\pilotage\mysql >> %log%
echo.
echo # rechargement donnees Alfresco
echo.
robocopy D:\alfresco\alf_data\ D:\ged\pilotage\alf_data\ /mir /r:1 /w:1 >> %log%
rd D:\Alfresco\alf_data /s /q >> %log%
md D:\Alfresco\alf_data >> %log%
robocopy D:\ged\pilotage\dir.root\ D:\alfresco\alf_data\ /mir /r:1 /w:1 >> %log%
ren D:\alfresco\alf_data\backup-lucene-indexes lucene-indexes >> %log%
echo.
echo # rechargement DB mysql
echo.
mysql -u root -p***** -e "drop database Alfresco;"
mysql -u root -p***** -e "create database Alfresco;"
mysql -u root -p***** Alfresco < D:\ged\pilotage\mysql\Alfresco_hot.sql
date /t >> %log% & time /t >> %log%
12-16-2009 08:46 AM
12-16-2009 01:02 PM
12-17-2009 01:07 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.