Through SINGLE T-sql query can we find :
1. Database Backup mode – [full,simple,bulk]
2. IS database is scheduled for backup [yes, no]
3. If backup is enabled the size of the DB backup
and
Daily transaction log backup size ? any help
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can query the msdb backupset table for this kind of information:
EDIT:
This query will return the database name, recovery model, and the last datetime for full, differential, and log backups. If a database returns NULL for the last FULL it is not being backed up at all. If it returns NULL for the last transaction log and the database uses FULL recovery it is not being backed up correctly.