Beruflich Dokumente
Kultur Dokumente
Covered Topic
Why we Need Backup Database Backup and Restore in SQL Server
Why Backup?
Only way to reliably protect your SQL Server data. Recover Data from many failures
Media failure. User errors, for example, dropping a table by mistake. Hardware failures, for example, a damaged disk drive or permanent loss of a server. Natural disasters.
C:\>sqlcmd U enosisQA P Enosis123 S MAHMUDULPC\SQLEXPRESS -Q RESTORE DATABASE SBPro_QA FROM DISK='d:\SBPro.bak WITH MOVE SBPro_QA' TO 'D:\SBPro_QA.mdf', MOVE SBPro_QA_log' TO 'D:\SBPro_QA_log.ldf
* Using STATS
6 Copyright @ Enosis Solutions
4. 5. 6. 7.
10
12
Solutions
Backup in the server then copy the bak file in local Backup in Map Drive / Nas drive To reduce the file transfer time compress the .bak file using 7zip or rar. Use compressed backup. (example: 66 GB of Data compressed to 7 GB, almost 90%)
13 Copyright @ Enosis Solutions
Thank You
14
15