Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

Is it acceptable that SQL Server asks for 100GB free disk space to restore a 1GB dump file?

If no, what should be parameterized?

share|improve this question
    
I am just curious if a tool like Litespeed was used to take that backup. We use Litespeed and our 300 GB database at 4 compression gives us a 35 gig backup file. –  yogirk Mar 24 '12 at 12:44
add comment

1 Answer

up vote 2 down vote accepted

Yes, it is conceivable. You probably need to shrink the source database files before making the backup. Run sp_helpfile on the source database to see the files and sizes; when you restore from a backup, it will create those files at exactly the same size, though you can move them to different drives/directories.

If the log file or any of the data files are unnecessarily large, you can shrink them, do a new backup, and the restore will use less space. Just beware of performance implications if you get in a continual shrink/grow/shrink process.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.