Le fichier est le suivant :

@echo off

SETLOCAL ENABLEEXTENSIONS

IF ERRORLEVEL 1 echo Impossible d'activer les extensions

REM Creates a full dump of the repository, should be run weekly

set PATH=%PATH%;C:\Program Files (x86)\VisualSVN Server\bin

set DAY=%DATE:~0,2%

set MONTH=%DATE:~3,2%

set YEAR=%DATE:~6,4%

set /a J=1%DATE:~0,2% - 100

set /a M=1%DATE:~3,2% - 100

set /a A=%DATE:~6,4%

set /a N=(1461 * (%A% + 4800 + (%M% - 14) / 12)) / 4 + (367 * (%M% - 2 - 12 * ) / 12 - (3 * / 4 + %J% - 32075

set /a T=(%N% + 31741 -(%N% %% 7)) %% 146097 %% 36524 %% 1461

set /a SEMAINE= %% 365) + (%T% / 1460)) / 7) + 1

set TODAY=%YEAR%%MONTH%%DAY%

echo. %TODAY%

echo. %SEMAINE%

set REPO=dotnet

for /F "tokens=1 " %%i IN ('svnlook youngest d:\Repositories\%REPO%') do call set YOUNGEST=%%i

mkdir F:\Backup\svn_%REPO%\%YEAR%\%MONTH%

echo %REPO%=%YOUNGEST% > F:\Backup\svn_%REPO%\latestRev.dat

svnadmin dump --incremental d:\Repositories\%REPO% > F:\Backup\svn_%REPO%\%YEAR%\%MONTH%\%YEAR%%MONTH%%DAY%_svn_%REPO%.dump



et voilà