I want to do this by consulting according to the steps I was wondering, what would the Scrip query be for this SQL Server 2008 R2? eye without having previously the Mdf or the ldf on the hard disk before the restoration I mean I want the .bak to create the query.