Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.4 KiB

  1. @REM skip this file if already done!
  2. @if "%VARIABLES_PRESENT%"=="TRUE" @goto :EOF
  3. set VARIABLES_PRESENT=TRUE
  4. @rem
  5. @rem Please put here your MSDE instance name
  6. @rem Comment this line if yor just want the default (unnamed) SQL Server instance
  7. @rem
  8. REM set MSDE_INSTANCE=TESTMSDE1
  9. @rem
  10. @rem Please choose here your Database for test (pubs is recommended)
  11. @rem Comment this line if yor just want the default (unnamed) SQL Server instance
  12. @rem
  13. REM set DB=Northwind
  14. set DB=pubs
  15. @rem
  16. @rem Locations for the install kit (defaults should work)
  17. @rem
  18. set MSDE_SETUP_LOCATION=\\netstorage\Backup\SQLMSDE
  19. path %path%;"%ProgramFiles%\Microsoft SQL Server\80\Tools\Binn"
  20. @REM --- do not change these! ---
  21. if "%MSDE_INSTANCE%"=="" (
  22. set SQL_INSTANCE=MSSQLSERVER
  23. set LOGICAL_PATH=%COMPUTERNAME%
  24. set DATABASE_SERVER=%COMPUTERNAME%
  25. ) ELSE (
  26. set SQL_INSTANCE=MSSQL$%MSDE_INSTANCE%
  27. set LOGICAL_PATH=%COMPUTERNAME%\%MSDE_INSTANCE%
  28. set DATABASE_SERVER=%COMPUTERNAME%\%MSDE_INSTANCE%
  29. )
  30. set WRITER_ID={f8544ac1-0611-4fa5-b04b-f7ee00b03277}
  31. set OTHER_MSDE_OPTIONS=
  32. set COMPONENTS_FILE=_components_%SQL_INSTANCE%_%DB%.txt
  33. set BACKUP_LOCATION=_BACKUP_LOCATION_%SQL_INSTANCE%_%DB%
  34. set OUTPUT_BACKUP=_output_backup_%SQL_INSTANCE%_%DB%.txt
  35. set OUTPUT_RESTORE=_output_restore_%SQL_INSTANCE%_%DB%.txt
  36. set OUTPUT_CHECK=_output_check_%SQL_INSTANCE%_%DB%.txt
  37. set FINAL_TEST_OUTPUT=_test_output.txt