Azure Databricks · Arazzo Workflow

Azure Databricks Back Up a Notebook by Export and Re-import

Version 1.0.0

Confirm a notebook, export its content, and re-import it to a backup path.

1 workflow 1 source API 1 provider
View Spec View on GitHub AnalyticsApache SparkBig DataData EngineeringMachine-LearningArazzoWorkflows

Provider

microsoft-azure-databricks

Workflows

backup-notebook
Export a notebook and re-import it to a backup path.
Confirms the source via getWorkspaceObjectStatus, exports it with exportWorkspaceObject, then imports the content to a backup path.
3 steps inputs: backupPath, language, sourcePath, token outputs: backupPath, fileType, sourcePath
1
confirmSource
Confirm the source object exists and is a NOTEBOOK before exporting it.
2
exportNotebook
Export the source notebook in SOURCE format and capture the base64-encoded content.
3
importBackup
Import the exported content to the backup path, overwriting any existing backup.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Azure Databricks Back Up a Notebook by Export and Re-import
  summary: Confirm a notebook, export its content, and re-import it to a backup path.
  description: >-
    Copies a notebook to a backup location inside the workspace. The workflow
    confirms the source notebook exists, exports it in SOURCE format to capture
    its base64-encoded content, and re-imports that content to a backup path.
    Every step spells out its request inline so the flow can be read and
    executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: workspaceApi
  url: ../openapi/microsoft-azure-databricks-workspace-api-openapi.yml
  type: openapi
workflows:
- workflowId: backup-notebook
  summary: Export a notebook and re-import it to a backup path.
  description: >-
    Confirms the source via getWorkspaceObjectStatus, exports it with
    exportWorkspaceObject, then imports the content to a backup path.
  inputs:
    type: object
    required:
    - token
    - sourcePath
    - backupPath
    - language
    properties:
      token:
        type: string
        description: Databricks personal access token for the Authorization header.
      sourcePath:
        type: string
        description: Absolute path of the source notebook to back up.
      backupPath:
        type: string
        description: Absolute path to write the backup copy to.
      language:
        type: string
        description: Notebook language, one of SCALA, PYTHON, SQL, or R.
  steps:
  - stepId: confirmSource
    description: >-
      Confirm the source object exists and is a NOTEBOOK before exporting it.
    operationId: getWorkspaceObjectStatus
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.token
    - name: path
      in: query
      value: $inputs.sourcePath
    successCriteria:
    - condition: $statusCode == 200
    - condition: $response.body#/object_type == "NOTEBOOK"
    outputs:
      objectType: $response.body#/object_type
  - stepId: exportNotebook
    description: >-
      Export the source notebook in SOURCE format and capture the
      base64-encoded content.
    operationId: exportWorkspaceObject
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.token
    - name: path
      in: query
      value: $inputs.sourcePath
    - name: format
      in: query
      value: SOURCE
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      content: $response.body#/content
      fileType: $response.body#/file_type
  - stepId: importBackup
    description: >-
      Import the exported content to the backup path, overwriting any existing
      backup.
    operationId: importWorkspaceObject
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.token
    requestBody:
      contentType: application/json
      payload:
        path: $inputs.backupPath
        format: SOURCE
        language: $inputs.language
        content: $steps.exportNotebook.outputs.content
        overwrite: true
    successCriteria:
    - condition: $statusCode == 200
  outputs:
    sourcePath: $inputs.sourcePath
    backupPath: $inputs.backupPath
    fileType: $steps.exportNotebook.outputs.fileType

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/azure-databricks-backup-notebook-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.