Try live demo
Architecture & OperationsBackups by Zonitix
On this page0

Unfamiliar word? See Glossary: words used in these docs. Looking for the tasks in order? Begin at Start Here.

Reference

Backups by Zonitix

What Zonitix stores, where, who can read it, and what happens to it when your contract ends. If you chose to keep backups in your own storage, this page does not apply to you: see Backup, Restore & Updates and Set up backups.

The Choice At Sign-Up

After you pay, the details form asks three things about where your Zonitix lives:

  • Who keeps your backups? Zonitix (recommended: encrypted, automatic, nothing to set up), or your own storage (S3-compatible or Azure, which you set up yourself).
  • Where should your backups live? An AWS region. Asked only when Zonitix keeps them.
  • Where should your server run? A server location.

The form is sent once. To change your choice later, email support.

What Is Stored, And Where

  • Database restore points: the nightly and weekly backups of your database, and the log that sits between them.
  • File archives: the files the database does not hold, such as signed documents, compliance evidence and résumés.
  • Your two recovery keys: the backup key and the app data key, sealed with a key of your own in AWS Key Management Service (KMS).

They are kept in one storage bucket for your company only, in Zonitix’s AWS account, in the region you chose. Nothing about it is shared with another customer.

How It Is Protected

  • Every backup is encrypted on your server, with your backup key, before it leaves the server.
  • The bucket blocks all public access.
  • Your server holds no AWS password. It proves who it is each time with a short-lived token, and it can write its own backups but cannot read the key copy.
  • By default 30 days of daily backups are kept, and each one is locked against deletion for 14 days, so even a stolen login cannot wipe recent copies.

Who Can Read Your Backups

Zonitix can

We hold a recovery copy of your backup key and your app data key. That is what lets us restore your data when you ask, and it also means we could read it. We unlock that copy only for the daily check that it is complete, for a restore you asked for, and when your account owner downloads the keys. Each unlock is recorded.

Only these two keys

The recovery copy holds the backup key and the app data key, nothing else.

If you do not want Zonitix to be able to read your backups, choose your own storage at sign-up.

Downloading Your Recovery Keys

Your account owner can download both keys at any time, from Your Zonitix accountOverviewBackups → “Download my recovery keys”.

  • You confirm with a fresh passkey or authenticator code first.
  • At most 3 downloads a day. Every owner on the account is emailed each time.
  • The keys are shown once, with copy buttons. Store them somewhere safe, away from your server.
  • You can also save them as a locked file. It opens in any browser, offline, and asks for the passphrase you chose (at least 12 characters, typed twice). Lose the passphrase and the file cannot be opened.

With these keys you can read your backups without Zonitix. Keep them as safe as the data itself: anyone with the keys and a backup can read it.

Restores, By Request

  • Your account owner asks for a restore in your Zonitix account: OverviewBackups → “Request a restore”. You pick the backup, or name a file to bring back, and confirm with a passkey or authenticator code.
  • A Zonitix operator approves it. A restore on your running server takes both: your request and our approval.
  • Your server takes a safety backup of what is there now, then restores. If the restore does not complete, it goes back to how it was.
  • If your server is lost, we set up a new one and fill it from your newest backup.

When Your Contract Ends

After your server is removed, we keep your backups for 30 days by default. Then we delete the bucket and schedule your KMS key for deletion (AWS waits at least 7 days). Once that key is gone, the key copy can never be read again. The certificate of deletion records it. Download your recovery keys, and any backup you want to keep, before then.

If something here is not working as you expect, start with When something goes wrong.

The plain explanation is above. This part is for IT and developers: the exact settings, permission names, API addresses and data fields behind it. Closed: select the heading above to open it. While it is closed, your browser’s find-on-page (Ctrl+F or Cmd+F) does not search this part.

AWS Objects Per Customer

Created by the Zonitix store when your server is built, in Zonitix’s AWS account. None of the names is a secret.

ObjectWhat it isHow it is set
S3 bucketOne per customer, named zx-<address>-<8 hex>, in the AWS region chosen at sign-up.Public access blocked. Object Lock on (versioning on), default retention GOVERNANCE for 14 days. Default encryption SSE-S3. Lifecycle: current copies expire after 30 days; old versions one day after they are replaced (the lock still wins).
KMS keyOne per customer, symmetric, alias alias/zx-<address>-backup, same region, yearly rotation on.Your server may only Encrypt and GenerateDataKey with it, never Decrypt. The Zonitix store may Decrypt, for the key download, the daily key check and restores.
Server roleAn IAM role for your server, zx-<address>-backup.Your server signs in to it with a short-lived token it mints itself (web identity, issuer https://<address>-api.zonitix.com), so no AWS key sits on your server. It may write, read, list and delete in its own bucket, except that it may only write the escrow/ folder, never read it. It also carries a fixed permissions boundary that caps it at backup storage, whatever else is ever written on it.
Key copyescrow/recovery-keys.json in the bucket.Your backup key and app data key, with their fingerprints, written by your server and encrypted with your KMS key. Nothing else.

Key Download And Restore Checks

  • The keys are unsealed by the store at the moment of the download and sent to the browser once. They are never kept readable in the store’s database.
  • The locked file is a single HTML page. It derives a key from your passphrase with PBKDF2-SHA256 (600,000 rounds) and decrypts the keys with AES-256-GCM, in your browser.
  • A restore on the same server runs as a signed instruction in the server’s check-in, with the backup named. A restore onto a new server hands the two keys over the build’s one-time channel, never in a build log or a settings file.
  • The fingerprint of each key (the first 4 bytes of a double SHA-256) is compared each day between the key copy and what your server reports.

Related reference