How to find location of backup files

  • Hi,

    If someone has backed up the databases and placed the backup files to location other than predefined location, how can I know the location of backup files.

    Thanks in advance.

  • beejug1983 (5/22/2011)


    Hi,

    If someone has backed up the databases and placed the backup files to location other than predefined location, how can I know the location of backup files.

    Thanks in advance.

    Try this

    select b.database_name,a.physical_device_name from msdb.dbo.backupmediafamily a

    join msdb.dbo.backupset b

    on (a.media_set_id=b.media_set_id)

    where database_name='test'

    Muthukkumaran Kaliyamoorthy
    https://www.sqlserverblogforum.com/

  • Muthukkumaran, thanks for your prompt reply, it really helped me. 🙂

  • beejug1983 (5/22/2011)


    Muthukkumaran, thanks for your prompt reply, it really helped me. 🙂

    Glad to help you.Your welcome.

    Muthukkumaran Kaliyamoorthy
    https://www.sqlserverblogforum.com/

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply