Adbms Assignment#02
Adbms Assignment#02
SUBMITTED TO:
SUBMISSION DATE:
Hardware failures, software crashes, human errors, and malicious attacks can corrupt data.
Importance:
• Minimize Data Loss: It minimizes data loss. It saves as much recent data as
possible, reducing the amount of information lost during failures.
Example:
If a bank server crashes during a money transfer, the recovery process ensures that
either the complete transaction happens or none of it happens, preventing any loss or
duplication of money.
FATIMA JINNAH WOMEN UNIVERSITY
Department of Computer Science
Perform the following tasks on a MySQL database (you may use XAMPP/WAMP or any live
MySQL server)
1. Create a sample database named student_portal with one table: students having fields
(id, name, department). Insert at least 3 sample records.
2. Take a backup of this database using the mysqldump command. Attach a screenshot.
FATIMA JINNAH WOMEN UNIVERSITY
Department of Computer Science
3. Drop the database and then restore it using the backup file. Attach a screenshot of the
restored data.