Created
May 16, 2012 07:29
-
-
Save keithbloom/2708333 to your computer and use it in GitHub Desktop.
Roundhouse with a legacy database
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sql-baseline -s:.\SqlExpress -d:AdventureWorks -o:..\Src\AdventureWeb\AdventureWeb.Database\db |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET database.name="AdventureWorks" | |
SET sql.files.directory="..\db\" | |
SET server.database=".\Sql2008" | |
SET rh.path= "%DIR%..\..\..\Tools\RoundhousE\console\" | |
SET restore.path=%DIR%..\..\..\DatabaseBackups\ | |
SET restore.name=AdventureWorks.bak | |
:: Run RH in RestoreRun mode | |
%rh.path%\rh.exe /s=%server.database% /d=%database.name% -f ..\db --debug /restore /rfp=%restore.path%\%restore.name% /simple |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment