HiveBrain v1.2.0
Get Started
← Back to all entries
patternsqlMinor

Can I restore an uncompressed differential backup after a compressed full backup?

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
aftercanfulluncompresseddifferentialcompressedrestorebackup

Problem

If we enable compression on database backups (because the database backup size is huge) but don't enable it on differential which are relatively small in size, will a restore work? Because the full backup is compressed but the differential isn't compressed.

Solution

This is really a question for the DBA site but yes, it will work. Compression is transparent when restoring, and the RESTORE command doesn't need any parameter to tell it that a backup is compressed.

Of course you can easily test this yourself.

Context

StackExchange Database Administrators Q#43896, answer score: 7

Revisions (0)

No revisions yet.