I am actually trying to make a script (in Sql Server 2008) to restore one database from one backup file. I made the following code and I am getting an error -
I got this error when there was not enough disk space to restore Db. Cleaning some space solved it.