I have a database "DBName" on SQL Server 2008. I want to take backup of it without logs(.ldf file). Because this log file is around 20 GB and I don't want to increase the size of backup file.
I also want to do this without truncating logs from current Live database.
Meaning, the backed up copy shouldn't contain transaction logs but the live database "DBName" should remain unaffected.
P.S. - I am taking backup through following script. Variables are set from UI in WPF.
exec('BACKUP DATABASE '+ @DBName +' TO DISK ='''+ @DBBackupPath +'''')
Thank you.
EDIT
Should SQL Server Simple Recovery Model help ?