I have a SQL VM in Azure that backs up to blob storage. I'd like a script that will give me the most recent restore time for each database backed up to that storage.
Get-DbaBackupInformation using the AzureCredential seems the obvious way to do it, but does anyone know the syntax for it? What should the -path parameter be?
I read this article
https://www.sqlservercentral.com/blogs/restoring-backups-from-azure-blob-with-dbatools
Which is fine but if I can just use the Get-DbaBackupInformation using the AzureCredential without having to enumerate the files with Get-AzStorageBlob first, that would be a more graceful solution.
Has anyone used this?
Cheers
Alex
Asked by AlexP012
(53 rep)
Nov 26, 2024, 08:10 AM
Last activity: Nov 29, 2024, 04:34 AM
Last activity: Nov 29, 2024, 04:34 AM