Search code examples
sqlsql-serverdatabase-backupsssms

Create a backup without a transaction log


I have been given a backup of a SQL Server 2008 database in the form of a 150mb .bak file.

When I attempt to restore it to another server it attempts to secure 170gb+ of data, I am assuming this is due to a completely unreasonable transaction log size.

Unfortunately I do not have that much space on my VM to just restore it, so I have restored it on my local machine and after 3 or so hours of "100% complete, loading" it has finally restored.

So... the question is, how do I make another backup of this DB WITHOUT THE TRANSACTION LOG on SQL Server Management Studio Express 2014?


Solution

  • Change db recovery mode to simple

    Fixed by changing the Recovery Mode to simple, dropped the 170gb transaction log to 1.5mb. Thanks @Ennor