Docs

Storage locations and immutable backups

Keep backups in more than one place, lock them with S3 Object Lock, protect deletions with a recovery window and a second administrator, watch storage growth, keep a healthy local copy, and seed a first backup by carrying the disk.

Tenvara keeps every customer's backups in repositories, and every repository lives in a storage location. You can have several locations, lock a location with S3 Object Lock so its backups cannot be deleted or changed before their time, and copy every repository to a second location on a schedule. Together with soft delete and second-admin approval, this gives you the 3-2-1 setup insurers and auditors ask for.

Storage locations

Open Settings > Backup and the Storage tab. Each location shows its kind, where it points, its repositories and second copies, how much is stored, and whether it has Object Lock. Until one of your locations is immutable, a note at the top of the tab says so. A location is an S3 bucket (Amazon S3, Wasabi, Backblaze B2, MinIO and other S3-compatible storage) or a Folder on the backup server, such as a NAS mount. New repositories go to the Primary location unless a customer's backup policy names another. Each card names the provider it recognised ("S3 bucket on Backblaze B2", or Wasabi, Cloudflare R2, Amazon S3 or MinIO), shows how fast the location lists its contents ("Lists in 120 ms", amber when slow) and Reads failing when reads from it keep failing, with the last error: see Setting up backup, which also covers the lifecycle rules a versioned bucket needs.

The runtime key and the set-up key

The key a location stores is the one the backup service uses every day, and it should be a runtime key: it can write, read, list and re-lock backups, but cannot lift a lock, change the bucket's rules or erase versions. Each location's key is checked when it is saved, when you press Check and once a day. A key that can do more gets a warning on its card, "This location's key can do more than the service needs", listing what it can do, with the policy to give a runtime key and Swap to a runtime key: make the key, edit the location with it (the same bucket, so nothing moves), and the warning goes on save.

Changes to a bucket's own configuration (its lifecycle rules, versioning, Object Lock) take a set-up key, entered in a Set-up key box when a step asks for one, used for that step and never stored or logged. Nothing on a schedule changes a bucket: where a rule is missing the card says it needs the set-up key once. See Storage keys: the runtime key and the set-up key.

Adding an S3 storage location with Object Lock
Adding an S3 storage location with Object Lock

Adding a location

  1. On the Storage tab, press Add location.
  2. Enter a Name that says what it is, for example "Wasabi London (immutable)".
  3. Choose the Kind.
  4. For an S3 bucket, enter the Endpoint (host and port, without https://), Bucket, Region, an optional Prefix (a folder inside the bucket), the Access key and Secret key. Leave Use HTTPS and Check the certificate on unless your storage needs otherwise.
  5. Choose the S3 Object Lock setting (below).
  6. Press Check to test the bucket, then Add location.

Credentials are stored encrypted. Check on a location tests it again, and its menu has Edit, Change Object Lock... and Remove (only for a location with nothing on it and not in the copy list). Any location but the primary also has Make primary.

Storage growth and forecasts

Each folder location's card on the Storage tab shows the disk's free space and a forecast from the last 30 days, for example "Full in about 120 days (3 Feb) at 4.8 GB a day", or that there is not enough history yet (it needs 7 days). S3 locations have no free space to forecast against.

Storage growth on the Backup overview shows the customers whose backups grew most, and the same card on a customer's Backup tab shows that customer's devices and tenants that grew most. Each has what is stored and what backups sent each day, over 30 or 90 days.

A customer's storage growth with the devices and tenants that grew most
A customer's storage growth with the devices and tenants that grew most

Where a customer's backups go

On the customer's Backup tab, press Change under Schedule and retention: the storage part sets New backups kept in and Second copy (or no copy) for that customer. Existing repositories stay where they are. Changing a customer's storage waits for a second administrator.

Immutable backups with S3 Object Lock

An S3 location can lock what it holds. Every piece of backup data written there gets a retention date, and until then nobody can delete or overwrite it: not Tenvara, not someone with a stolen access key, and in compliance mode not even the bucket's owner. Locks on data still in use are renewed after full maintenance, only for the blobs near their lock's end, and a second copy's locks are renewed after each copy. See Object Lock renewals and a lock that is off.

Choosing the Object Lock mode and how long each blob is locked
Choosing the Object Lock mode and how long each blob is locked
Mode What it means
Compliance Nobody can delete or change a blob before its time, not even the bucket's root account. Best against ransomware
Governance Locked for everyone except accounts with the bypass permission. Easier to undo a mistake
No lock Backups can be deleted with the storage keys

Lock each blob for (days) is 14 to 3,650. To use Object Lock you need your own S3 bucket created with Object Lock turned on (it cannot be added later) and versioning on. Tenvara checks the bucket before it applies a lock, including that a test object really refuses deletion, and says what to fix if anything is wrong. A step that has to change the bucket asks for the set-up key.

Until a repository is on a location locked in compliance mode, the Storage tab names the repositories that are not, up to eight with links.

To lock an existing location, open its ... menu, choose Change Object Lock..., pick the mode and days, and press Apply lock. A stronger lock applies straight away. Weakening one (a shorter period, governance after compliance, or no lock) waits for a second administrator, and locks already written stay until they run out. With second-person approval off, the dialog says so and its button reads Weaken the lock.

A lock that is off is never silent

A location that holds backups and has no Object Lock, or whose lock was weakened, carries a warning on its card, on each repository kept there and on every tenant's, customer's and device's backup page whose backups or second copy are there. After a weakening it says when and by whom, what the lock was, and how many blobs lose their lock and by when; nothing is renewed while the lock is off, and nothing re-locks by itself. One warning alert is raised. If it was deliberate (a testing period, say), an administrator presses This is deliberate... on the card and gives a note: the alert is resolved and the warnings stay, quieter, with who acknowledged it and why.

Folder locations are not locked, so use an S3 bucket with Object Lock for the copy you want to be untouchable.

Rolling a repository back after an attack

On a versioned S3 location, Roll back storage on a repository in Backup > Repositories returns it to how it was at a chosen time: deleted pieces come back and overwritten ones return to their earlier version. Preview shows what would change first, and a rollback can itself be undone.

Scanning restores for ransomware and malware

Immutable storage stops attackers destroying your backups; scanning stops you restoring their malware. Every restore to a device or Microsoft 365 tenant is checked against known bad hashes and scanned with ClamAV first, and held if anything is found. See Malware scans before a restore.

Second copies

Every repository can be copied to a second location on a schedule. On the Protection tab, under Second copies, you keep an ordered list of Copy locations, and each repository copies to the first location in the list that is not its own, so repositories on either location are copied to the other. The card names your Primary location (where new repositories are made) and Secondary location, shows which repositories copy where, and lists any with no second copy in amber with the reason. Copy at most every (hours) (24 by default) and Alert when a copy is behind by (hours) (48 by default) sit below the list. See Second copies and the copy list for the list, Make primary and checking a copy.

The copy is a complete repository in its own right, so it can be restored from even if the first location is gone. A copy sends only what is new since the last one, and once a week it is checked blob by blob against the source. If the source suddenly looks wiped (more than half would go), the copy deletes nothing and says why. A locked copy location locks what is written there.

Backup > Repositories lists every repository with its Customer, Health, Location and Copies to (the location its second copy goes to, or No second copy in amber), with filters for Object Lock, Second copy, Last test restore and Device retired. Click one to open its panel, where you can press Copy now, or Use the copy instead when the first location is lost or retired: the repository then lives on the copy's location. The panel also shows the repository's health, its maintenance and verification: see Repository health, healing and verification.

Repositories with their customer, health, location and where each copies to
Repositories with their customer, health, location and where each copies to

A copy that falls behind while newer backups exist raises a warning alert, which clears with the next good copy.

Retired devices' backups

A retired device keeps its backups until retention ends. Its repository's second copy then shows in Backup > Jobs as "Second copy of 's kept backups (device retired)", so it never reads as the device still being backed up.

  • Copy backups of retired devices on the Protection tab (on by default) decides whether those backups stay in the second copy. Turn it off to keep them on the first location only. A copy made before stays until the backups are deleted or their kept points run out. Turning it off weakens protection, so it asks for a second administrator's approval like stopping a copy does.
  • A customer can choose otherwise on its Backup tab: Copy backups of retired devices is Copied, Not copied (kept on the first location only) or the default.
  • Backup > Repositories marks a retired device's repository Device retired with the date and, on hover, the date its kept points run out. The Retired devices view lists them, and the Second copy column reads Not copied: device retired when they stay on the first location only.
  • To tidy several up at once, select them and press Delete these backups, then type the count to confirm. Each goes the way deleting one repository does: nothing may be backing up into it, no legal hold or running job, into Backup > Recycle bin for the recovery window, and a second administrator's approval when one is required. Repositories of devices that are not retired are skipped, and the result says so.

When the kept points run out, retention leaves only the newest backup of each volume or folder until someone deletes it.

Local copies

A device can keep a local copy of its backups on its own disk or a share it can write to, set in the device's backup settings (see Protecting devices). Its state shows in the device's Backup section:

  • Healthy: the local copy is up to date.
  • Seeding: backups are written to the local copy first and uploaded afterwards, with how much is still to upload.
  • Problem: the local copy could not be opened or written, with the error. Backups still reach the server meanwhile.
A device's local copy seeding, with how much is left to upload
A device's local copy seeding, with how much is left to upload

A problem that lasts longer than Local copy alert after (24 hours by default, in Settings > Backup > Defaults) raises a warning alert, which clears once the local copy is healthy or seeding again. While a device is still seeding, the restore sheet warns that only a restore on the device itself can read the newest backups until they reach the server.

Seeding a first backup by carrying the disk

For a site whose line would take days to send a first full backup, write the first backup to a removable disk at disk speed and carry the disk to the backup server.

  1. In the device's backup settings, turn on Local copy, give a folder on the removable disk (for example F:\BackupSeed) and choose Seed first. Optionally set a bandwidth limit so the background upload does not fill the line.

  2. Press Back up now. The backup is written to the disk, and the device shows Seeding with how much is still to upload.

  3. Unplug the disk (the local copy shows Problem while it is away) and take it to the backup server. Mount it read-only and import it into the device's repository, using the device's id from its page's address:

    docker compose run --rm -v /media/seed/BackupSeed:/seed:ro backup import-seed --device 328 --from /seed
    

    Add --dry-run first to see what it would copy. The import checks the folder belongs to this device's repository, copies only what the server does not have, and records it in the device's activity.

  4. Take the disk back and plug it in. The device finds its backup already on the server and the local copy goes from Seeding to Healthy without sending it again.

  5. Switch the local copy to Mirror, or off. Later backups send only what changed.

Deleting safely

The recovery window

What someone deletes in Tenvara (a recovery point, a Microsoft 365 item's backups, a device's backups or a whole repository) is not removed straight away. It moves to Backup > Recycle bin for the Recovery window (days), 14 by default (set on the Protection tab under Deleting and approvals), with who deleted it, why and when it will be purged. Restore brings it back as it was. When the window ends it is purged for good.

The Recycle bin with a deleted backup kept for the recovery window
The Recycle bin with a deleted backup kept for the recovery window

Deleting needs the Delete switch for Backup in the person's role. An erased customer's backups go the same way: through this delete, with the second administrator and the recovery window still applying, and a legal hold refuses it.

Second-person approval

With Second-person approval on (the Protection tab), destructive actions wait for another administrator:

  • deleting a repository or purging a deletion before its window ends;
  • shortening retention, in the defaults or a customer's policy;
  • weakening or removing an Object Lock;
  • weakening these protections (copies off, a shorter recovery window, approvals or scanning off);
  • changing a customer's storage;
  • restoring files the malware scan flagged.

Downloading a recovery copy of the encryption key has its own approval switch on the Status tab.

Other administrators get a notification that opens Backup > Approvals, where they approve (the action runs, with both names in the activity log) or reject it. Requests lapse after 72 hours by default. With no other active administrator, the action runs at once and the activity says so.

If second-person approval is switched off, the Protection tab keeps saying so, with since when and who switched it off, so nobody assumes destructive actions still wait.

Was this page helpful?

Thanks for the feedback.