Problem: Often we would like to check how much size backup file will take on the disk? You can follow below simple steps to estimate the backup file size?
Solution:
Execute the SP_SPACEUSED procedure to get the database size statistics.
USE [sqldbpool]
GO
EXEC sp_spaceused @updateusage = ‘true’
Now you have to subtract the ununsed pages from reserved pages and divided by 1024 to get the output in MB.
In our scenario we have 2592 (KB) – 96 (KB) = 2496/1024 = 2.4374(MB) will be the backup size.
Dear SQL,
we have the size of db as 413 GB and backup file size is 95.8 GB
(reserved)369562496 KB -(unused)581776KB=368980720/1024=360332.73(MB)=351.8 GB backup size.
How can it will be estimated backup size as per above post…………