Database Research & Development

  • Home
  • NoSQL
    • NoSQL
    • Cassandra
  • Databases
    • Database Theory
    • Database Designing
    • SQL Server Coding Standards
    • SQL Server
    • PostgreSQL
    • MySQL
    • Greenplum
    • Linux
  • Interviews
    • SQL Server Interviews
    • MySQL Interviews
    • SQL Puzzles
  • DBA Scripts
    • SQL Server DBA Scripts
    • PostgreSQL DBA Scripts
    • MySQL DBA Scripts
    • Greenplum DBA Scripts
  • Home
  • Blog Archives !
  • (: Laugh@dbrnd :)
  • Contact Me !
sqlserverinterviews
Home 2018 January SQL Server Interview: How to get the User Name, who created Database Backup?

SQL Server Interview: How to get the User Name, who created Database Backup?

This article is half-done without your Comment! *** Please share your thoughts via Comment ***

A typical interview question for SQL DBA is, How to get the User Name, who created Database Backup?

Don’t prepare your self for the hard questions, I took many interviews, and most of the DBA doesn’t know about this basic info. (Including senior DBA)

I already shared information about RESTORE HEADERONLY, but here I am again sharing the direct question and answer which is useful for interviews.

If you want to know any information about database backup, without restoring the database you can get those details using RESTORE HEADERONLY.

Check the below command:
This is my test backup path, in the result, you can get a column like a UserName which who created the database backup.

1
RESTORE HEADERONLY FROM DISK = 'C:\Program Files\Microsoft SQL Server\MSSQL13.DBRND\MSSQL\BACKUP\dbrnd.bak'

Jan 28, 2018Anvesh Patel

Please visit other related articles...

  • SQL Server: Check the status of running Database Backup
  • SQL Server: fix error 3183 RESTORE detected an error on page (0:0) in database as read from the backup set
  • SQL Server: Script to check Network or Connect permission of User
  • SQL Server Interview: How to remove New Line Character from a string?
  • SQL Server: Set IDENTITY to existing Column of a Table
  • SQL Server: If Table Exists in a Database, don’t perform any action
  • SQL Server: If a Column Exists in a Table, don’t add it
  • SQL Server: Script to find the Largest Object of a Database
SQL Server: Script to find Database USER LOGIN InformationSQL Server Interview: Can we restore the only data file (.mdf file)?
Anvesh Patel

Database Engineer

January 28, 2018 SQL Server, SQL Server InterviewAnvesh Patel, database, database backup, database research and development, Database Restore, dbrnd, RESTORE HEADERONLY, SQL Query, SQL Server, SQL Server Administrator, SQL Server Error, SQL Server Monitoring, SQL Server Performance Tuning, SQL Server Programming, SQL Server Tips and Tricks, TSQL
About Me!

I'm Anvesh Patel, a Database Engineer certified by Oracle and IBM. I'm working as a Database Architect, Database Optimizer, Database Administrator, Database Developer. Providing the best articles and solutions for different problems in the best manner through my blogs is my passion. I have more than six years of experience with various RDBMS products like MSSQL Server, PostgreSQL, MySQL, Greenplum and currently learning and doing research on BIGData and NoSQL technology. -- Hyderabad, India.

About DBRND !

dbrnd

This is a personal blog (www.dbrnd.com).

Any views or opinions represented in this blog are personal and belong solely to the blog owner and do not represent those of people, institutions or organizations that the owner may or may not be associated with in professional or personal capacity, unless explicitly stated.

Feel free to challenge me, disagree with me, or tell me I’m completely nuts in the comments section of each blog entry, but I reserve the right to delete any comment for any reason whatsoever (abusive, profane, rude, or anonymous comments) - so keep it polite.

The content of this website is protected by copyright. No portion of this website may be copied or replicated in any form without the written consent of the website owner.

Recent Comments !
  • Anvesh Patel { Sure will do... }
  • Anvesh Patel { Great... }
  • Anvesh Patel { Great... }
  • Anvesh Patel { Great... }
  • Anvesh Patel { Great... }
  • Anvesh Patel { Great... }
  • Anvesh Patel { Great... }
  • Older »
Follow Me !
  • facebook
  • linkedin
  • twitter
  • youtube
  • google
  • flickr
© 2015 – 2019 All rights reserved. Database Research & Development (dbrnd.com)
Posting....