Davide Benfenati (da**************@gmail.com) writes:
On Apr 9, 10:56*am, David Greenberg <davi...@iba.org.ilwrote:
>I have a backup device file ... * ".bck" whick has grown pretty large.
Is there any way I can reduce its size ?
Maybe you can try to truncate you log data with a command like this:
BACKUP LOG dbname WITH TRUNCATE_ONLY
No, that is not even close. BACKUP LOG WITH TRUNCATE_ONLY is a command
that you should only use in an emergency as it breaks the log chain
if you are running in full or bulk-logged recovery. And WITH TRUNCATE_ONLY
does not make anything smaller. Although you may be able to shrink
the log file after the operation.
But Davide asked for how to reduce the size of a backup file. The only
way to do that is to delete it or overwrite it with WITH INIT.
--
Erland Sommarskog, SQL Server MVP,
es****@sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx