Link to home
Start Free TrialLog in
Avatar of z969307
z969307Flag for United States of America

asked on

Move and Compress Large SQL DB

I have multiple 1TB+ SQL databases (2k8 R2 Enterprise). I need to move a couple of them to an external vendor.
What is the best way I can move and compress them, i did a sql backup and the size of the DB is the same as it is on disk. I need to be able to compress it to an acceptable size so i can fit it on a flash drive. What is the best approach on to do this?
Thanks
Avatar of Anthony Perkins
Anthony Perkins
Flag of United States of America image

What is the best way I can move and compress them, i did a sql backup and the size of the DB is the same as it is on disk.
Have you tried compressing the backups?

My suggestion is that you split up the backups and compress (look up the COMPRESSION keyword) in order that they fit.
I'm not sure that even compressing a terabyte database will get it down to 64GB - the usual max size for USB drives these days.  It might be a lot easier to just buy an external hard drive (Seagate, for example do backup drive of 1, 2, 3, and 4 TB) and put the backup onto that.
Avatar of z969307

ASKER

yes i did, 7zip compressed it, to around 150GB. yes, i was hoping if there is a way to do some sort of ultra compression to bring it down to a more manageable size, (e.g <65GB).
SOLUTION
Avatar of Anthony Perkins
Anthony Perkins
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of z969307

ASKER

Ok.i started a new backup of the DB, with compress backup checked from under the Backup Database Options setting. I hope thats what you had meant. I am not a DBA so if you can confirm or provide further directions. I did try this option 1st time around but was getting an error. I just restarted it and it is executing.
Avatar of z969307

ASKER

The backup with compress option did reduced the size significantly. I am running a 7zip compression on it and it looks like in the end it will be the same size as my originally compression with 7zip. Any other thoughts besides splitting it up?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial