TAILIEUCHUNG - Hướng dẫn học Microsoft SQL Server 2008 part 102

Phục hồi các trình tự Hai khái niệm quan trọng nhất về phục hồi một cơ sở dữ liệu như sau: Một ■ phục hồi hoạt động luôn luôn bắt đầu bằng cách phục hồi một bản sao lưu đầy đủ, sau đó phục hồi bất kỳ phân bổ sung hoặc sao lưu giao dịch. Việc khôi phục lại bản sao không bao giờ chỉ làm việc của ngày hôm qua. | Part VI Enterprise Data Management Recovery sequences The two most important concepts about recovering a database are as follows A recovery operation always begins by restoring a full backup and then restores any additional differential or transactional backups. The restore never copies only yesterday s work. It restores the entire database up to a certain point. There s a difference between restore and recover. A restore copies the data back into the database and leaves the transactions open. Recovery is the process of handling the transactions left open in the transaction log. If a database-recovery operation requires that four files be restored only the last file is restored WITH RECOVERY. Only logins who are members of the sysadmins fixed server role can restore a database that doesn t currently exist. sysadmins and db_owners can restore databases that do currently exist. The actual recovery effort depends on the type of damage and the previous recovery plans. Table 41-2 is a comparative listing of recovery operations. Performing the restore with Management Studio As with the BACKUP command there are numerous ways to launch the restore form within Management Studio Select the database to be backed up. From the context or Action menu select Tasks O Restore O Database to open the SQL Server Restore Database form. Recovery Sequences TABLE 41-2 Recovery Model Damaged Database File Damaged Transaction Log Simple 1 Restore full backup. 2 Restore latest differential backup if needed . It is very likely there are unapplied transactions lost with the transaction log and the database is inconsistent. It is recommended to fall back on your backups and use the steps documented for damaged database file. Full or 1 Back up current transaction log with 1 Restore full backup. Bulk-logged NO_TRUNCATE option . 2 Restore full backup. 3 Restore latest differential backup if needed . 4 Restore all the transaction-log backups since the last differential or full backup. All committed

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.