Membuat cadangan snapshot penuh untuk kluster PolarDB.
Deskripsi operasi
Setiap kluster dapat memiliki hingga tiga cadangan manual secara bersamaan.
Jika Anda menerima pesan error
Exceeding the daily backup times of this DB cluster, berarti kluster Anda telah mencapai batas tiga cadangan manual. Hapus cadangan sebelum memanggil operasi ini kembali.Setelah operasi ini dipanggil, sebuah Pekerjaan cadangan akan dibuat di latar belakang. Waktu penyelesaian Pekerjaan tersebut bergantung pada volume data dan mungkin memerlukan waktu cukup lama.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:CreateBackup |
create |
*dbcluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID kluster. |
pc-************* |
| ClientToken |
string |
No |
Token client untuk memastikan idempotensi permintaan. Nilai ini dihasilkan oleh client dan harus unik di antara permintaan yang berbeda. Token bersifat case-sensitive dan tidak boleh melebihi 64 karakter ASCII. |
6000170000591aed949d0f54a343f1a4233c1e7d1c5c****** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
F3322AFE-083E-4D77-A074-421301****** |
| BackupJobId |
string |
ID Pekerjaan cadangan. |
11111111 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "F3322AFE-083E-4D77-A074-421301******",
"BackupJobId": "11111111"
}
Respons error
JSONformat
{
"RequestId":"4F780C2E-163A-42C2-9D8A-B5A0C823B1DB"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidBackupType.Malformed | The specified parameter BackupType is not valid. | |
| 400 | InvalidBackupMethod.Malformed | The specified parameter BackupMethod is not valid. | |
| 403 | BackupTimesExceeded | The maximum number of backups per day is exceeded. | |
| 404 | InvalidDBClusterId.NotFound | The DBClusterId provided does not exist in our records. | |
| 404 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.