BackupSafe documentation
Everything you need to protect workstations, servers, NAS devices and databases with BackupSafe. This guide covers agent version 4.8 and the web console.
Getting started
Most people go from sign-up to a running first backup in under ten minutes. The process is the same on every platform:
- Create an account. Sign up with your work email and choose a primary storage region — Frankfurt, Amsterdam or Helsinki. The region can't be changed later without re-uploading data, so pick the one closest to most of your devices.
- Install the agent. In the console, open Devices → Add device and download the installer for your platform. Installers are signed: Authenticode on Windows, notarized on macOS, and GPG-signed packages on Linux.
- Set your encryption passphrase. On first launch the agent asks for a passphrase. It is used to derive your encryption key locally and is never sent to us. See Encryption & keys.
- Create a backup plan. The agent suggests a default plan that covers user folders (Documents, Desktop, Pictures and similar) and excludes caches, temporary files and system directories. Review it, press Start backup, and the first upload begins in the background.
The first backup is always the longest. After that, only changed blocks are uploaded, and a typical workstation produces a few hundred megabytes per day.
Deploying to many devices
On Business and Enterprise plans, generate a deployment token under Settings → Deployment. The token enrolls devices into your organization and assigns them a default plan, so users don't have to sign in.
# Windows (MSI, silent)
> msiexec /i backupsafe-agent-4.8.2-x64.msi /qn TOKEN=dpl_XXXXXXXX PLAN=workstation
# macOS (PKG via MDM) — token is read from a configuration profile
$ sudo installer -pkg backupsafe-agent-4.8.2.pkg -target /
# Linux
$ sudo apt install ./backupsafe-agent_4.8.2_amd64.deb
$ sudo backupsafe enroll --token dpl_XXXXXXXX --plan server-default
Backup plans
A backup plan defines what is backed up, when, and for how long versions are kept. A device can have several plans — for example, one for user documents and another for a database.
Sources
Sources can be folders, whole volumes, external drives, network shares (SMB/NFS), Docker volumes, virtual machines or databases. External USB drives are identified by their volume ID, so they are picked up again whenever they're reconnected, even under a different drive letter.
Schedule
| Mode | How it works | Best for |
|---|---|---|
| Continuous | File system changes are watched and uploaded within ~5 minutes | Laptops and workstations |
| Interval | Every 15 min, 1 h, 4 h or 12 h | File servers, NAS shares |
| Daily / weekly | At a fixed time, with optional wake-from-sleep | Large volumes, VMs |
| Manual | Only when started from the agent, console or CLI | Archives, one-off jobs |
Exclusions
Exclusions use glob patterns. ** matches any number of directories, * matches within one path segment. The default exclusion list skips node_modules, .cache, browser caches, virtual memory files and the system recycle bin. Files larger than 50 GB are skipped unless you raise max_file_size.
Bandwidth limits
By default the agent uses up to 80% of available upstream bandwidth and backs off when other applications need the network. You can set a hard limit and a schedule — for example, 5 MB/s during office hours and unlimited at night.
Retention presets
| Preset | Hourly | Daily | Weekly | Monthly |
|---|---|---|---|---|
| Standard | 24 hours | 30 days | 12 weeks | 12 months |
| Extended (Pro, Business) | 48 hours | 90 days | 52 weeks | Unlimited |
| Compliance (Business) | — | 90 days | 52 weeks | 7 years, immutable |
On the Personal plan, versions older than 12 months are pruned automatically. Deleted files are kept for the same period as their last version.
Encryption & keys
All data is encrypted on the device before upload with AES-256-GCM. Each file is split into variable-size chunks, and every chunk is encrypted with its own nonce. The master key is derived from your passphrase with Argon2id and never leaves your devices in readable form.
Passphrase
Choose a passphrase of at least 12 characters. You'll need it when adding a new device to an existing backup set or restoring on a new machine. Changing the passphrase re-wraps the master key; existing data does not need to be re-uploaded.
Recovery key
During setup you can generate a 24-word recovery key. Print it or store it in a password manager. It can unlock your backups if the passphrase is lost.
We can't reset your passphrase. Without the passphrase or the recovery key, encrypted backups cannot be decrypted by anyone, including BackupSafe support.
Key escrow (Business)
Organizations can enable key escrow so administrators can restore company devices when an employee leaves. Escrowed keys are wrapped with an organization key held by at least two administrators; every use is recorded in the audit log.
Restoring files
From the web console
Open Restore, pick a device and browse its snapshots. Single files and folders up to 10 GB can be downloaded directly; larger selections are prepared as a ZIP archive and you'll get an email when it's ready. Because decryption happens in your browser, you'll be asked for the passphrase.
From the agent
In the desktop agent, choose Restore or press Ctrl+Shift+R (⌘+⇧+R on macOS). You can restore to the original location, overwrite or keep both versions, or restore to a different folder.
Point-in-time
Use the timeline slider to see a folder exactly as it was at any moment covered by your retention policy. This is the fastest way to undo ransomware damage: pick the last snapshot before the files were encrypted and restore the whole tree.
Bootable recovery image
On Pro and Business plans you can create recovery media under Devices → Recovery media. Write the ISO to a USB stick, boot the replacement machine from it, sign in, and restore a full system image — including the operating system, applications and settings — to new hardware.
Agent configuration
Most settings are managed from the console and synced to devices. For servers and headless machines, the agent also reads a local configuration file:
| OS | Path |
|---|---|
| Linux | /etc/backupsafe/agent.toml |
| Windows | C:\ProgramData\BackupSafe\agent.toml |
| macOS | /Library/Application Support/BackupSafe/agent.toml |
# agent.toml — settings here override console defaults
[agent]
region = "fra-2"
log_level = "info"
cache_dir = "/var/cache/backupsafe"
[network]
upload_limit = "20MB/s"
upload_limit_schedule = "Mon-Fri 08:00-19:00"
proxy = ""
[[plan]]
name = "server-files"
sources = ["/srv/projects", "/etc"]
exclude = ["**/.cache", "**/node_modules", "*.tmp"]
schedule = "every 4h"
retention = "extended"
Run backupsafe config check after editing the file. The agent reloads the configuration automatically within a minute.
CLI reference
The backupsafe command is installed together with the agent on every platform and talks to the local agent service. All commands accept --json for machine-readable output.
backupsafe login
$ backupsafe login
Email: anna@example.com
Password: ••••••••••••
2FA code: 482 913
✓ Signed in as anna@example.com
backupsafe status
$ backupsafe status
Agent 4.8.2 (linux/amd64)
Device nas-office-01 (dev_7Hq2kP9x)
Region fra-2
Encryption AES-256-GCM, key: local
Plans 2 active, 0 paused
Last backup 2026-11-27 23:00 UTC completed in 6m12s
Next backup 2026-11-28 03:00 UTC
✓ Healthy
backupsafe backup run
$ backupsafe backup run --plan server-files
scanning /srv/projects, /etc 412,880 files
changed 1,204 files 6.3 GB
dedup 6.3 GB → 742 MB (88.2% saved)
upload 742 MB → fra-2 61.0 MB/s
✓ snapshot 3c9e04ab created in 1m48s
backupsafe plans list / show
$ backupsafe plans list
NAME SCHEDULE RETENTION SOURCES LAST RUN
server-files every 4h extended 2 23:00 ok
pg-prod hourly compliance 1 23:30 ok
$ backupsafe plans show pg-prod
name: pg-prod
type: postgresql (pg_basebackup + WAL)
schedule: hourly, WAL streamed continuously
retention: compliance (immutable)
backupsafe snapshots list
$ backupsafe snapshots list --plan server-files --last 4
ID TIME (UTC) SIZE FILES TAGS
3c9e04ab 2026-11-27 23:00 742 MB 412,880 scheduled
a17f2d90 2026-11-27 19:00 318 MB 412,301 scheduled
e04b55c1 2026-11-27 15:00 1.1 GB 412,117 scheduled
9b2a7e3f 2026-11-27 11:00 205 MB 411,986 manual
backupsafe restore
$ backupsafe restore a17f2d90 /srv/projects/acme-rebrand --target /tmp/restore
restoring 2,318 files, 4.7 GB
download fra-2 → local 94.2 MB/s
✓ restored to /tmp/restore/acme-rebrand in 58s
backupsafe mount
Mounts a snapshot as a read-only file system (FUSE on Linux and macOS, a virtual drive on Windows). Useful for browsing or copying a few files without a full restore.
$ backupsafe mount 3c9e04ab /mnt/snapshot
✓ mounted read-only at /mnt/snapshot — press Ctrl+C to unmount
backupsafe logs and version
$ backupsafe logs --since 1h --level warn
2026-11-27 23:02:14 WARN skipped /srv/projects/tmp/render.lock (file locked)
$ backupsafe logs --bundle
✓ wrote diagnostics bundle to ./backupsafe-diag-20261128.zip (no file contents included)
$ backupsafe version
backupsafe 4.8.2 (build 20261112.1, go1.23, linux/amd64)
Global flags
| Flag | Description |
|---|---|
--json | Output as JSON |
--plan NAME | Limit the command to one plan |
--quiet | Print errors only — handy in cron jobs |
--config PATH | Use a configuration file other than the default |
REST API
The REST API lets you integrate BackupSafe with monitoring, ticketing and inventory systems. It's available on Business and Enterprise plans.
- Base URL:
https://backup-safe.cloud/api/v1 - Authentication: Bearer tokens created in Settings → API tokens. Tokens can be read-only or read-write and are scoped to one organization.
- Rate limits: 600 requests per minute per token. The current state is returned in
X-RateLimit-LimitandX-RateLimit-Remainingheaders; exceeding the limit returns429. - Pagination: list endpoints return up to 100 items and a
next_cursorvalue.
$ curl -H "Authorization: Bearer $TOKEN" https://backup-safe.cloud/api/v1/devices
A successful response:
{
"data": [
{
"id": "dev_7Hq2kP9x",
"name": "nas-office-01",
"platform": "linux",
"agent_version": "4.8.2",
"region": "fra-2",
"status": "ok",
"last_backup_at": "2026-11-27T23:06:12Z",
"protected_bytes": 1330210887680
}
],
"next_cursor": null
}
Requests without a valid token are rejected with 401:
HTTP/2 401
content-type: application/json
{"error":"unauthorized","message":"Authentication required."}
| Endpoint | Description |
|---|---|
GET /devices | List devices and their backup status |
GET /devices/:id | Device details, plans and last errors |
GET /plans | Backup plans in the organization |
GET /snapshots?device=:id | Snapshots of a device |
POST /restores | Start a restore job to a device |
GET /reports/usage | Storage usage per device and plan |
NAS devices
Native packages run directly on the NAS, so no separate computer is needed. Download them from Devices → Add device → NAS in the console.
- Synology DSM 7.1+ — install the
.spkpackage via Package Center → Manual install. On Btrfs volumes the package takes a local snapshot before each run for a consistent backup of open files. - QNAP QTS 5.0+ — install the
.qpkgthrough App Center → Install manually. Both x86_64 and ARM64 models are supported.
Current NAS package version is 2.3.1. Shares from other NAS models can be backed up over SMB or NFS from any machine running the agent.
Databases
| Database | Versions | Method | Point-in-time |
|---|---|---|---|
| PostgreSQL | 12–17 | pg_basebackup + WAL streaming | Yes |
| MySQL / MariaDB | 8.0+ / 10.6+ | Consistent snapshot + binary log | Yes |
| Microsoft SQL Server | 2017+ | VSS writer, full + log backups | Yes |
For anything else — or to quiesce an application before a file-level backup — use pre and post hooks. A non-zero exit code from the pre hook aborts the run and raises an alert.
[[plan]]
name = "app-uploads"
sources = ["/var/lib/app/uploads"]
schedule = "every 1h"
[plan.hooks]
pre = "/usr/local/bin/app-maintenance on"
post = "/usr/local/bin/app-maintenance off"
timeout = "5m"
Troubleshooting
| Code | Meaning | What to do |
|---|---|---|
E1001 | Authentication failed | Sign in again with backupsafe login; check that the device wasn't removed in the console. |
E1203 | Passphrase doesn't match this backup set | Use the passphrase set on the first device, or the recovery key. |
E2004 | Source not accessible | On macOS grant Full Disk Access to the agent; on Linux check permissions of the service user. |
E3010 | Storage quota exceeded | Add storage, shorten retention, or exclude large folders. |
E4002 | Network timeout | Check firewall and proxy settings; HTTPS inspection proxies must allow the agent's certificate pinning. |
E5001 | VSS snapshot failed (Windows) | Run vssadmin list writers and restart services whose writer is in a failed state. |
If a backup keeps failing, backupsafe logs --bundle collects logs and configuration (but never file contents or keys) into a ZIP you can send to support.
Support
Email support@backup-safe.cloud or use the chat in the web console. Our team answers Monday to Friday, 08:00–20:00 CET; Business and Enterprise customers can report critical incidents 24/7. Check the status page for ongoing incidents and the changelog for recent releases.