Click here to Skip to main content
15,905,915 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi ,
i have done a database backup & restore the database, but i need to be database
backup in zip Format
Plz Help me too get out off this



Thanks!!
Posted

If you want to compress backup file after taking backup you can use File Compression provided in .Net using System.IO.Compression.
Here is an example[^].
 
Share this answer
 
Is this SQL Server. If it is and you use Enterprise or Standard edition 2008 R2, you can also compress the backup when it's taken.

As far as I know this isn't ZIP, but if the goal is to save disk space it could be beneficial to make the compress immediately during the backup. More info see: BACKUP (Transact-SQL)[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900