Backup on Flexible Engine
This article presents backup concepts and best practices on Flexible Engine.
Why to backup ?
- To protect data loss caused by a hardware failure (disk, physical server)
- To protect data loss or corruption caused by software bugs
- To protect data loss or corruption caused by humain mistakes
- To protect data loss from a distaster at DC level (fire, flood, storm, earthquake, plane crash, explosion, terrorist attack, war, etc)
- To protect data loss or corruption caused by a ransomware or a cyberattack
What to backup ?
- System: all the filesystem of a physical machine or a virtual machine (only the operating system volume or all the volumes attached to a machine). System backups must be crash consistent in order to have a working system when restored.
- Volume: the whole image of a data volume (also called logical drive or partition)
- Files: all the files or a subset of the files on a data volume in order to be restored individually
- Application: some applications like databases require application aware backups in order to be restored in a consistent way
How to backup ?
- Using agent:
A backup software agent is installed on server operating system to backup the files. This type of backup is not adapted to run full system backup because in case of crash of the system, the operating system and the agent must be reinstalled first prior to full system restoration based on a backup.
- Agentless
Agentless backup is only available on virtual machines. It’s usually snapshot based and allows fast restoration in case of system crash.
Where to backup ?
- Tape
- Disk
- Cloud storage
Backup types
- Full backup: the whole system or the whole volume is backed up. Full backup consumes time and bandwidth.
- Incremental backup: only new/modified files or block since last full or incremental are backed up
- Differential backup: only new/modified files or block since last full are backed up
- Synthetic full backup: a full backup generated based on previous full / incremental / differencial.
- Forever incremental backup: the first backup is full, all the other are incremental.
3 2 1 rule
- 3 copies of your data including the main copy
- 2 copies on site ideally on two different type of storage (example: main copy on block storage, secondary copy on object storage)
- 1 copy off site (example: a replication of the backup between two cloud region)
Backup options on Flexible Engine
System snapshot
ECS:
- Cloud Backup and Recovery (CBR) for Cloud Server Backup
BMS:
- Cloud Backup and Recovery (CBR) for Cloud Server Backup
Volume snapshot
EVS:
- Cloud Backup and Recovery (CBR) for Cloud Disk Backup
SFS Turbo:
- Cloud Backup and Recovery (CBR) for SFS Turbo Backup
File backup
EVS:
SFS
Application backup (database)
RDS
- native backup function: MySQL, PostgreSQL, MS SQL
ECS
- CBR Cloud application consistent backup
- File and Apllication Backup (FAB)
- Native database backup tool (Oracle Rman, MySQL Dump, PostgreSQL dump)
Backup vs Replication vs DRP (Disaster Recovey Plan)
Backups can be used for a DRP if RPO objectives are low (RPO 4h or 24h).
Replication is necessary when RPO and RTO objectives are high (RPO close to 0 and RTO close to 0).
Replication doesn’t replace backup. Backup is necessary even for replicated data to protect against crypto locking.
Replication options on Flexible Engine
ECS:
- Storage Disaster Recovery Service (SDRS)
Database:
- Native database replication tool (Oracle dataguard, MySQL replication, PostgreSQL replication)
- RDS with Dual-Host Hot Standby
Object Storage:
- Cross region replication of OBS bucket
DRP options on Flexible Engine
- Platform:
- Backup:
CBR cross region replication