Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How much disk space is needed for MSSQL Backup?

Status
Not open for further replies.

jroyce1

MIS
Feb 5, 2004
14
US
I have an MDF file that is 109GB. I only have 89GB of free disk space. My attempted backup fails with a "not enough disk space" error. Does anyone now what the average disk space required for a backup is? That is what percentage of the MDF file? 100%, 75%, etc. I am struggling to make enough space available. Any advice would be appreciated. [ponder]

Personal blog: The Code Blog
 
100% (or possibly more) is required.

The backup does nothing clever to save disk space. Its objective to work securely and quickly.
 
Ok, so I've freed up 50GB of space in my database and even after running dbcc shrinkfile (dbname,30000) the database file still does not shrink! In properties of the database in Enterprise Mgr it shows I have these 50GB of unused space. How do I get the DB to actually shrink so I can back it up?

Personal blog: The Code Blog
 
After researching this a bit further I found out that the cause of the database file not shrinking was due to having another computer with an open SQL Query window open. Having open connections to the database prevented the database action from being performed.

Personal blog: The Code Blog
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top