Database Backup (DBS) provides the following two backup methods for you to back up your databases in a continuous and cost-effective manner: logical backup and physical backup. You can select a backup method based on your business requirements.
Differences between logical backup and physical backup
Item | Logical backup | Physical backup |
Definition | Logical backup backs up database objects such as tables, indexes, and stored procedures. Commonly used tools include MySQL mysqldump and Oracle exp and imp. | Physical backup backs up database files in operating systems. Commonly used tools include MySQL XtraBackup and Oracle RMAN. |
Full backup | DBS splits the data of all tables in a database and executes SQL statements on the database to read the data in multiple threads in parallel. | A DBS backup gateway is installed on a database server to back up database files. For more information, see Install a backup gateway. |
Incremental backup | DBS reads logs stored in the memory of a database and performs incremental backup based on the logs in real time. This prevents an I/O performance drop that may occur when a full backup is performed. The speed at which database logs are read is adjusted based on the rate at which the logs are generated. | |
Feature |
|
|
Recommended database size | 1 MB to 1 TB | Larger than 1 TB |
Supported database engines |
| |
Installation of a backup gateway | Yes | No |
References
For more information about the backup methods supported by different database engines, see Database engines and features.
DBS allows you to store backup data in Object Storage Service (OSS) buckets or DBS built-in storage. For more information, see Built-in storage and OSS.
For more information about how to create a DBS backup schedule, see Create a backup schedule.