Skip to content

How Arkame works

Arkame is a BYOS (bring your own storage) backup panel: data flows from your server straight to your bucket (AWS S3, Backblaze B2, Wasabi, OCI, GCS, MinIO, or any S3-compatible storage with versioning). Bucket credentials live only on your server; the panel never sees them.

  • Agent: a lightweight binary (or container) installed on the server you want to protect. It runs backups, measures bucket usage, and performs restores.
  • Storage: your S3-compatible bucket, registered in the panel (no credentials).
  • Plan: connects a source (agent folders) to a destination (storage), with scheduling, exclusions, and bandwidth limits.
  • Restore: search by name, browse folders, or go back to a point in time, and restore to any active server installed with that storage (the Operator restores only to the server of origin, in its original place or a new folder inside it; other destinations stay with owners and administrators).

1. Register your storage

In the panel, go to Storages → Add storage, pick the provider, and enter the bucket, region, and (for S3-compatible providers) the endpoint. Recommendations:

Never set up cloud storage before? The storage guide goes from a new account at Backblaze, Wasabi or AWS to a key ready for Arkame.

  • Enable versioning on the bucket: it's what lets you restore old versions and protects against overwrites/ransomware.
  • Turn on Object Lock and set a default retention in Compliance mode (for example, 30 days). Retention is what prevents deleting or overwriting older versions (even with the server’s credential in someone else’s hands) until the period ends. Object Lock turned on without a default retention protects nothing, and versioning alone does not protect you from whoever holds the key. Pick a period longer than it would take you to notice an attack.
  • Create a credential (access key) dedicated to the agent, with access to that bucket only.

Object Lock through the S3 API exists on AWS S3, Backblaze B2, Wasabi and MinIO. Google Cloud Storage and OCI have their own retention, outside the S3 API. Cloudflare R2 isn't accepted for new storage: it has no versioning or Object Lock through the S3 API, and without versions you can't go back in time or protect against ransomware. R2 buckets registered before that no longer receive backups (the agent refuses a bucket without versioning): move to a provider with versioning.

Arkame's smart-retention cleanup deletes old versions with the agent's key, so the key needs permission to delete versions (s3:DeleteObjectVersion or equivalent). In a bucket with Object Lock, Arkame deletes nothing: the lock is your decision that nothing leaves before its deadline, and the cleanup respects it. In that case, old versions expire through a lifecycle rule on the bucket itself, which the provider applies only after each version's retention ends. Without Object Lock, a key without permission to delete versions also works: Arkame's cleanup is logged as a failure and the lifecycle rule does the job.

2. Install the agent

In Servers → New server you name the server, pick the bucket and the panel shows the install for its system: one command on Linux and macOS, and a double-click installer on Windows. Docker is an alternative on Linux. The install code is valid for 24 hours and works once. The flow:

  1. The installer downloads the Arkame agent, verifies the file’s integrity and asks for the bucket’s access key and secret key. They stay on the server; the panel never receives them.
  2. Before going on, the installer tests the key against the bucket. If the bucket refuses it, it says why and asks again.
  3. With the key accepted, the agent registers with the panel and creates an Ed25519 key pair on the server. The panel shows the key fingerprint; you check it and approve.

Once approved, the server shows as active, the panel checks the bucket connection and the agent starts running the plans.

Linux and macOS, in the server’s terminal:

curl -fsSL https://get.arkame.app/install.sh |  sudo sh -s -- --token=<code>

Windows: download the installer on the server, double-click it, accept the administrator prompt and paste the code in the window that opens:

get.arkame.app/agente.exe

The Windows agent is not code-signed yet. If Windows 11 has Smart App Control turned on, it blocks the installation with the message "blocked by your organization’s Device Guard policy". With it off and on Windows 10 and Windows Server, the installation goes through normally.

Alternative on Linux, with Docker, in the server’s terminal:

