SELECT top 10
database_name,
recovery_model,
CASE bs.type
WHEN 'D' THEN 'FULL'
WHEN 'I' THEN 'DIFFERENTIAL'
WHEN 'L' THEN 'TRANSACTION LOG'
ELSE 'UNKNOWN'
END AS
backup_type,
backup_start_date,
backup_finish_date,
backup_size,
compressed_backup_size
FROM msdb.dbo.backupset bs
where database_name = 'AX2012'
order by backup_finish_date desc
No comments:
Post a Comment