This project demonstrates Backup & Restore phases in two popular relational databases:
- Phase 1: PostgreSQL β User management, role privileges, backup/restore
- Phase 2: MySQL β Data recovery, indexing, storage engine check, automation
The repository includes:
- Setup instructions (PostgreSQL & MySQL on WSL)
- SQL files for each exercise
- Bash scripts for automation
- Screenshots placeholders (to be added after running the tasks)
βββ README.md # Main documentation
β
βββ postgresql/ # Phase 1 (Backup & Restore - PostgreSQL)
β βββ setup/
β β βββ postgres-setup.sh # Lab setup file (download/modify)
β β βββ wsl-setup.md # Guide for running PostgreSQL on WSL
β βββ tasks/
β β βββ tasks.sql # SQL commands
β βββ screenshots/ # screenshot guide
β
β
βββ mysql/ # Phase 2 (Backup & Restore - MySQL)
β βββ setup/
β β βββ billing.sql #Restore file
β β βββ wsl-setup.md # Guide for running MySQL on WSL
β βββ tasks/
β β βββ tasks.sql # SQL commands for Exercises
β β βββ mybackup.sh # Bash script for automation
β βββ screenshots/ # screenshot guide
β
βββ LICENSE (optional)