API

Tenant backups API with dry-run restores

Backups and restores of your Takelan data, only if you turn them on. Preview a restore first. Keep an audit trail.

Problems we solve

Does any of this sound like your week?

Someone deleted the wrong thing. Can we get it back?

Ask for one backup that covers the services that support it, then restore it later.

I will forget to run backups.

Turn on the schedule. You pick how often and when, and can switch on an alert if a backup fails.

I am scared a restore will break things.

Run a dry run first. It previews what a restore would do before it changes anything.

What does the backup really cover?

The coverage report lists what is included and what is left out on purpose, service by service.

What it does

  • The Tenant Backups API lets an account administrator back up the data Takelan services hold for that account. You can restore it later. You can start a backup any time. You can set a schedule, download the result and run a restore. Every step is recorded.
  • It solves a quiet worry: "if someone deletes the wrong thing in our account, can we get it back?" Instead of exporting each service by hand, you ask for one backup that covers the services that support it, then see per service whether it worked.
  • It is opt-in. Scheduling is off until an administrator turns it on. Nothing runs behind your back. You choose how often it runs, the time of day, and the weekday or day of month. You choose how long to keep backups, up to 180 days. You also choose how many to keep. You can limit a backup to chosen services. You can also switch on an alert if a backup fails.
  • A backup record shows its status, size and a SHA-256 checksum. It shows who or what started it. It shows a result for each service. A coverage report says what is included and what is left out on purpose, service by service. You know the limits before you rely on it.
  • Restores are careful. A dry run previews what a restore would do before it changes anything. You can restore from a stored backup or from a zip you upload. A download link is made on request. Each download is logged when it is used.
  • This API is for tenant administrators. Service tokens are refused, and the tenant comes from the token. Over the limit you get a 429 with a Retry-After header. We do not publish backup sizes, durations or recovery-time numbers.
  • It is not the same as ShadowCradle. ShadowCradle backs up your servers and workstations. Tenant Backups protects the data your account holds in Takelan services.
  • Pricing that stays affordable. Start free*. *Free test level; past the limits, non-critical calls slow or pause and nothing is charged unless you turn overage on. Connected ShadowCradle organizations can switch on Takelan SSO and these base-included services with one switch. Airgap licences work without any Takelan connection.
Example use cases6 examples

A weekly safety net

A small business admin turns on a weekly backup at 02:00. They keep 8 backups and ask for an alert if one fails. Nobody has to remember.

Back up before a big change

Before a bulk import or a clean-up script, an IT admin starts a backup on demand and waits for it to finish. If something goes wrong, there is a known good point.

Practise the restore

An MSP runs a dry-run restore each quarter. It shows what would come back and changes nothing live.

Keep a copy outside the platform

An admin makes a download link for the latest backup. They keep the zip in the company archive. The checksum lets them confirm it later.

Show who did what

An auditor asks who downloaded or restored a backup. The audit trail lists created, downloaded, restored, deleted, pruned and failed events.

Know what is not covered

A team reads the coverage report before it relies on backups for a policy. It shows which tables each service includes and which it leaves out, with reasons.

Try it

Turn on a weekly schedule

curl -X PUT https://app.takelan.com/api/v1/backups/config \
  -H "X-API-Key: $TAKELAN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "enabled": true,
    "frequency": "weekly",
    "weekday": 0,
    "time_of_day": "02:00",
    "retention_days": 60,
    "retention_count": 8,
    "notify_on_failure": true
  }'

Administrator credentials required. retention_days can be set up to 180.

Start a backup now, then preview a restore

curl -X POST https://app.takelan.com/api/v1/backups \
  -H "X-API-Key: $TAKELAN_API_KEY"

# Response (abridged, fictional), HTTP 202
# { "id": "b7e4...19", "status": "pending", "trigger": "manual", "services": [ ... ] }

curl -X POST "https://app.takelan.com/api/v1/backups/b7e4...19/restore?dry_run=true" \
  -H "X-API-Key: $TAKELAN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Poll GET /api/v1/backups until the status changes. You get 409 if a backup is already running.

Endpoints14 endpoints
  • GET /api/v1/backups List backups (limit and offset).
  • POST /api/v1/backups Start a backup now. Returns 202; poll the list.
  • GET /api/v1/backups/{backup_id} One backup with a result per service.
  • DELETE /api/v1/backups/{backup_id} Delete a backup.
  • GET /api/v1/backups/config Read the schedule and retention settings.
  • PUT /api/v1/backups/config Set the schedule, retention, services and failure notice.
  • GET /api/v1/backups/services Services that take part, with their last result.
  • GET /api/v1/backups/services/coverage What each service includes and excludes.
  • GET /api/v1/backups/services/coverage-policy Statements that apply to every service.
  • GET /api/v1/backups/audit Audit trail of backup events.
  • POST /api/v1/backups/{backup_id}/download-link Create a time-limited download link.
  • POST /api/v1/backups/{backup_id}/restore Restore a stored backup. Add ?dry_run=true to preview.
  • POST /api/v1/backups/restore Restore from an uploaded zip (or a staged dry run). Add ?dry_run=true to preview.
  • GET /api/v1/backups/restores/{restore_id} Status of one restore or preview.

MCP

Available as tools through /mcp/utils; writes off by default. Reading backups, config, coverage and the audit trail works with a read-only key. Starting a backup, changing the schedule or deleting is a write. It needs the writes switch for your account and a key that is not read-only. Restore and download routes are not offered as tools. The download-link route is marked sensitive. About MCP

Common questions

how to back up my cloud account data automatically

An administrator turns on the schedule with PUT /api/v1/backups/config. They pick how often and when, and how long to keep backups. Scheduling is opt-in and is off until you enable it.

how long are tenant backups kept

You set retention in days (up to 180) and by count. Older backups are pruned, and pruning is recorded in the audit trail.

can I test a restore without changing my data

Yes. Add dry_run=true to a restore call. It previews what would happen. You can reuse the preview id when you run the real restore.

who is allowed to run backups and restores

Tenant administrators only. Service tokens are refused. Every query is limited to the account in the token.

can I download a backup and keep it myself

Yes. Request a download link for a backup. The link is time-limited. The download is logged when used. The record has a SHA-256 checksum.

what is not included in a backup

It differs by service. The coverage endpoints list included and left-out tables, with reasons. Read them before you rely on a backup for a specific policy.

is this the same as ShadowCradle backup

No. ShadowCradle protects your servers, workstations and virtual machines. Tenant Backups covers the data your account holds in Takelan platform services.

does tenant backup cost extra

It is negotiable on price: start free*. *Free test level; past the limits, non-critical calls slow or pause and nothing is charged unless you turn overage on.

Analytics & Cookies

We use self-hosted Matomo analytics. By default we measure anonymously with no cookies. Enable cookies to help us improve your experience. You can change this anytime.