简体   繁体   中英

Original source server of a SQL Server backup file

I've searched for an answer for this here and google but had no luck, hopefuly someone here knows.

At work we have multiple development and testing database servers (SQL Server 2008, 2014) I have a backup file someone gave me to restore locally for some tests, but I need to find out which server it came from (apparently nobody knows for sure).

Is there a way to find out what server the backup file was taken from?

Thanks!

You can probably get the info you want by using RESTORE HEADERONLY

RESTORE HEADERONLY FROM DISK = 'C:\AdventureWorks.BAK'
GO

https://www.mssqltips.com/sqlservertutorial/105/how-to-get-the-contents-of-a-sql-server-backup-file/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM