Restore snapshot
render_restore_snapshotRestore a Render persistent disk to a specified snapshot, overwriting current disk data. Snapshot keys expire in 24 hours; get a new key if needed.
Instructions
Restore snapshot. Restore a persistent disk to an available snapshot. This operation is irreversible. It will overwrite the current disk data. It might also trigger a service deploy. Snapshot keys returned from the List snapshots endpoint expire after 24 hours. If a snapshot key has expired, query the endpoint again for a new key. Calls POST /disks/{diskId}/snapshots/restore on the Render Public API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diskId | Yes | The ID of the disk | |
| instanceId | No | When a service with a disk is scaled, the instanceId is used to identify the instance that the disk is attached to. Each instance's disks get their own snapshots, and can be restored separately. | |
| snapshotKey | Yes |