Create backup
create_backupCreates a paid VPSnet backup for a specified service order, historical date, and directories after price approval. Track it via returned UUID; reuse the same idempotency key on retries.
Instructions
Create a new backup. Returns noty UUID for tracking. First call get_backup_status to see available period dates and price. Backup is a paid operation (price shown in get_backup_status). Call only after the user approves the exact service, historical date, directories and disclosed price. Reuse the same idempotencyKey and unchanged request after a lost response; never rotate the key to retry an uncertain payment. Requires services:manage and a full-access API key.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"orderNo": "<orderNo>",
"idempotencyKey": "<idempotencyKey>",
"period": "<period>",
"directories": "<directories>",
"payment": "<payment>"
},
"name": "create_backup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | Yes | Backup date in YYYY-MM-DD format. Must be one of the dates from get_backup_status options (up to 7 days in the past) | |
| orderNo | Yes | Tenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1 | |
| payment | Yes | Payment object. For balance: { payment: 1, successUrl: '', cancelUrl: '' } | |
| directories | Yes | Directories to backup, e.g. '/' for full backup | |
| idempotencyKey | Yes | Stable unique key for this exact approved backup purchase: 16-190 ASCII letters, digits, dots, underscores, colons or hyphens; first character must be alphanumeric. Reuse unchanged on retry. |