Hi Friends,
I was spending some time with Database Snapshots today and came across a few limitations which are as follows:
1. The source database on which snapshot is base on, cannot be dropped, detached or re-created. - Backups will run fine
Source database here refers to the database for which you are creating a snapshot.
2. The file structure of the source database cannot be altered. In case, you want to do that, you have to first delete all the snapshots.
3. Database snapshots cannot be created for a portion of the source database. For example, you might want to create a snapshot only for the orders table: you can’t do that.
4. DB snapshots cannot reside on another instance – it has to be on the same instance as the source database.
5. Suppose you have created a snapshot on a separate volume. And the volume runs out of disk space
– the snapshot will be marked suspect
6. Yes, snapshots are read only and cannot be created for system databases. Its only meant for user databases.
7. DB snapshots cannot be backed up, restored, attached or detached, doesn’t have a log file either.
8. Suppose you have multiple snapshots on a single source databases. And you want to revert the source db back to one of the snapshots. How do you do it? You have to first delete all the other snapshots and then revert to the one you want.
Use the following syntax to revert:
RESTORE DATABASE <database_name> FROM DATABASE_SNAPSHOT = <database_snapshot_name>
Hope this helps.