BACKUP DATABASE [dbname] TO DISK = N'drive:pathfilename.bak' WITH NOFORMAT, NOINIT, NAME = N'Name Database Backup', SKIP, NOREWIND, NOUNLOAD, COMPRESSION, STATS = 10
GO
Or use the GUI and just specify to use compression on the options tab.
Last Wiki Answer Submitted: May 18, 2012 10:50 pm by Colin Smith845 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
There r two ways to take compress bkups !
Server level, which is by default. If u simply enable it by the following script….
use master;
go
exec sp_configure ‘backup compression default’, ’1′;
reconfigure with override;
another is database level, which is non-default and create a backup by making use of the compression option in the backup. Go to Object explorer of SSMS & select database / DB > properties > tasks > backup > options> compression. That’s it !
There r two ways to take compress bkups !
Server level, which is by default. If u simply enable it by the following script….
use master;
go
exec sp_configure ‘backup compression default’, ’1′;
reconfigure with override;
another is database level, which is non-default and create a backup by making use of the compression option in the backup. Go to Object explorer of SSMS & select database / DB > properties > tasks > backup > options> compression. That’s it !
For more & good info, plz go here