gtjr92
Programmer
- May 26, 2004
- 96
I am trying to find a way to shrink the backup file for our DB. The database file it self is only 607 megs, the transaction log is only 6 megs. The backup file is 11 GIGS. I run a complete backup on the DB. Part of this may be due to me having to delete millions of records every few months and maybe somehow they are staying stored in the Backup file. I tried using dbcc shrinkfile (d:\itabsbackup\itabsfullbackup, 1000)
I kept getting incorrect syntax near d. If I try it this way dbcc shrinkfile ('d:\itabsbackup\itabsfullbackup', 1000) I get
Could not locate file 'd:\itabsbackup\itabsfullbackup' in sysfiles. DBCC execution completed
.How can I accomplish this?
Thanks
I kept getting incorrect syntax near d. If I try it this way dbcc shrinkfile ('d:\itabsbackup\itabsfullbackup', 1000) I get
Could not locate file 'd:\itabsbackup\itabsfullbackup' in sysfiles. DBCC execution completed
.How can I accomplish this?
Thanks