Getting started

From an empty Linux host to your first signed restore test, step by step. Plan about 30 minutes; most of it is waiting for the first restore. The screenshots come from a demo install with example databases.

1. Before you start

You need a Linux host inside your network, dedicated to Restorly (all the details: Supported databases and requirements):

Minimum
CPU and memory4 vCPU, 8 GB RAM (more lets Restorly test several backups at once)
SystemLinux on x86_64 or arm64
ContainersDocker Engine 24+, or Podman 5
Diskroom for the largest restore; restorly preflight works it out from your real backups
Networkread access to where your backups are (NAS, SFTP host, S3 bucket, local disk)
Databasesbackups from every version their makers still support or Ubuntu 24.04 or 26.04 ships (a series ending in .x with every minor release): MariaDB 10.11, 11.4, 11.8, 12.x and 13.x, MySQL 8.0, 8.4, 9.x and 26.x, PostgreSQL 15, 16, 17 and 18, MongoDB 7.0, 8.x and 9.x, SQL Server 2017, 2019, 2022 and 2025

Backups from other versions are not restored: the run says so and links to a page where you ask for your version. Versions are added as customers ask. MongoDB 8.0 and 8.3 do not start on Linux 6.19 and newer (MongoDB's SERVER-121912): their backups are restored with MongoDB 8.2. MongoDB 9.0 needs a CPU with x86-64-v3 (AVX2, FMA, F16C), which some virtual machines hide (VirtualBox does). The host readiness check says whether this host can restore each database's version before its first run (Runners → Host readiness).

Install the container engine from your distribution, Docker or Podman:

Docker

DistributionCommand
Debian 13sudo apt install docker.io docker-cli
Ubuntu 24.04sudo apt install docker.io
RHEL, Rocky, Alma 9Docker's packages: docs.docker.com/engine/install/rhel, then sudo systemctl enable --now docker
OthersDocker's own packages: docs.docker.com/engine/install

Podman

DistributionCommand
RHEL, Rocky, Alma 9 and 10sudo dnf install podman
Debian 13sudo apt install podman

Restorly needs Podman 5 or newer, run as root (the system service, not rootless). It uses Podman's Docker-compatible API on the system socket, /run/podman/podman.sock, and finds it by itself; step 2 lets the restorly service use it. On Ubuntu, use Docker: Ubuntu's AppArmor profile for Podman's runtime keeps the database images from starting under Restorly's restrictions, and restorly preflight says so.

Access to the container engine is equivalent to root on that host, which is why the host should do nothing else.

2. Install Restorly

curl -fsSLO https://get.restorly.eu/install.sh
less install.sh            # read it first
sudo sh install.sh

The installer adds the signed Restorly package repository (apt or dnf/yum) or, elsewhere, installs the signed tarball. It verifies every signature before installing anything.

The package creates the restorly user, /etc/restorly and the master key /etc/restorly/master.key. Back up the master key now: without it, the stored passwords and the report-signing key cannot be recovered.

Let the service start containers, then start it:

Docker

sudo usermod -aG docker restorly
sudo systemctl enable --now restorly

Podman

Give Podman's socket to the restorly group, then start both:

sudo mkdir -p /etc/systemd/system/podman.socket.d
printf '[Socket]\nSocketGroup=restorly\n' | sudo tee /etc/systemd/system/podman.socket.d/restorly.conf >/dev/null
sudo systemctl daemon-reload
sudo systemctl enable podman.socket && sudo systemctl restart podman.socket
sudo systemctl enable --now restorly

Restores run in Podman as root (rootful Podman), as they do in Docker; SELinux may stay enforcing. sudo restorly preflight names Podman on its engine line.

3. Open the panel

The panel is served on port 8420 over HTTPS, with a self-signed certificate. A new install answers on the host itself only; to open the panel from your computer, let it listen on your network. In /etc/restorly/config.yaml, change the listen address. Edit the file as the service user, which owns it (sudo -u restorly vi /etc/restorly/config.yaml, or nano): on Debian 13 and Ubuntu 26.04, an editor run as root may not write a file another user owns in that directory.

agent:
  listen: 0.0.0.0:8420        # or one of the host's addresses, e.g. 10.0.0.40:8420
  tls_self_signed: true

and reload the service:

sudo systemctl reload restorly

If the host runs a firewall, open the port (sudo ufw allow 8420/tcp, or sudo firewall-cmd --permanent --add-port=8420/tcp and sudo firewall-cmd --reload); only admins need it, so allow it from your management network if you can. Then open https://validator-01:8420 (the host's name or address). The browser warns about the self-signed certificate: compare the fingerprint it shows with sudo restorly panel cert, or install your own certificate later in Settings → General.

Create the first admin with a one-time code from the host:

sudo restorly panel setup-code

See it work first: example databases

Before you set up a database of your own, the Overview offers Add examples: six small MariaDB databases whose backups Restorly writes on this host, each showing one thing a validation reports. One passes, one is damaged, one restores with wrong data, one warns that it shrank, one is too old and one looks encrypted by ransomware. Their first run downloads the MariaDB image (about 150 MB); the runs take a few minutes.

They are marked Example everywhere. They never count towards your plan's databases, send no alerts and stay out of your monthly and evidence reports. Their reports are signed but not part of the hash chain. Remove examples on the Overview takes them out with their reports. On the command line: sudo restorly examples deploy and sudo restorly examples remove, then sudo systemctl reload restorly.

4. The setup wizard

After creating the first admin you set up two-factor sign-in (an authenticator app; keep the recovery codes), then Continue to the setup wizard. Each step is checked before you go on, your progress is saved, and nothing is written until the last step.

Licence

Upload the licence file you bought (on your licence page, download it for the installation ID this step shows; the file lasts 30 days, and with online licensing the host renews it by itself), or start a free trial with your name, work email and company, ticking the box to accept the licence terms (the host needs to reach licence.restorly.eu; we email a 6-digit code to confirm the address; see Start your free trial).

The licence step

Admin and two-factor sign-in

Admins sign in with a password and a code from an authenticator app. Set the app up here; keep the recovery codes somewhere safe.

The admin step

Preflight

Restorly checks the container engine, disk, memory and the clock. Fix anything marked as failed before you go on; Check again re-runs the checks.

The preflight step

Runners

A runner does the restores. The built-in one, on this host, is enough to start with; add runners at other sites later (Runners → Add a runner).

The runners step

Storage: where your backups are

Choose the type and fill in where to find the backups, then Test connection. Restorly lists what it finds.

TypeExample
Directory on this host/mnt/nas/backups (also NFS or SMB shares mounted on the host)
SMB sharehost nas.example.internal, share backups
SFTPhost backup.example.internal, user restorly; Restorly shows its own SSH key to add on the NAS
S3-compatibleprovider (AWS, Cloudflare R2, Google Cloud Storage, Backblaze B2, Wasabi, MinIO), bucket and keys

The storage step

Credentials

Passwords and keys for the storage, stored encrypted with the master key. A directory on the host needs none.

The credentials step

Database

Give the database a name, choose the engine, the directory and the file-name pattern of its backups. The live preview shows which files match and which one is the newest: that is the one Restorly will test.

Backup filesPattern
webshop-2026-10-03_0300.sql.gzwebshop-{YYYY}-{MM}-{DD}_{hh}{mm}.sql.gz
crm-20261003.dumpcrm-{YYYY}{MM}{DD}.dump
inventory-2026-10-03.sql.zstinventory-{YYYY}-{MM}-{DD}.sql.zst

The database step

Checks

The built-in checks cover integrity, the restore and consistency. Add your own SQL checks with an expected result; they run read-only on the restored copy, never on production. For example, "the newest order is less than 24 hours old":

SELECT TIMESTAMPDIFF(HOUR, MAX(created_at), NOW()) FROM orders

with Expect <= and Value 24.

The checks step

Schedule

When to test: daily at a time, every few hours, weekly, or a cron expression. Pick a time after your backups usually finish.

The schedule step

Backup (optional)

Restorly can also take the backups, with a read-only backup user, and test each one right after it is written. Skip this step if you already have a backup tool. See Backup mode.

The backup step

Notifications

Where to hear about failures, recoveries and a weekly summary: email, Slack, Microsoft Teams or a webhook.

The notifications step

Review

The summary and the exact configuration change are shown before anything is written. Create saves it, and the schedule starts.

The review step

5. Your first test

The overview shows every database with its last result, and What needs you lists anything that failed or looks wrong.

The overview

Open a database and choose Run now. Restorly finds the newest backup, checks it, restores it into a throwaway container of the matching version, runs the checks and signs the report. The first run downloads the database image, so it takes longer.

A database

The run page shows every check with what was expected and what was found, the stages, and the signature. Signed JSON and PDF download the report; anyone you send it to can check it is genuine at restorly.eu/verify, in a browser, or with restorly report verify.

A run

From the command line:

sudo restorly run --target webshop
sudo restorly report verify /var/lib/restorly/reports/webshop/*.json
sudo restorly report key       # the key ID to give your auditors

6. Reports for auditors and clients

Reports has a monthly PDF per database (and per client, for IT providers), the history, and the evidence report for NIS2, ISO 27001 and DORA (with BSI IT-Grundschutz's rows too) that maps your signed restore tests to the backup controls. Verify a report checks any JSON or PDF report.

Reports

7. People and teams

Add people in Settings → Users, with a role: viewer (sees), operator (also runs tests) or admin (everything). Settings → Teams gives a group of people access to chosen clients or databases only, and extra rights such as managing databases, backup locations or runners. See Using the panel.

Settings: users

Settings: teams

Everyone finds their own access, two-factor sign-in, password and signed-in browsers under the menu behind their initials → Account and two-factor.

Your account

8. Your licence

  • Buy at licence.restorly.eu: create an account (name, company, work email; you sign in with a code we email), choose a plan, pay by card. Your licences, invoices and add-ons are under Account.
  • Change plan on the licence page, at once: a dearer plan is charged for the rest of the period and the licence grows once it is paid; a cheaper one is credited to your next invoices and the licence is reduced at once (you see first what stops). Switching between monthly and yearly billing starts a new period that day.
  • With online licensing, on by default, the host renews its licence by itself once a day. Otherwise (switched off, or agent.network: offline), renew it from a script once a day, or download the file again and install it in Settings → Licence: see Renewing the licence from a script.
  • A licence is active on one installation. Moving to a new server? On the licence page, Release this installation, then start the new one.
  • Renew early, lose nothing: a renewed licence continues from the end date of the one it replaces, so install it as soon as you have it. Before a licence replaces another, Restorly shows what changes and asks first if it ends earlier or is for another customer, and when it is a smaller licence: the features you have now that it does not include, what you use beyond its limits, and exactly what stops (databases no longer validated, checks that no longer run). The replaced file is kept as license.previous.json. For monitoring, the metric restorly_license_days_left and reminders 30, 14, 7 and 1 days before the end (14, 7 and 1 for a file of a month or less).
  • Licence files last 30 days: with online licensing the host renews its file by itself until the paid period ends (Settings → Licence shows Paid until). Without it, renew it from a script (below) or download a new file from your licence page each month; for a server that can never reach the licence server, ask sales@restorly.eu for a yearly offline licence.
  • If a licence lapses, new restore tests and new backups stop; your reports and existing backups always stay available.

Renewing the licence from a script

An installation that does not renew its licence by itself can be renewed by your own automation, once a day. Settings → Licence → Renew it from a script shows the commands with your licence's and your installation's IDs filled in.

  • On the server, when it reaches licence.restorly.eu (directly, or through your proxy with HTTPS_PROXY): sudo restorly license renew. It works with agent.network: offline (the agent itself still never calls out), not with the module license.online switched off. For example, as /etc/cron.d/restorly-licence:
    PATH=/usr/local/bin:/usr/bin:/bin
    17 3 * * * root restorly license renew

    It installs what the licence server answers, as the online renewal does: the same licence again changes nothing; a plan you changed on the licence page is installed, saying what it stops; a licence we ended (a refund) is installed ending and the command fails.

  • From another machine that reaches licence.restorly.eu: fetch the file with the command shown there, of this form:
    curl -fsS -H 'Content-Type: application/json' \
      -d '{"install_id":"inst-…","licence":{…the installed licence file…},"licence_id":"lic-…","version":"0.1.19"}' \
      -o license.json https://licence.restorly.eu/v1/lease

    The request carries the installed licence file: the licence server renews only for the licence's holder, so the command shown in Settings is specific to your installation; keep it private like the licence file itself. Then copy license.json to the server and install it with sudo restorly license install license.json. A renewal is installed by itself and the same file again changes nothing; the command fails, for a person to check, on a licence that ends earlier, is another customer's or would stop anything (--yes installs it anyway). curl fails on 404 (a yearly offline licence: renewed by ordering it), 410 (the subscription has ended), 401 (no licence file of this licence in the request) and 403 (the licence was moved to another installation, or a proxy refused).

  • Report seals: reports carry your licence's seal, so whoever you hand a report sees that a genuine licence made it (restorly.eu/verify). With online licensing it comes with each renewal; restorly license renew keeps it too. A script's curl saves only the file: download the report seal from your licence page on the same day as the file and install it like the file (sudo restorly license install <licence>.seal.json, or Settings → Licence).
  • Monitoring: restorly license show --json says when the licence ends:
    {"status": "active", "expires": "2026-11-19T00:00:00Z", "days_left": 30, "online_renewal": false, …}

    A renewal that works keeps days_left above 20 (files change every ten days): alert below 14. With Prometheus, the metric restorly_license_days_left says the same; the REST API has it in GET /api/v1/status.

9. Next

  • More databases, storage and runners: Add a database (Databases), Add a backup location (Locations) and Add a runner (Runners) use the same steps.
  • Many databases' backups in one place? A backup location's Find databases looks through it and proposes one database for each series of backups it finds (engine, version, naming pattern, a nightly validation), added together after you review them; see Finding the databases in a location.
  • Backups copied elsewhere and the 3-2-1 rule, point-in-time restore tests, masked copies for developers: Backup locations and Backup mode.
  • SQL Server: SQL Server. All settings: Configuration file.
  • Stuck? Troubleshooting. For help, run sudo restorly support bundle: it writes a redacted bundle on your host for you to review before you send it to

support@restorly.eu.