- SQL Server 2017 Administrator's Guide
- Marek Chmel Vladimír Mu?n?
- 144字
- 2021-07-02 21:51:40
Backup reliability
Everything saved on disk could be somehow broken or unreadable. That's why SQL Server provides you with two features to improve backup reliability. The first option is to use backup with the CHECKSUM option. This option of backup is very simple to use and causes computation of checksum value on backup completion. This value is saved in the backup and, when we prepare for the restore process, we can test backup readability using the CHECKSUM option:
BACKUP DATABASE <database name> TO DISK = '<path to file>'
WITH
CHECKSUM
Another option is to distribute backups across more devices. It's called mirrored backup. Mirrored backup is an enterprise feature of SQL Server and, when it's used, two identical backups are written synchronously to two backup devices. When backup mirroring is used, the syntax looks as follows:
BACKUP DATABASE <database name> TO
DISK = '<path to file>'
MIRROR TO DISK = '<path to file>'
WITH <additional options like CHECKSUM>
推薦閱讀
- Mastercam 2017數控加工自動編程經典實例(第4版)
- 機艙監測與主機遙控
- Creo Parametric 1.0中文版從入門到精通
- CompTIA Linux+ Certification Guide
- Docker on Amazon Web Services
- Dreamweaver CS6精彩網頁制作與網站建設
- Linux嵌入式系統開發
- Mastering Predictive Analytics with scikit:learn and TensorFlow
- Learn Microsoft Azure
- Practical AWS Networking
- 人工智能云平臺:原理、設計與應用
- Microsoft Power BI Complete Reference
- 圖像傳感器應用技術
- Qt中的C++技術
- 工業機器人設計與實例詳解