sudo docker run \  --pull always \  --rm \  -it \  --user 0 \  --security-opt label=disable \  --hostname "$(hostname)" \  -v /etc/arkame:/etc/arkame \  ghcr.io/arkame-app/arkame-agent:latest install \  --token=<code> \  --panel-url=https://save.arkame.app \  --install-service=false &&{  sudo docker stop -t 150 arkame-agent >/dev/null 2>&1; \  sudo docker rm arkame-agent >/dev/null 2>&1; \  sudo docker run \    -d \    --name arkame-agent \    --restart always \    --stop-timeout 150 \    --user 0 \    --security-opt label=disable \    --hostname "$(hostname)" \    -v /:/host \    -v /etc/arkame:/etc/arkame \    ghcr.io/arkame-app/arkame-agent:latest; \}

The first container asks for and tests the bucket key and waits for approval; only if it finishes well does the agent start as a service, restarting on its own with the server. In Docker, a plan’s before/after backup commands do not run. For databases running in containers, use the Containers recipe (agent 0.6.0), which makes the dump without those commands; for a database installed directly on the server, schedule the dump (cron) into a folder included in the plan.

On a NAS (TrueNAS, Unraid, ZimaOS, CasaOS, Synology, QNAP), the configuration goes on the data disk, not in /etc/arkame: the step by step for each platform is in Containers and NAS.

To change the bucket key later (new key, revoked key), run this on the server: it asks, tests and restarts the agent. On Windows, the panel shows the command for Windows + R.

sudo /usr/local/bin/arkame-agent set-storage-keys --restart

If the installer warned that /usr/local/bin isn't owned by root alone (an Intel Mac with Homebrew, for example), the program is in /opt/arkame/bin:

sudo /opt/arkame/bin/arkame-agent set-storage-keys --restart

Rootless install (Linux or macOS):

~/.local/bin/arkame-agent set-storage-keys \  --restart \  --service-scope user

On Docker:

sudo docker run \  --rm \  -it \  --user 0 \  --security-opt label=disable \  -v /etc/arkame:/etc/arkame \  ghcr.io/arkame-app/arkame-agent:latest set-storage-keys &&sudo docker restart -t 150 arkame-agent

3. Create a backup plan

In Plans → New plan, choose the source agent, the folders to protect, exclusions (globs like *.tmp), the destination storage, and the schedule: daily, every X hours, cron, or on demand. You can cap the bandwidth used by backups.

The first backup is full; the following ones are incremental (changed files only), with SHA-256 integrity verification on every file.

A server can have several plans: for example, a daily one for documents and an hourly one for database dumps. Retention works in tiers, on the GFS (grandfather-father-son) model: daily, weekly and monthly copies, plus quarterly, half-yearly and yearly ones, keeping whole sessions. The tiers come ready in Smart Retention: one copy per day for the last 6 months, one per week up to 1 year, one per month up to 3 years and, after that, quarterly, half-yearly and yearly ones, up to 10 years. You can edit them on each storage. A failed backup or a server that stops reporting sends an email alert.

Databases and Zimbra

The plan has ready-made recipes for PostgreSQL, MySQL and MariaDB, MongoDB and SQL Server: the dump runs before the backup and goes with it. On Zimbra, Arkame agent 0.5.0 exports each account (mail by month, contacts, calendar, settings, filters and signatures) and restores account by account. See databases and applications. Docker containers, NAS included: see containers and NAS.

4. Restore whenever you need

Under Restore you have three modes: Search (by file name), Browse (navigating the folder tree), and Timeline (going back to a point in time). Select files or folders, choose the target agent, the destination folder, and the conflict strategy, then track progress under History.

Files in cold storage. If your bucket archives on its own (a lifecycle rule sending objects to Glacier or Deep Archive after a few days), the object does not come back instantly. Arkame handles it: on restore, it asks the provider to rehydrate, marks the file with a snowflake, shows when it is expected to be ready, and resumes the transfer by itself once it is. You do not have to come back and try again. What nobody can shorten is the provider’s wait: 3 to 5 hours on Glacier and up to 12 on Deep Archive. The storage screen warns you when your bucket has such a rule, before you need it.

Alerts and webhooks

The panel emails you when a backup fails or ends incomplete, and when a server stops responding, to more than one address, if you like. To send the same events to your ticketing system, n8n, Slack, Teams or Telegram, see the webhooks guide.

AI assistants (MCP)

