SQL Server DBA Tutorial 5 - How to Restore a Database From Full Backup in SQL Server

preview_player
Показать описание
*****************************************************************************************
* How to Restore a Database From Full Backup in SQL Server *
*****************************************************************************************

Data restore is the process of copying backup data from secondary storage and restoring it to its original location or a new location. A restore is performed to return data that has been lost, stolen or damaged to its original condition or to move data to a new location.

We will be using two ways to Restore a Database From Full Backup in SQL Server
1. Using SQL Server management studio graphic user interface GUI Version
2. Using T-SQL script

/** Transaction **/
begin trans
select * from actor;

commit trans;

sp_who2;

/**T-Script**/
USE [master]
ALTER DATABASE [DVDRentalNew] SET SINGLE_USER WITH ROLLBACK IMMEDIATE
BACKUP LOG [DVDRentalNew] TO
WITH NOFORMAT, NOINIT,
NAME = N'DVDRentalNew-Log Database Backup',
NOSKIP, NOREWIND, NOUNLOAD,
NORECOVERY , STATS = 5
RESTORE DATABASE [DVDRentalNew] FROM
ALTER DATABASE [DVDRentalNew] SET MULTI_USER
GO

Note : Flow the Process shown in video.

😉Subscribe and like for more videos:
💛Don't forget to, 💘Follow, 💝Like, 💖Share 💙&, Comment

Tutorial Link :

Thanks & Regards,
Chitt Ranjan Mahto "Chirag"
_________________________________________________________________________________________
Note: All scripts used in this demo will be available in our website.
Link will be available in description.

#DBATutorial
#DBATutorialLearning
#DBAEducation
#DBATutorialFree
#DatabaseTutorial
#SQLServerDatabaseTutorial
#SQLServerDBATutorial
#MicrosoftSQLServerDatabaseTutorial
#ChiragsDBATutorial
#ChiragsDatabaseTutorial
#ChiragsSQLServerDatabaseTutorial
#ChiragsSQLServerDBATutorial
#ChiragsMicrosoftSQLServerDatabaseTutorial
#CreateDatabaseinSQLServer
#CreateDatabasewithT-SQL
#chiragstutorial
#databasetutorial
#sqlserver
#sqlservertutorial
#sqlservermanagementstudio
#sql_server
#sqlservertutorial
#chiragstutorial
#databasetutorial
#sqlqueries
#sqldba
#database
#databasemanagement
Рекомендации по теме