Compression backup restore

Chaitanya Kiran 796 Reputation points
2022-02-12T16:17:18.453+00:00

When we use compression and take a full backup, does SQL Server uncompress it for doing restore?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,840 questions
{count} vote

Accepted answer
  1. Andreas Baumgarten 109.9K Reputation points MVP
    2022-02-12T16:19:31.853+00:00

    Hi @Chaitanya Kiran ,

    short answer: "yes"

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Seeya Xi-MSFT 16,471 Reputation points
    2022-02-14T06:17:19.767+00:00

    Hi @Chaitanya Kiran ,

    Yes. I recommend you to read these.
    Configure Backup Compression (SQL Server)
    Behavior of compressed backups when you append backups to an existing media set
    Here is a point: One of the main restrictions with compressed backups is that compressed and uncompressed backups cannot co-exist in a media set.
    Finally, I suggest you might want to do a test yourself, starting with creating a new test database to get a feel for the change in database size after compression.
    I did a test and now i post my results below:
    173987-1.png

    Best regards,
    Seeya


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.