SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 SQL Server Administration (2012)
 Restore DB Without the WhiteSpace
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Analyzer
Posting Yak Master

United Kingdom
102 Posts

Posted - 03/18/2014 :  12:05:38  Show Profile  Reply with Quote
New prod DB (60GB data/60GB whitespace) needs to be backed up and sent off site to vendor. Vendor has complained about the DB size and requested we remove whitespace.

Naturally we are reluctant to shrink a prod DB. Is there a new function yet with ss2012 that allows a RESTORE while removing white space? Remember something around you can restore the T-Logs on target much smaller than source backup.

Thanks for any advice you can give.

tkizer
Almighty SQL Goddess

USA
37316 Posts

Posted - 03/18/2014 :  12:22:16  Show Profile  Visit tkizer's Homepage  Reply with Quote
No such function exists in any versions of SQL Server. Restore the database to a test machine, perform the shrink and then backup the database, preferably compressed or compress the backup file.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/

Edited by - tkizer on 03/18/2014 12:31:45
Go to Top of Page

Analyzer
Posting Yak Master

United Kingdom
102 Posts

Posted - 03/19/2014 :  04:03:09  Show Profile  Reply with Quote
Thanks for the confirmation Tara. Must had got confused with the T-Log restore features in 2012. Looks like I better get shrinking
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000