Flux Backup/Restore API

**Application Backup & Recovery** Comprehensive backup and disaster recovery endpoints for Flux applications and data. These APIs provide automated backup creation, version management, and restoration capabilities to ensure data integrity and business continuity for decentralized applications running on the Flux network. **Backup Services:** - Automated backup scheduling - Version control and history - Cross-region replication - Point-in-time recovery - Disaster recovery orchestration

GitHub OpenAPI

Operations 7

GET /backup/getvolumedataofcomponent Get volume data of a component #
GET /backup/getremotefilesize Get size of a remote file. **AppOwnerAbove** #
GET /backup/getlocalbackuplist Get the list of local backups based on the provided appname #
GET /backup/removebackupfile Remove a backup file #
GET /backup/downloadlocalfile Download a local backup file #
POST /apps/appendbackuptask Append backup task to an application #
POST /apps/appendrestoretask Append restore task to an application #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/runonflux-com:runonflux-com-backup-restore-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

runonflux-com-backup-restore-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 8.20.0
  title: Flux Decentralized Cloud Backup/Restore API
  termsOfService: https://cdn.runonflux.io/Flux_Terms_of_Service.pdf
  contact:
    name: InFlux Technologies USA LLC — Flux Development Team
    email: development@runonflux.com
    url: https://docs.runonflux.com
  license:
    name: GNU AGPLv3
    url: https://www.gnu.org/licenses/agpl-3.0.en.html
  description: '# Flux API Documentation


    Welcome to the comprehensive API reference for **Flux**, the world''s leading decentralized Web3 cloud computing platform. This documentation covers all available API endpoints for interacting with the Flux network, nodes, and decentralized applications. ## About Flux


    **Flux** is a decentralized Web3 cloud infrastructure powered by globally distributed, user-operated nodes. Built for scalability and censorship resistance, Flux eliminates single points of failure while providing enterprise-grade computing resources for deploying and managing applications. ### Key Features


    - **🌐 Decentralized Infrastructure**: ~6,400 confirmed FluxNodes worldwide providing 52,000+ CPU cores, 170TB+ RAM and 3PB+ SSD storage across three tiers (Cumulus, Nimbus, Stratus)

    - **⚡ High Performance**: Enterprise-grade computing with automatic placement, fault-domain spreading and high availability

    - **🔐 Secure by Design**: Multiple authentication methods, enterprise app encryption and runtime tampering detection

    - **💰 Cost Effective**: Competitive pricing compared to traditional cloud providers

    - **🚀 Developer Friendly**: Docker-based deployments with comprehensive API support

    - **🛡️ ArcaneOS**: Hardened, attested node operating system with hardware-backed key custody


    *Network figures are a live snapshot; query `GET /daemon/getfluxnodecount` or

    stats.runonflux.io for current totals.*


    ## API Architecture


    The Flux API uses a **seven-level permission model** to ensure secure and controlled access. Every endpoint in this document ends its description with the level it requires:


    | Permission Level | Description | Authentication Required |

    |------------------|-------------|-------------------------|

    | **Public** | Open access endpoints | ❌ No |

    | **User** (`user`) | Any FluxID with a valid signature and a live session | ✅ Yes |

    | **FluxTeam** (`fluxteam`) | Flux Team and Flux Support identities | ✅ Yes |

    | **Admin** (`admin`) | The operator of *this* node (`initial.zelid` in its config) | ✅ Yes |

    | **AdminAndFluxTeam** (`adminandfluxteam`) | Node operator **or** Flux Team | ✅ Yes |

    | **AppOwner** (`appowner`) | The FluxID that registered the application | ✅ Yes |

    | **AppOwnerAbove** (`appownerorfluxteam`) | Application owner **or** Flux Team | ✅ Yes |


    Every privilege is a set of identities and asks whether the caller is one of

    them — the compounds read **OR**, never AND. `admin` is a hardware role: the

    node operator administers the machine and is *not* a party to a customer''s

    application, so app verbs (`appstart`, `appremove`, `appkill`, `redeploy`, …)

    require **AppOwnerAbove** rather than Admin.'
servers:
- url: https://api.runonflux.io
  description: Production API Gateway - global load-balanced endpoint. Requests are served by whichever confirmed FluxNode the gateway routes to, so node-scoped endpoints (anything that reports or changes the state of one machine) should be called against a specific node instead.
- url: https://{nodeip}:16127
  description: Direct Flux Node Connection - Connect directly to specific node
  variables:
    nodeip:
      description: Flux node IP address or hostname
      default: localhost
- url: http://localhost:16127
  description: Local Development Node - For local testing
- url: https://explorer.runonflux.io
  description: Explorer API - Blockchain data and statistics
- url: https://stats.runonflux.io
  description: Network Statistics API - Real-time network metrics
tags:
- name: Backup/Restore
  description: '**Application Backup & Recovery**

    Comprehensive backup and disaster recovery endpoints for Flux applications and data. These APIs provide automated backup creation, version management, and restoration capabilities to ensure data integrity and business continuity for decentralized applications running on the Flux network.

    **Backup Services:** - Automated backup scheduling - Version control and history - Cross-region replication - Point-in-time recovery - Disaster recovery orchestration'
paths:
  /backup/getvolumedataofcomponent:
    get:
      tags:
      - Backup/Restore
      summary: Get volume data of a component
      description: Get volume data of a component. **AppOwnerAbove**
      operationId: fluxGetvolumedataofcomponent
      security:
      - FluxID: []
      parameters:
      - in: query
        name: appname
        required: true
        schema:
          type: string
        description: Name of the application
        example: FoldingAtRunOnFlux11
      - in: query
        name: component
        required: true
        schema:
          type: string
        description: Component of application
        example: FoldingAtHome
      - in: query
        name: multiplier
        schema:
          type: string
        description: Unit (B, KB, MB, GB); default MB
        example: B
      - in: query
        name: decimal
        schema:
          type: number
        description: Decimal value
        example: 2
      - in: query
        name: fields
        required: false
        schema:
          type: string
        description: Comma-separated subset of mount, size, used, available, capacity, filesystem; all fields when omitted
        example: size,used
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
              example:
                status: success
                data:
                  size: 3.09
                  used: 0.28
  /backup/getremotefilesize:
    get:
      tags:
      - Backup/Restore
      summary: Get size of a remote file. **AppOwnerAbove**
      operationId: fluxGetremotefilesize
      security:
      - FluxID: []
      parameters:
      - in: query
        name: fileurl
        required: true
        schema:
          type: string
        description: Remote URL
        example: https://go.dev/dl/go1.22.1.darwin-amd64.tar.gz
      - in: query
        name: multiplier
        schema:
          type: string
        description: Unit (B, KB, MB, GB); default B
        example: B
      - in: query
        name: decimal
        schema:
          type: number
        description: Decimal value
        example: 2
      - in: query
        name: number
        schema:
          type: boolean
        description: return only number
        example: true
      - in: query
        name: appname
        required: true
        schema:
          type: string
        description: Application name
        example: FoldingAtRunOnFlux11
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
              example:
                status: success
                data: 67267354
  /backup/getlocalbackuplist:
    get:
      tags:
      - Backup/Restore
      summary: Get the list of local backups based on the provided appname
      description: Get the list of local backups based on the provided appname. `path` must be a backup folder (backup/local, backup/upload or backup/remote) inside the named application's own volume; any other path is refused with "Path validation failed..". **AppOwnerAbove**
      operationId: fluxGetlocalbackuplist
      security:
      - FluxID: []
      parameters:
      - in: query
        name: path
        required: true
        schema:
          type: string
        description: Full path
        example: '%2Fhome%2Fflux01%2Fzelflux%2FZelApps%2FfluxFoldingAtHome_FoldingAtRunOnFlux11%2Fbackup%2Flocal'
      - in: query
        name: multiplier
        schema:
          type: string
        description: Unit (B, KB, MB, GB); default B
        example: B
      - in: query
        name: decimal
        schema:
          type: number
        description: Decimal value
        example: 2
      - in: query
        name: number
        schema:
          type: boolean
        description: return only number
        example: true
      - in: query
        name: appname
        required: true
        schema:
          type: string
        description: Application name
        example: FoldingAtRunOnFlux11
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                        create:
                          type: string
                        size:
                          type: integer
              example:
                status: success
                data:
                - name: backup_foldingathome.tar.gz
                  create: '1711116249595'
                  size: 280725761
  /backup/removebackupfile:
    get:
      tags:
      - Backup/Restore
      summary: Remove a backup file
      description: Remove a backup file. `filepath` must be a backup file (under backup/local, backup/upload or backup/remote) inside the named application's own volume; any other path is refused with "Path validation failed..". **AppOwnerAbove**
      operationId: fluxRemovebackupfile
      security:
      - FluxID: []
      parameters:
      - in: query
        name: filepath
        required: true
        schema:
          type: string
        description: Full path
        example: '%2Fhome%2Fflux05%2Fzelflux%2FZelApps%2FfluxFoldingAtHome_FoldingAtRunOnFlux11%2Fbackup%2Flocal%2Fbackup_foldingathome.tar.gz'
      - in: query
        name: appname
        required: true
        schema:
          type: string
        description: Application name
        example: FoldingAtRunOnFlux11
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      message:
                        type: boolean
              example:
                status: success
                data:
                  message: true
  /backup/downloadlocalfile:
    get:
      tags:
      - Backup/Restore
      summary: Download a local backup file
      description: Download a local backup file. `filepath` must be a backup file (under backup/local, backup/upload or backup/remote) inside the named application's own volume; any other path is refused with "Path validation failed..". **AppOwnerAbove**
      operationId: fluxDownloadlocalfile
      security:
      - FluxID: []
      parameters:
      - in: query
        name: filepath
        required: true
        schema:
          type: string
        description: Full path
        example: '%2Fhome%2Fflux05%2Fzelflux%2FZelApps%2FfluxFoldingAtHome_FoldingAtRunOnFlux11%2Fbackup%2Flocal%2Fbackup_foldingathome.tar.gz'
      - in: query
        name: appname
        required: true
        schema:
          type: string
        description: Application name
        example: FoldingAtRunOnFlux11
      responses:
        '200':
          description: OK
          content:
            application/gzip:
              schema:
                type: string
                format: binary
  /apps/appendbackuptask:
    post:
      tags:
      - Backup/Restore
      summary: Append backup task to an application
      description: Append backup task to an application. **AppOwnerAbove**
      operationId: fluxAppendbackuptask
      security:
      - FluxID: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                appname:
                  type: string
                  description: Name of the application
                  example: FoldingAtRunOnFlux11
                force:
                  type: boolean
                  default: false
                  description: Archive a synced component even when this node's copy is not confirmed fully synced; otherwise that is refused with the sync shortfall.
                backup:
                  type: array
                  items:
                    type: object
                    properties:
                      component:
                        type: string
                        description: Name of component
                        example: FoldingAtHome
                      backup:
                        type: boolean
                        description: Whether to perform backup for the component
                        example: true
              example:
                appname: FoldingAtRunOnFlux11
                backup:
                - component: FoldingAtHome
                  backup: true
      responses:
        '200':
          description: A stream of plain-text progress lines; a refusal is written into it as a line too.
          content:
            text/plain:
              schema:
                type: string
  /apps/appendrestoretask:
    post:
      tags:
      - Backup/Restore
      summary: Append restore task to an application
      description: Append restore task to an application. **AppOwnerAbove**
      operationId: fluxAppendrestoretask
      security:
      - FluxID: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - appname
              - type
              - restore
              properties:
                appname:
                  type: string
                  description: Name of the application
                  example: FoldingAtRunOnFlux11
                type:
                  type: string
                  enum:
                  - local
                  - remote
                  - upload
                  description: 'Where each component''s archive comes from: the volume''s backup/local or backup/upload folder, file `backup_<component>.tar.gz` with the component name lower-cased; or, for `remote`, downloaded first from each entry''s `url`.'
                force:
                  type: boolean
                  default: false
                  description: 'Skip the check that refuses restoring a g: (elected) component on a node other than its current primary.'
                restore:
                  type: array
                  items:
                    type: object
                    properties:
                      component:
                        type: string
                        description: Name of component
                        example: FoldingAtHome
                      restore:
                        type: boolean
                        description: Whether to restore this component
                        example: true
                      url:
                        type: string
                        description: Archive URL; required for each restored component when `type` is `remote`
              example:
                appname: FoldingAtRunOnFlux11
                type: local
                restore:
                - component: FoldingAtHome
                  restore: true
      responses:
        '200':
          description: A stream of plain-text progress lines; a refusal is written into it as a line too.
          content:
            text/plain:
              schema:
                type: string
