Restore from database snapshot does not appear in the history table

  • Hi,

    I was trying to do the following:

    CREATE DATABASE MYDB_ss1600 ON ... AS SNAPSHOT OF MYDB;

    GO

    Then:

    RESTORE DATABASE MYDB FROM DATABASE_SNAPSHOT = 'MYDB_ss1600'

    And finally:

    SELECT top 10 [restore_date], [destination_database_name], rh.[backup_set_id], physical_device_name

    FROM [msdb].[dbo].[restorehistory] rh (nolock)

    JOIN [msdb].[dbo].[backupset] bs (nolock)

    on rh.backup_set_id = bs.backup_set_id

    JOIN [msdb].[dbo].[backupmediafamily] bmf

    on bs.media_set_id = bmf.media_set_id

    order by restore_date desc

    But I find no trace of the restore from the snapshot.

    Is this normal?

    Thanks.

Viewing 2 posts - 1 through 1 (of 1 total)

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