> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nerdit.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Restore Database Dump

> Reference for merged 0.6.0 source. The latest verified binary release is 0.5.5; use your Engine’s /api/openapi.json for its installed contract.



## OpenAPI

````yaml /engine/openapi.json post /api/databases/{name}/restore
openapi: 3.1.0
info:
  title: nerditd
  version: 0.6.0
  description: >-
    Current source interface (0.6.0); verify your installed Engine version. This
    is not a claim that 0.6.0 is released.
servers:
  - url: http://127.0.0.1:9321
    description: Default local Engine; use your configured endpoint.
security: []
paths:
  /api/databases/{name}/restore:
    post:
      tags:
        - Databases
      summary: Restore Database Dump
      description: >-
        Reference for merged 0.6.0 source. The latest verified binary release is
        0.5.5; use your Engine’s /api/openapi.json for its installed contract.
      operationId: restore_database_dump
      parameters:
        - name: name
          in: path
          required: true
          schema:
            type: string
            title: Name
        - name: force
          in: query
          required: false
          schema:
            type: boolean
            default: false
            title: Force
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DatabaseRestoreRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatabaseRestoreResponse'
          description: HTTP 200 response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: HTTP 422 response
components:
  schemas:
    DatabaseRestoreRequest:
      properties:
        dump:
          type: string
          pattern: ^nerdit-dump-[a-z0-9-]{1,63}-\d{8}T\d{6}Z-[0-9a-f]{6}\.tar\.gz$
          title: Dump
        timeout_s:
          type: integer
          minimum: 1
          title: Timeout S
          default: 600
      additionalProperties: false
      type: object
      required:
        - dump
      title: DatabaseRestoreRequest
    DatabaseRestoreResponse:
      properties:
        service_name:
          type: string
          title: Service Name
        dump:
          type: string
          title: Dump
        engine:
          type: string
          title: Engine
        duration_s:
          type: number
          title: Duration S
      type: object
      required:
        - service_name
        - dump
        - engine
        - duration_s
      title: DatabaseRestoreResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````