components:
  schemas:
    status:
      type: string
      description: Explanation of status
      enum:
      - success
      - error
  securitySchemes:
    FluxID:
      description: 'FluxID (formerly ZelID) is an authentication system based on Bitcoin message signing and Ethereum personal sign. The header keeps its original name, `zelidauth`: a query string of zelid, signature and loginPhrase (see Authentication Workflows for how to obtain one). An example of a header is `zelid=1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC&signature=%2BZB3oSrsw6XkBxxlbwk33LEBJYvqtbMIm2kL9JzuoXMC6pSZd0lBHdnhJYzMTXv81zZQ7G%2FpkK1NvYN7cNF0GE%3D&loginPhrase=1574991374806spbcvsuwerl52tppx9dw5khuz8rew13mkq86gg8r2c`'
      type: apiKey
      in: header
      name: zelidauth
externalDocs:
  description: Flux Documentation & Resources Hub
  url: https://docs.runonflux.com
x-tagGroups:
- name: Getting Started
  tags:
  - Authentication
  - ID
- name: Applications
  tags:
  - Apps
  - Volume Browser
  - IOUtils
- name: Node Operations
  tags:
  - Flux
  - Benchmark
  - ArcaneOS
- name: Blockchain
  tags:
  - Daemon
  - Explorer
- name: Storage & Sync
  tags:
  - Syncthing
  - Fluxshare
  - Backup/Restore
- name: Commerce
  tags:
  - Payments