0% found this document useful (0 votes)
10 views2 pages

Practical 9.3

The document discusses database backup and recovery procedures including restoring a database from backup, common database failures and risks, available backup and recovery methods like full, differential and incremental backups, implementing scheduled automated backups, and the importance of a database maintenance checklist.

Uploaded by

rasindugamlath9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views2 pages

Practical 9.3

The document discusses database backup and recovery procedures including restoring a database from backup, common database failures and risks, available backup and recovery methods like full, differential and incremental backups, implementing scheduled automated backups, and the importance of a database maintenance checklist.

Uploaded by

rasindugamlath9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

1.

Backup and Recovery Procedure:

a. Restoring the AdventureWorks Database:

The system administrator can follow the instructions provided in the Microsoft documentation to restore
the AdventureWorks database from the backup file (.bak) downloaded from the given link. This process
involves using SQL Server Management Studio (SSMS) to restore the database from the backup file.

2. Various Failures and Risks:

a. Reasons for Database Failures and Prevention:

Hardware Failures: Use redundant hardware components (RAID, multiple power supplies) to prevent
data loss.

Software Errors: Regularly update and patch the operating system and database software.

Human Errors: Implement strict access controls and regular training for staff handling the databases.

Malware Attacks: Employ robust antivirus software, firewalls, and educate users about phishing and
malware risks.

Natural Disasters: Maintain off-site backups, preferably in a geographically distant location.

Data Corruption: Regularly check database integrity using DBCC CHECKDB and perform routine
maintenance.

3. Available Backups and Recovery Methods:

a. Comparison: Database Backup, Mirroring, Replication:

Database Backup: Creates a copy of the entire database. Suitable for disaster recovery.

Database Mirroring: Provides real-time replication of the entire database to another server.

Database Replication: Allows selective data replication to specific databases on other servers.

b. Comparison: Full, Differential, Incremental Backup:

Full Backup: Backs up the entire database. Simplest and most comprehensive, but takes longer.

Differential Backup: Backs up changes since the last full backup. Faster than a full backup.

Incremental Backup: Backs up changes since the last backup, be it full, differential, or incremental. Saves
storage space but requires restoring multiple backups during recovery.
4. Backups as per Organization Standards:

a. Backup Strategy for High Volume E-commerce Database:

For high-volume e-commerce databases, consider a combination of regular full backups and frequent
differential backups (e.g., daily full backups and hourly differentials). Store critical backups in a
geographically distant location or cloud storage for disaster recovery.

b. Implementing Scheduled or Automated Backup:

Follow the provided Microsoft documentation to set up a scheduled or automated backup policy in SQL
Server. This ensures that backups are taken at specified intervals without manual intervention.

5. Database Backups, Security, and Documentation:


a. Database Maintenance Checklist:

A database maintenance checklist is a detailed document outlining regular tasks such as backup
verification, index optimization, statistics updates, and integrity checks. It ensures that routine
maintenance tasks are performed consistently and helps in identifying potential issues before they
impact the system.

b. Importance of Database Maintenance Checklist:

Regular maintenance tasks are crucial for database performance, security, and stability. A checklist
ensures that these tasks are not overlooked, reducing the risk of data corruption, security breaches, and
performance degradation. Following a checklist also aids in documentation and auditing processes,
ensuring compliance with organizational standards and industry regulations.

You might also like