Connect Claude, Cursor, VS Code or another MCP-compatible assistant to your backups with a token of yours: it checks the organization's health, investigates failures and operates plans within limits. See the MCP guide.

Security

  • Bucket credentials exist only on your server (BYOS): the panel never receives them.
  • Each agent has its own identity (Ed25519), manually approved by you.
  • The Arkame agent talks to the panel and to the bucket over HTTPS, and every file’s integrity is checked with SHA-256. On an S3 service you host yourself you set the endpoint, so use HTTPS there too.
  • Sensitive actions are recorded in the organization's history. The screen for you to read that record does not exist yet: for now, Arkame support looks it up on request.

Removing the agent from a server

The command removes the service, the configuration file with the bucket key, the agent’s identity and the program itself from the server. The backups stay in the bucket.

Windows

In Settings → Apps → Installed apps, find "Agente de backup Arkame" (before 0.5.3, "Arkame" followed by "agente de backup") and click Uninstall. Or press Windows + R, paste and Enter (an agent older than 0.3.1 isn’t listed in Apps: use this path after reinstalling):

powershell -Command "Start-Process -Verb RunAs 'C:\Program Files\Arkame\arkame-agent.exe' 'uninstall --pause'"

Linux and macOS

sudo /usr/local/bin/arkame-agent uninstall

If the installer warned that /usr/local/bin isn't owned by root alone (an Intel Mac with Homebrew, for example), the program is in /opt/arkame/bin:

sudo /opt/arkame/bin/arkame-agent uninstall

Rootless install (Linux or macOS):

~/.local/bin/arkame-agent uninstall --service-scope user

Docker

sudo docker stop -t 150 arkame-agent 2>/dev/null; \sudo docker rm arkame-agent 2>/dev/null; \sudo rm -rf /etc/arkame; \sudo docker rmi ghcr.io/arkame-app/arkame-agent:latest 2>/dev/null

Then, in the panel, archive the server (Agents → ⋯ → Archive) so it stops being billed. Its history and backups remain restorable, and the name is free for another machine.

Agent offline: how to recover

If the panel shows an agent as offline (no heartbeat for over 5 minutes), the agent service has likely stopped on the server. Backups, restores and the connection test only run while the agent is active. Use the commands below for your operating system.

First step: run `arkame-agent status` on the server (with sudo and the full path, `/usr/local/bin/arkame-agent`, or `/opt/arkame/bin/arkame-agent` when the installer warned that `/usr/local/bin` isn't owned by root alone, on a root install; `~/.local/bin/arkame-agent` on a rootless install). It shows whether the agent is enrolled, with which panel and which storage. The heartbeat itself shows in the panel; to check whether the service is running, use the command for your system below.

Docker

If you installed with Docker, the agent is the arkame-agent container. Check that it is running, read the last lines of its log and restart it:

sudo docker ps -a --filter name=arkame-agentsudo docker logs --tail 50 arkame-agentsudo docker restart -t 150 arkame-agent

Linux: default install (system service, with sudo)

sudo systemctl status arkame-agentsudo systemctl restart arkame-agentsudo journalctl -u arkame-agent -n 50

Linux: per-user install

Here the commands are without sudo: sudo systemctl --user queries the root user’s services, not yours. Use list-unit-files (not list-units, which hides stopped services) to find the name:

systemctl --user list-unit-files 'arkame-agent*'   # finds the name (shows stopped ones)systemctl --user restart <service-name>journalctl --user -u <service-name> -n 50

macOS (launchd)

sudo launchctl print system/app.arkame.agentsudo launchctl kickstart -k system/app.arkame.agent

macOS: install without sudo (user agent)

launchctl list | grep app.arkame   # finds the name (shows stopped ones)launchctl kickstart -k gui/$(id -u)/<label>

Windows

The agent runs as a Windows service (arkame-agent). To restart it, press Windows + R, paste and Enter; click Yes when Windows asks for permission:

powershell -Command "Start-Process -Verb RunAs powershell '-Command Restart-Service arkame-agent'"

If the service no longer exists (for example, the machine was reinstalled), generate a new command under Agents → ⋯ menu → "Reinstall (new token)" and run it again.

Still have questions? The help center inside the panel has the full walkthrough.

Open the panel