SQL SERVER # 005. Restore from Secure SQL Database Backup File
Secure Your Database Backup STEP To create Backup Step 1. Create Database Master Key Step 2. Create Certificate Step 3. Backup Service Master Key Step 4. Bac...
🔥 Related Trending Topics
LIVE TRENDSThis video may be related to current global trending topics. Click any trend to explore more videos about what's hot right now!
THIS VIDEO IS TRENDING!
This video is currently trending in Bangladesh under the topic 's'.
About this video
Secure Your Database Backup
STEP To create Backup
Step 1. Create Database Master Key
Step 2. Create Certificate
Step 3. Backup Service Master Key
Step 4. Backup Database Master key
Step 5. Backup Certificate with Private Master Service Key
Step 6. Backup your DB with certificate
STEP To restore Backup to (new System or existing System)
Step 1. Create Database Master Key with Same Passowrd
Step 2. Drop Existing and Restore BackupCertificate
Step 3. Create Database 'ZebraBarcodePrinter'
Step 4. Restore database with secure backup file.
SQL Script:
CREATE MASTER KEY ENCRYPTION BY PASSWORD='123456'
GO
OPEN MASTER KEY DECRYPTION BY PASSWORD='123456'
GO
DROP CERTIFICATE BackupCertificate
GO
OPEN MASTER KEY DECRYPTION BY PASSWORD='123456'
GO
CREATE CERTIFICATE BackupCertificate
FROM FILE='C:\SecureBackup\BackupKeys\SQL2014_BackupCertificate_Zebra.cer'
WITH PRIVATE KEY
(
FILE='C:\SecureBackup\BackupKeys\SQL2014_CertificateKey_Zebra.key',
DECRYPTION BY PASSWORD='123456',
ENCRYPTION BY PASSWORD='123456'
)
GO
OPEN MASTER KEY DECRYPTION BY PASSWORD='123456'
GO
ALTER CERTIFICATE BackupCertificate
WITH PRIVATE KEY(DECRYPTION BY PASSWORD='123456')
GO
RESTORE DATABASE ZebraBarcodePrinter
FROM DISK='C:\SecureBackup\ZebraBackupWithCert\ZebraSecureBackup.bak'
WITH REPLACE, STATS=10
GO
ALTER CERTIFICATE BackupCertificate
WITH PRIVATE KEY(ENCRYPTION BY PASSWORD='123456')
GO
Source File:
https://drive.google.com/drive/folders/1fLhvw8Sv3LiWlS5mDAWePZG7HHer0N_8?usp=sharing
Secure Database Backup Link
https://youtu.be/HBchUyLIDXc
Learning .NET in Urdu Language please visit:
http://www.youtube.com/user/pkishar
For .NET samples please visit:
http://www.a1vbcode.com/author.asp?name=Ishtiaq+Ahmed
and On MSDN please Visit:
http://code.msdn.microsoft.com/site/search?f%5B0%5D.Type=User&f%5B0%5D.Value=IsharPK
Video Information
Views
519
Total views since publication
Likes
10
User likes and reactions
Duration
14:29
Video length
Published
Oct 4, 2019
Release date
Quality
hd
Video definition
About the Channel
Tags and Topics
This video is tagged with the following topics. Click any tag to explore more related content and discover similar videos:
#Learning .NET with Ishtiaq Ahmed #Lecture #NET #urdu #free #Tutorial #lesson #lessons #Urdu #software #Computer software #isharpk #pkishar #best #application #dp9 #vb.net #direction #develop #hindi #discover #rs232 #serial #port #serial configuration #communication #zebra #barcode #printer #driver #zpl #epl #dal #devexpress #sql #developing #test #app #building #creating #logic #layer #bll #business #windows #service #timer #elapsed #replication #bit masking #change #data #capture #training #tutorial #cdc #secure #source #code #crypto #obfuscator
Tags help categorize content and make it easier to find related videos. Browse our collection to discover more content in these categories.