Database backup is a process of creating a copy of the organization’s data within the database which can be used and restored in case of any:
Incidents like table drop, data deletion etc.
Cyberattack
natural disaster
There are 2 types of backups:
Physical – Copy of physical files to a different location.
Logical backup – Through MySQL native tool (MySQLDUMP)
Logical backup through MySQLDump is used as part of Database Backup.
Objective:
The objective of this document is to provide the details of database backup process.
Database Backup Schedule
Full backup is scheduled every day at 2 AM.
Backup Script
The below is the database backup script implemented to backup all databases on the instance:
Database Backup Retention
Currently DB backup retention is 30 days. Once the system is live will be reduced to 7 days.
Sample Log
The sample database backup log: