Configuring an Automated Backup Policy

Function

This API is used to configure an automated backup policy. Before calling this API:

URI

Request

Example Request

Configuring a backup policy for GaussDB (Set backup retention period to seven days and backup time window to 19:00-20:00)
{
	"backup_policy": {
		"keep_days": 7,
		"start_time": "19:00-20:00",
		"period": "1,2,3,4,5",
		"differential_period": "30",
		"rate_limit": 75 ,
		"prefetch_block": 64 ,
		"file_split_size": 4 ,
		"enable_standby_backup" : false 
	}
}

Response

Status Code

Error Code

For details, see Error Codes.