Simon Hayes wrote:[color=blue]
> You can use osql.exe - something like this:
>
> osql.exe -S MyServer -E -Q"restore database MyDB from ..."
>
> See osql and RESTORE in Books Online.
>
> Simon[/color]
Thanks for that.
osql.exe -S MyServer -E -Q"RESTORE DATABASE MyDB FROM disk = '\\MyServer
\my Backups\the backup'"
Comment