SQL Server 2000General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
I can not make a job that overwrites an existing file. Everytime the job runs the file size get out of control.
1..I am using the job wizard in EM to create the job.
2..Using Transact SQL Command:
Backup Database DBName To Disk='C:\MyPath\DBName.bak'
3..Scheduling it to run once a day in the evening
It is all running fine and backs up as it should. How can I make it replace the file each time. My objective is to have one file in this dir and for it to be overwritten each time. I can not find a way to stop the file size growing.