How to find-bak?

435    Asked by AndreaBailey in SQL Server , Asked on Oct 6, 2022

 I have a .bak file created today by someone else, manually created through SSMS 2008 R2. I'm trying to manually restore the database, unfortunately the file isn't appearing when I go to browse it.


I can script the restore process, but I've seen this problem before and I'm not sure what could cause the .bak to not appear.

Answered by Anil Jha

To find-bak - If you can find it in Windows Explorer, then you should write a RESTORE DATABASE command instead of relying on the clunky GUI to find it for you. Who knows what code is going on in there and why it might not be able to find the file - sorry I only have a workaround and not a solution. Also ensure that the file is actually something.bak and not something.bak.txt (Windows may be "helpfully" hiding the extension from you. I hate that default behavior.)



Your Answer

Interviews

Parent Categories