Buat cadangan data untuk instance ApsaraDB Tair (kompatibel dengan Redis OSS).
Deskripsi operasi
Untuk operasi konsol yang sesuai dengan API ini, lihat backup and recovery.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:CreateBackup |
create |
*DBInstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans. |
r-bp1zxszhcgatnx**** |
| BackupRetentionPeriod |
integer |
No |
Periode kedaluwarsa untuk backup manual ini, dalam satuan hari. Nilai yang valid berkisar antara 7 hingga 730. Jika Anda menentukan -1, data backup tidak akan kedaluwarsa selama masa berlaku instans. Jika Anda tidak menentukan nilai (default), periode kedaluwarsa mengikuti kebijakan backup otomatis saat ini. |
60 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| BackupJobID |
string |
ID task backup. |
"1022,2480" |
| RequestId |
string |
ID permintaan. |
2FF6158E-3394-4A90-B634-79C49184**** |
Contoh
Respons sukses
JSONformat
{
"BackupJobID": "\"1022,2480\"",
"RequestId": "2FF6158E-3394-4A90-B634-79C49184****"
}
Respons error
JSONformat
{
"RequestId": "2D719BD9-A536-4D8B-BEA9-CD299DE2AE1B",
"BackupJobID": "4679933"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.