Skip to content

Ask your assistant about your backups

Connect Litebackup to Claude, ChatGPT, or Codex, and it answers from your instances with the rights you have on each.

Connect

  • Claude (claude.ai, Claude Desktop, and Cowork): open Customize, then Connectors, add Litebackup, and sign in with your Litebackup account. To get the skills as well, install the Litebackup plugin from the directory instead.
  • Claude Code: run /plugin marketplace add litebackup/plugins, then /plugin install litebackup@litebackup, then /mcp to sign in.
  • ChatGPT and Codex: install Litebackup from the plugin directory and sign in.

Sign-in shows what the connection may do, and you choose:

Permission What it allows
See your backups Every tool that reads: databases, versions you can restore, writers, machines, retention policies, users, and the server's disk.
Undelete databases and create invite links undelete_database and invite_user, for admins. Leave it unchecked for a connection that only reads.

One connection reaches the instances of your teams and every instance you have signed in to. To remove an instance from the list, or to disconnect an app, open Connected apps in your Litebackup account.

What each person can do

Every call acts as you, with the rights you have on that instance. An admin sees every database. A user sees the databases in their namespace, such as team/, and the machines of their own join tokens. Someone who is not a user of an instance gets an answer that says to ask an admin for an invite.

Tool What it answers Who can use it
list_instances Your instances, by ID and hostname Everyone
show_server The server's version, whether setup is finished, and its archive delay Admins and users
list_databases Databases with their newest version on the server and in buckets; deleted ones with deleted Admins and users; deleted ones for admins
show_database One database: its versions, when it last synced, the machine that writes it, and, for admins, its policy Admins and users
list_database_versions The versions a database can be restored to, with their times Admins and users
list_machines Machines that joined, with when each was last seen Admins see all; users see their own
show_disk_usage The server's disk and its free-space reserve Admins
list_retention_policies How long versions stay on the server and in buckets Admins
list_users The people who can sign in, and their namespaces Admins
undelete_database Brings back a deleted database before it is purged Admins, with the second permission
invite_user A one-time invite link for an email address; nothing is emailed Admins, with the second permission

Every tool takes an optional instance, an ID or hostname from list_instances, which you can leave out when you have one instance.

Restore a version

The connector finds the version; restoring runs on the machine that holds the database, and writes a new file without overwriting anything:

# List retained versions and restore one to a new file.
litebackup versions app/main.sqlite
litebackup restore app/main.sqlite /var/lib/app/main-restored.sqlite --version 41

Limits

The connector does not restore, delete, or purge databases, change retention policies, or read what is in a database. Lists return 50 rows at a time, and the assistant asks for more as it needs them. Calls count against the same per-user request limit as the API, and a server that is still in setup answers with its setup page.