Fiber LogoFiber Docs
Node

Module `Admin`

Node administration RPC methods

Module Admin

The admin module contains privileged node-administration operations. It is available on native v0.10.1 nodes but is not enabled by default. Add admin to rpc.enabled_modules and protect any non-local RPC listener with Biscuit authentication before using it.

With Biscuit authentication enabled, backup requires write("node").

Method backup

Creates an immediate online backup of the Fiber store and node key files. The backup is written to $BASE_DIR/fiber/backups/<timestamp>.

Params

None. Send an empty params array.

Returns

None (null in the JSON-RPC response).

Example

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "backup",
  "params": []
}

The equivalent command is:

fnn-cli admin backup

See Fiber Node Backup for module configuration, automatic backups, and restore instructions.