RESTORE DATABASE successfully processed 2475 pages in 1.859 seconds (10.399 MB/sec). Processed 2041 pages for database ‘FileStreamDemoDB_Restore’, file ‘DemoFiles’ on file 9. Processed 2 pages for database ‘FileStreamDemoDB_Restore’, file ‘FileStreamDemoDB_log’ on file 9. Processed 432 pages for database ‘FileStreamDemoDB_Restore’, file ‘FileStreamDemoDB’ on file 9. We can see the output of the restore command also processed FILESTREAM file ‘DemoFiles’ similar to the backup command output. The only difference is that you can see a FILESTREAM file move command also in the script.Įxecute this restore database command. It is also similar to a standard database restore command. You can see the restore database command for SQL Server FILESTREAM enabled database. Later, we can open the file to view the script. Let us again generate the script to ‘New Query Editor Window.’ Alternatively, you can save the script in a file as well. You cannot put the database into a similar location with the same file names. We need to change the data file and log file location because our source database exists on the same server path. Now click on the files tab from the left side menu. Specify the backup file location and the new database name in the restore database wizard. There, we will use the different name for this database in the same instance.Ĭonnect to the SQL Server instance and Right-click on the instance and ‘Restore Database’ Suppose we want to restore the FULL backup of the SQL Server FILESTREAM database in the same instance. In this article, we are going to look at full database restores and filegroup level restores as well.īefore we start with this article, you should follow the previous articles and perform the following steps.Įnable the FILESTREAM feature in SQL Server and configure accessĬreate a FILESTREAM database and insert sample records into itīackup the FILESTREAM backup (Full backup and the FILESTREAM filegroup level backup) We can take Full backup as well as filegroup level backup in the FILESTREAM database. In my last article, we explored the backup for the FILESTREAM enabled database. In the series on the SQL Server FILESTREAM feature, we have explored the various aspects of FILESTREAM including its overview, internal architecture, database creation etc.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |