---
Title: Backup database
URL Source: https://company-skill.com/p/rds/rds-backup-database
Language: en
Description: You want to protect your ApsaraDB RDS data by creating backups (manual or automatic), restoring lost or corrupted data, downloading backup files, or recovering to a specific point in time. You may…
---

# Backup database

Part of **ApsaraDB RDS**. Route queries via `POST https://company-skill.com/api/route`.

## What You Want to Do

You want to protect your ApsaraDB RDS data by creating backups (manual or automatic), restoring lost or corrupted data, downloading backup files, or recovering to a specific point in time. You may also need to manage backup retention, enable cross-region redundancy, or integrate backup operations into automated workflows.

**Typical User Questions**:
- How do I back up my RDS database?
- Can I download RDS backup files?

## Decision Tree

Pick the best path for your situation:

- **If** you need to perform **cross-region backup** or **point-in-time recovery** via scripts or CI/CD pipelines → Use API (go to *rds/rds-backup*)
- **If** you only need to **Create Manual Backup**, use **Advanced Download**, or configure **Backup Strategy** through a UI → Use (go to *rds/rds-backup*)
- **If** you are managing **multiple RDS instances programmatically** or require **automation-friendly** backup control → Use API (go to *rds/rds-backup*)
- **Otherwise (default)** → — it’s simpler for one-off tasks and requires no coding

## Path Comparison

| Path | Best For | Complexity | Code Required | Automation | Key Fact | Detail Skill |
|------|----------|------------|---------------|------------|----------|-------------|
| API | medium | Yes | Yes | 10 | `rds/api/rds-backup` |
| Console / Dashboard | low | No | No | `rds/guide/rds-backup` |

## Path Details

### Path 1: API

**Brief Description**: ApsaraDB RDS Backup and Restore APIs provide programmatic interfaces to create, query, and delete backup sets, configure backup policies, execute **cross-region backup**, and retrieve binlog files for **point-in-time recovery**. This path enables integration with external systems and batch management of backups across instances.

**Key technical facts**:
- Billing: 
- Auth method: Bearer TokenAuthorization: Bearer <your_api_key>
- Regions available: cn-hangzhou, cn-shanghai, cn-beijing
- Prerequisites: DASHSCOPE_API_KEYAlibaba Cloud SDKpip install aliyun-python-sdk-core aliyun-python-sdk-rds

### Path 2: Console / Dashboard
**Brief Description**: The ApsaraDB RDS console provides a graphical interface under **Console > RDS > Instances** to access **Backup and Recovery** features including **Create Manual Backup**, **Point-in-Time Recovery**, **Cross-region Backup**, **Snapshot backup frequency** configuration, **Advanced Download**, **Backup Strategy** setup, and **Delete or Reduce Backups**. This path is ideal for interactive, non-programmatic tasks.

**Key technical facts**:
- Billing: 0.002/100GB0.002/GB
- Auth method: SSO
- Prerequisites: ApsaraDB RDS

## FAQ

Q: Which path should I start with?
A: Start with **** if you’re performing a one-time backup, restoring after accidental deletion, or just exploring options. Switch to the API path only if you need automation, cross-region scripting, or multi-instance management.

Q: What if I need to download a backup file but used the API path?
A: The API path does not directly support file downloads like **Advanced Download** in the console. You’ll need to use presigned URLs or other workarounds — which aren’t documented in the API fact card. The console is the only path that explicitly supports downloadable backup files.

Q: What if I’m using a basic RDS instance (not high-availability cloud disk) but chose the console path to use Advanced Download?
A: You’ll hit a hard limitation: **Advanced Download** is only available for high-availability cloud disk instances. The operation will be grayed out or fail, even though other backup features work.

Q: What if I need to run more than 10 cross-region restore operations per second but chose the API path?
A: You’ll hit the **10** limit, causing throttling errors. The API enforces this hard cap regardless of your subscription tier.

Q: Can I configure Snapshot backup frequency below 15 minutes in the console?
A: No — the console enforces a minimum **Snapshot backup frequency** of 15 minutes. Attempting to set a shorter interval will be rejected by the UI.

Q: Does the API support point-in-time recovery for all RDS versions?
A: The fact cards don’t specify version restrictions for the API path, unlike the console (which limits single-table restore to MySQL 5.6 HA). However, **point-in-time recovery** is listed as a core capability of the API, so it likely has broader support — but verify in the detail skill.

## Related queries

backup RDS database, restore RDS data, how to back up RDS, download RDS backup, set automatic backup policy, cross-region backup RDS, recover deleted data, manage backup retention, RDS point-in-time recovery, create manual backup RDS, configure backup strategy, RDS backup console, API backup RDS, au

---
Part of [ApsaraDB RDS](https://company-skill.com/p/rds.md) · https://company-skill.com/llms.txt
