I'm in an issue where I don't have enough space to accomodate my MDF and LDF files from a LiteSpeed backup we had done.
I've come up with the following sproc:
exec master.dbo.xp_restore_database
@database = 'OSiteDB', @filename = 'L:\OSiteDB_2009_01_07_Wed_LiteSpeed_Full.BKP', @with = 'move "O1_SITEDB" to "S:\OSiteDB_Data.mdf"', @with = 'move "O1_SITEDB_Log" to "Some dev null location??"
Is there a way I can specify the LDF location to some null location? I don't want the LDF, alternatively, is there a way I can tell it not to fetch the ldf at all?