Backup and restore your Microsoft SQL Server database

preview_player
Показать описание
If you are someone who works with Microsoft SQL Server a lot, knowing how to backup and restore your SQL Server database is a must required skill. In this tutorial, I will be teaching you two methods (using SQL Server Management Studio and T-SQL script) to backup and restore SQL Server database.

T-SQL scripts used in this video:

Buy Me a Coffee? Your support is much appreciated
Venmo: @Jie-Jenn

More tutorial videos on my website

Check out my gears here on Amazon:
Рекомендации по теме
Комментарии
Автор

Is there a way to put current date in the backup file name with T-SQL script and run the script with Task Scheduler?

nayzawmoe
Автор

Hi, when dropping database, I always get error like 'Cannot drop database <database name> because it is currently in use. What's the problem?

calvinkoay
Автор

I am not able to get the backup of DB(through T-SQL script), Error -'Statement 'BACKUP DATABASE' is not supported in this version of SQL Server. Can you please mention which version of SSMS are you using? (I am using SSMS 19.0.1) . Also backup and restore option is not there in this version.

bhagyashri