# backup_instance

Back up a Memorystore for Valkey instance.

Agent View of the PolicyLayer registry record for `backup_instance`. HTML page: https://policylayer.com/tools/com-googleapis-memorystore-mcp/backup-instance

## Facts

- Tool: `backup_instance`
- Server: Mcp (`https://memorystore.googleapis.com/mcp`) — https://policylayer.com/tools/com-googleapis-memorystore-mcp.md
- Homepage: https://github.com/https://memorystore.googleapis.com/mcp
- Risk category: Write (Medium risk)
- Registry record: grade F, identity unverified
- Server auth posture: open
- Server rate-limited: no
- Parameters: 3 (1 required)
- Recommended policy verdict: Rate-limited

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `ttl` | string | no | Optional. TTL for the backup to expire. Value range is 1 day to 100 years. If not specified, the default value is 100 years. |
| `name` | string | yes | Required. Instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a Google |
| `backupId` | string | no | Optional. The id of the backup to be created. If not specified, the default value ([YYYYMMDDHHMMSS]_[Shortened Instance UID] is used. |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "backup_instance",
    "arguments": {
      "name": "<name>"
    }
  }
}
```

## Why backup_instance is rated Medium

Creating a backup is a Write operation — it produces a new backup artifact without destroying or modifying the source instance. It is reversible in the sense that the backup can be deleted afterward. Severity is medium because misuse could consume significant storage resources or trigger unintended backup billing, but it does not destroy data or move money.

From the tool's own definition: "Back up a Memorystore for Valkey instance"

## Use case

AI agents use backup_instance to create or update resources in Mcp, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Mcp environment.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Mcp:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "backup_instance": {
      "limits": [
        {
          "counter": "backup_instance_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Mcp (13)

- `delete_backup` — Destructive — https://policylayer.com/tools/com-googleapis-memorystore-mcp/delete-backup.md
- `delete_instance` — Destructive — https://policylayer.com/tools/com-googleapis-memorystore-mcp/delete-instance.md
- `get_backup` — Read — https://policylayer.com/tools/com-googleapis-memorystore-mcp/get-backup.md
- `get_backup_collection` — Read — https://policylayer.com/tools/com-googleapis-memorystore-mcp/get-backup-collection.md
- `get_certificate_authority` — Read — https://policylayer.com/tools/com-googleapis-memorystore-mcp/get-certificate-authority.md
- `get_instance` — Read — https://policylayer.com/tools/com-googleapis-memorystore-mcp/get-instance.md
- `list_backup_collections` — Read — https://policylayer.com/tools/com-googleapis-memorystore-mcp/list-backup-collections.md
- `list_backups` — Read — https://policylayer.com/tools/com-googleapis-memorystore-mcp/list-backups.md
- `list_instances` — Read — https://policylayer.com/tools/com-googleapis-memorystore-mcp/list-instances.md
- `create_instance` — Write — https://policylayer.com/tools/com-googleapis-memorystore-mcp/create-instance.md
- `export_backup` — Write — https://policylayer.com/tools/com-googleapis-memorystore-mcp/export-backup.md
- `reschedule_maintenance` — Write — https://policylayer.com/tools/com-googleapis-memorystore-mcp/reschedule-maintenance.md
- `update_instance` — Write — https://policylayer.com/tools/com-googleapis-memorystore-mcp/update-instance.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=com-googleapis-memorystore-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/com-googleapis-memorystore-mcp
