Solved

sql back up compress

Posted on 2013-05-16
2
340 Views
Last Modified: 2013-05-29
I already done back up and check the compress checkbox in sql server. The file is saved, and I have two questions.

1. After it is compressed, what file extension will be? All i see is file.
2. How can I restore the database from the db I just compressed?

The compressed db does not look like it is a zip or something. I just wonder how to restore back...thanks
a.png
0
Comment
Question by:solution1368
2 Comments
 
LVL 8

Expert Comment

by:didnthaveaname
ID: 39173759
1) pretty sure it maintains the .bak extension, just compressed

2) you restore like you would any other backup
0
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 500 total points
ID: 39177897
1. However you named it in your script. You could call it CMP if you wanted.
2. No different.

Just a word of caution:  A backup is of no use to you, if you cannot restore from it.  So please test your backups (compressed or not) frequently and you will not be surprised.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Select Query help 1 38
SQL Instance service gone? 5 39
Related to SQL Query 5 21
SQL syntax question 6 45
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question