How to Backup and Restore RDS Database
How to Backup and Restore MySQL Database with mysqldump Command
In this article, you will get some information on how to use mysqldump command to backup and restore mysql database.
For the sake of clarity, we will use two databases; 'sample_db_1' and 'sample_db_1'. We will also use 'james' as the MySQL user in all examples. Each sample database contains two tables ('table_1' and 'table_2').
Logical MySQL backups using mysqldump only works when a database server is up and running. Also, mysqldump utility can be slow for large databases. So in case you are managing a bulky database or you can't access a MySQL server, taking physical backups is the ideal choice.
How to Backup and Restore MySQL Database on Linux
In this article, you will learn how to backup and restore RDS for MySQL Database on linux with some information on monitoring the backup and restore process and how to reduce the backup cost.
After you have installed MySQL Client successfully, you can run the command to complete database backup:
mysqldump -h xxx.mysql.aliyun.com -u xxx -P 3306 -p --opt --default-character-set=utf8 --triggers --hex-blob db_name > /tmp/db_name.sql
After the password is entered, Mysqldump will carry out the backup and complete it automatically.
How to Backup MongoDB Data with ApsaraDB for MongoDB
In this article, you will get some information on how to backup data with ApsaraDB for MongoDB, MongoDB replica set and data replication platform, and how to recover the backup MongoDB data.
ApsaraDB for MongoDB automatically backs up data according to the default backup policy. You can also set a backup policy based on business requirements to automatically back up data for your ApsaraDB for MongoDB instances as required.
How to Restore RDS Database from Backup Files
In this article, you will learn how to restore RDS database from backup files with RDS official extract tool kit and Percona XtraBackup.
- Download the RDS official extract tool kit: rds_backup_extract.
- Install the backup restoration tool: Percona XtraBackup 2.2.
- Extract backup files
- Restore data using the backup file
- Configure the environment
- Modify the file owner
- Start the mysqld process and log on for verification
- Create new users
Automatic Compression over Time with PostgreSQL
In this article, you will learn how to compress data over time with customized PostgreSQL compression algorithms.
The PostgreSQL compression algorithm can be customized. For example, simple mean compression, maximum compression and minimum compression, or compression based on the revolving door compression algorithm.
Related Documentation
Restore data from a backup to an ECS instance
You can restore files to an ECS instance from a backup stored on it or another ECS instance in the same vault. You can also restore files to an ECS instance from a backup that is created by a backup client.
Restore data of an ApsaraDB RDS for PostgreSQL instance
The topic describes how use backups to restore data of an ApsaraDB RDS for PostgreSQL instance.
You can restore ApsaraDB RDS for PostgreSQL data by backup set or by time. The procedure is as follows:
- Restore data to a new instance (formerly known as cloning an instance).
- Log on to the new instance to verify the data.
- Migrate the data to the original instance.
Back up an ApsaraDB RDS for MySQL instance across regions
This topic describes how to back up an ApsaraDB RDS for MySQL instance by using the cross-region backup function. This function automatically replicates the backup files of the RDS instance from the source region to a specified destination region. The backup files in the destination region are used to manage and restore the RDS instance. In this case, the RDS instance is also known as the original RDS instance.
Related Products
Database Backup
A simple, reliable, cost-efficient backup service for continuous data protection. Performs incremental backups in real time and lowers RPOs to several seconds.
Hybrid Backup Recovery
Hybrid Backup Recovery (HBR) is a simple and cost-effective Backup as a Service (BaaS) solution. It protects customer data in a number of scenarios: enterprise level data centers, remote centers, branch offices, or on the cloud. HBR supports data encryption, compression, and deduplication, and helps you back up your data to the cloud securely and efficiently.
Database Celebration Offers
Migrate to the Cloud with 450K Database Instances Running | Get up to $100 Rebate and Free Backup Instances
Read previous post:
How to Backup and Restore MySQL Database with mysqldump Command
Read next post:
-
-
Alibaba Clouder
2,593 posts | 797 followers
Follow
Comments
-
-
Alibaba Clouder
2,593 posts | 797 followers
Follow
Related Products
-
Backup and Archive Solution
Alibaba Cloud provides products and services to help you properly plan and execute data backup, massive data archiving, and storage-level disaster recovery.
Learn More -
Cloud Backup
Cloud Backup is an easy-to-use and cost-effective online data management service.
Learn More -
Database Backup
A reliable, cost-efficient backup service for continuous data protection.
Learn More -
ApsaraDB RDS for MySQL
An on-demand database hosting service for MySQL with automated monitoring, backup and disaster recovery capabilities
Learn More
More Posts by Alibaba Clouder
- MyBatis with a More Fluent Experience
- Alibaba Cloud Sustainability Report 2021
- Comparing CNI Models in Container Service for Kubernetes — Alibaba Cloud Series Part 1
- [Infographic] 5 Steps to Accelerate Your Digitalization in Asia
- Attackers Use the Vulnerability of ShowDoc to Spread Botnets
- Powerful: MyBatis and Three Streaming Query Methods
- What is the Difference between Spring Boot and Spring?
- What are the Differences and Functions of the Redo Log, Undo Log, and Binlog in MySQL?
- On the In-Depth Cluster Scheduling and Management
- Alibaba Technological Practices: Experiences in Cloud Resource Scheduling