curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/cdpbackup/activate/{node_id}/?project_id=<PROJECT_ID>&apikey=<API_KEY>&location=<LOCATION>' \ --header 'Authorization: Bearer <API_TOKEN>' \ --header 'Content-Type: application/json' \ --data '{ "plan_id": 1, "type": "HOURLY", "exclude_file_folder": "", "backup_now": true, "compression_type": "ZLib", "is_encryption_required": false, "compression_level": "Low", "hoursOfDay": "0,6,12,18", "startingMinute": 38, "db_enabled": "", "db_username": "", "db_password": ""}'import requests
response = requests.put( "https://api.e2enetworks.com/myaccount/api/v1/cdpbackup/activate/{node_id}/", params={"project_id": "<PROJECT_ID>", "apikey": "<API_KEY>", "location": "<LOCATION>"}, headers={"Authorization": "Bearer <API_TOKEN>"}, json={ "plan_id": 1, "type": "HOURLY", "exclude_file_folder": "", "backup_now": True, "compression_type": "ZLib", "is_encryption_required": False, "compression_level": "Low", "hoursOfDay": "0,6,12,18", "startingMinute": 38, "db_enabled": "", "db_username": "", "db_password": "", },)print(response.json())const url = new URL("https://api.e2enetworks.com/myaccount/api/v1/cdpbackup/activate/{node_id}/");url.search = new URLSearchParams({ project_id: "<PROJECT_ID>", apikey: "<API_KEY>", location: "<LOCATION>" });
const response = await fetch(url, { method: "PUT", headers: { "Authorization": "Bearer <API_TOKEN>", "Content-Type": "application/json" }, body: JSON.stringify({ "plan_id": 1, "type": "HOURLY", "exclude_file_folder": "", "backup_now": true, "compression_type": "ZLib", "is_encryption_required": false, "compression_level": "Low", "hoursOfDay": "0,6,12,18", "startingMinute": 38, "db_enabled": "", "db_username": "", "db_password": "" }),});console.log(await response.json());curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/cdpbackup/activate/{node_id}/?project_id=<PROJECT_ID>&location=<LOCATION>&apikey=<API_KEY>' \ --header 'Authorization: Bearer <API_TOKEN>'import requests
response = requests.put( "https://api.e2enetworks.com/myaccount/api/v1/cdpbackup/activate/{node_id}/", params={"project_id": "<PROJECT_ID>", "location": "<LOCATION>", "apikey": "<API_KEY>"}, headers={"Authorization": "Bearer <API_TOKEN>"},)print(response.json())const url = new URL("https://api.e2enetworks.com/myaccount/api/v1/cdpbackup/activate/{node_id}/");url.search = new URLSearchParams({ project_id: "<PROJECT_ID>", location: "<LOCATION>", apikey: "<API_KEY>" });
const response = await fetch(url, { method: "PUT", headers: { "Authorization": "Bearer <API_TOKEN>" },});console.log(await response.json());Enables CDP Backup for a node. Refused with “CDP Backup Cannot Be Enabled — The selected security group does not have TCP port 1167 open, which is required for CDP Backup agent communication” unless the node’s security group has that port open. Billed as a flat license fee (₹900 or $10 per month) plus ₹2.5 or $0.03 per GB of backup storage per month; the first backup runs, and every backup after it, every 6 hours by default.
Activate Backup and Activate CDP Backup share this request; the body you send decides which one runs.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Path parameter node_id.
Query Parameters
Section titled “Query Parameters”Identifier of the project to scope the request to. Required integer project ID.
Example
<PROJECT_ID>API key used for authentication
Example
<API_KEY>Specifies the target location for activating the backup.
Example
<LOCATION>Request Body
Section titled “Request Body”object
Identifier of the backup plan to activate.
Example
1Specifies the backup activation schedule type.
Example
HOURLYPath or pattern of files/folders to exclude from the backup
Example
Flag to trigger an immediate backup when true.
Example
trueSpecifies the compression algorithm to use for the backup.
Example
ZLibIndicates whether encryption is required for the backup activation.
Example
falseSpecifies the desired compression intensity for the backup operation.
Example
LowHours of the day when the backup should run, expressed as a comma-separated list of 0-23 values
Example
0,6,12,18Minute of the hour when backup activation should start
Example
38Indicates whether the database backup should be enabled
Example
Database username for authentication
Example
Database password used for backup activation
Example
Responses
Section titled “Responses”Successful response
object
HTTP status code returned by the Activate Backup operation
object
Indicates whether a support ticket was created during the backup activation
object
Human-readable status message confirming activation of backup.
Example
{ "code": 200, "data": { "support_ticket_created": true }, "message": "Your backups will begin shortly."}default
Section titled “default”Response