What is the best way to restore a database from a folder of backups (including full, diff and log backups) without using the backup history in msdb? I have a restore process that restores all backups on a regular schedule in order to fully verify their integrity. To do this, I use the backup history in msdb on each server that I'm monitoring. I had a thought the other day that I would be in trouble if I lost msdb. Then my backup history would only be as good as the last backup of msdb.What I'd like to do is read a folder of backup files and generate a restore script up to a specified time. Would I use RESTORE HEADERONLY to do this? If so, would I use PowerShell to traverse each file in the folder?Thanks!P.S. We are very weak right on HA/DR so I'm working off of a single SQL Server instance per application.
↧