Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4532

Find Database Backup URL

$
0
0

Hi All,

I have some databases that are being backed up to a URL (Azure Blob Storage) with a Credentia.

I've always used the following (or roudabout) query to identify where the backups are:

SELECT *
FROM msdb.dbo.backupset b
JOIN msdb.dbo.backupmediafamily m ON b.media_set_id = m.media_set_id
WHERE database_name ='MyDB'
and type ='d'
ORDER BY backup_finish_date DESC

However, with the URL backups the physcial_device_name field is populated with a GUID + INT

Example: {ABB61E9D-E1C8-4128-AC12-69D48AB096B9}12

Is there a way to get a URL from this?


Viewing all articles
Browse latest Browse all 4532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>