I have a nice query that gives me the date of last full backup, size and location, even when I backup to multiple backup files.
what I don't have is an estimate of the total backup size (for each of the DB files).
Basically, how much disk space in each drive I will need in order to do this restore?
I have been trying with
RESTORE FILELISTONLY FROM DISK=N'C:\SQL Server\BACKUP\my_backup_FULL_20190324_190109.bak'
but I could not work out the total disk space required for the restored-to-be database.
I got the size from the restore filelistonly above however, the size of the original db in disk is the following:



Sizein bytes - divide by 1024 to get Kb and so on. SummarizeSizeof all files to get total required space. Or, maybe, you are asking something else? – Denis Rubashkin Mar 27 '19 at 07:18select 1468006400 /1024.0/1024.0 + 2097152000/1024.0/1024.0that gives 3400 MB – Marcello Miorelli Mar 27 '19 at 07:41