Skip to content

Backups encrypted with your own key

Your operator can configure encrypted server backup archives for a dedicated installation. This is available only after the operator has configured and checked it. An application logo, your own domain, or a notification key does not enable backup encryption.

On shared hosting, a whole-server archive can contain several organizations. Its encryption key belongs to the server operator. Ask for an organization export rather than another customer’s data or a whole-server archive.

The same rule applies when a reseller or telecom carrier operates the shared installation: the whole-server copy uses that operator’s key. An individual organization’s key cannot replace it. A whole-installation archive encrypted with your organization’s key requires a dedicated installation.

Before handing over a key, agree with your operator on:

  • Which data is included: the database, local files and configuration, and which external files, telephone recordings and other services need separate copies.
  • Who creates and monitors backups, stores copies away from the source server, and keeps the private restoration key.
  • How much recent data may be lost and how long restoration may take.
  • Who will restore the service if either your administrator or operator is unavailable.

A configured schedule or a successful checksum check does not prove that the complete service can be restored. Ask for a restoration test and its scope.

The backup producer uses an age public recipient to encrypt an archive. Your private restoration identity is used to decrypt it on the restoration host. Keep the private identity in your approved secure storage, separately from the backup-producing server. Give the operator the public recipient through your agreed channel, and confirm that the configured recipient matches it.

Do not put a private identity in a chat message, support ticket, or an application branding profile. Arrange an authorized recovery custodian and check that they can obtain the identity when needed. Having only the public recipient is not enough to restore an encrypted archive.

Agree on an independent backup location and a period during which stored copies cannot be deleted. Keep the private restoration key separately from both the source server and the backup storage. A different storage bucket alone does not prove that the copy will survive failure or loss of access to the source installation.

Your operator can configure transfer of encrypted archives to versioned external storage. When this is enabled, a scheduled job reports failure if transfer or verification fails, even if a local archive was created successfully. The local archive remains available for a retry. Ask who receives these alerts and how quickly a failed job must be addressed.

After a verified transfer, retain the recovery record that identifies the exact archive and metadata versions. Keep this record in an independent, approved journal accessible to the recovery custodian. A record stored only beside the local archive may be lost with the source server. A newer object with the same name is not necessarily the backup you agreed to preserve.

The configured monitor checks the saved external versions, their checksums and remaining protected retention period. It reports failure for an unavailable version, a missing recovery record, or insufficient remaining retention. This check does not decrypt the archive or prove that the complete service can be restored.

On an isolated restoration host, use the recovery record from your trusted journal to obtain the exact stored versions. The operator’s recovery tool checks the encrypted archive and creates a new private local bundle; it does not replace an existing restoration directory or change the running database. Keep records from an untrusted message or download separate until their origin has been confirmed through your agreed channel.

The resulting archive is still encrypted. The authorized custodian must provide the matching private identity for decryption. Obtain the archive, verify decryption, and restore the service as separate steps. If a tool reports failure, ask the operator to check the destination before retrying; do not delete an existing copy simply to make a retry succeed.

Ask your operator to create an encrypted copy, then restore it on an isolated host with an authorized recovery custodian. Check decryption and database restoration separately. Also check the files and external services listed in your agreement, sign-in, notifications and calls as applicable.

Check that files referenced by restored messages open, that their contents and names are correct, and that private configuration files retain restricted access. A restored database alone does not confirm that attachments are present or that their paths still belong to the right organization.

Record which backup and key were tested, which data was recovered, what was excluded, and how long recovery took. A successful database test alone does not prove recovery of external object storage, telephone services or sign-in providers. Keep the production service separate from this test.

Before starting the restored services, have the operator isolate their outbound connections. Use test recipients and accounts for email, push, calls and webhooks, and a test payment environment if billing is included. Do not reconnect restored jobs to production destinations until their queued work has been reviewed. Restoring the database may also restore pending jobs; a successful sign-in does not mean those jobs can safely resume.

Compare the result with the recovery targets agreed for your installation:

Target What to record during the drill
Maximum data loss The last recovered message or file and its time, compared with the agreed failure time; the archive creation time alone is insufficient
Time to restore service The elapsed time from the agreed start of recovery until users can perform the agreed functions, including obtaining keys and restoring external dependencies
Complete recovery Results for sign-in, message history and referenced files, plus the agreed notifications, calls and integrations
Independent recovery Whether the authorized custodian can obtain both the exact backup and the required keys when the source server or its operator is unavailable

Keep these results with the recovery record, the tested release and the people responsible for correcting failures. An unmet target requires a revised recovery procedure and another drill before accepting that target. Do not substitute an archive checksum or a decryption result for a measured service recovery.

Before changing the public recipient, verify access to the new private identity. After the change, create and test a new encrypted copy. Keep the previous private identities for as long as backups encrypted with them must remain recoverable. Changing the recipient does not re-encrypt older archives automatically.

If required encryption has no configured recipient, or its reference is revoked, backup creation stops instead of producing an unencrypted replacement. Ask the operator to check the failed schedule and create a new verified copy after the configuration is restored. A local health check can identify a missing, stale or damaged copy. External versions are checked only when replica monitoring has been configured; neither check tests decryption.

Revoking the recipient on the server stops its use for new backups. It does not erase existing copies or prevent someone who already holds their private identity from decrypting them. Loss of a required private identity can make its archives unrecoverable; an operator cannot reconstruct it from the public recipient.

Before ending the service, confirm that you have the agreed data copies and restoration identities, and test recovery in the destination environment. Agree separately on retention and deletion of copies held by the old operator. An export or downloaded archive does not move the service automatically.

If the hosting arrangement or server operator changes, ask for a review of the backup key ownership and access policy. Create and test a new copy under the agreed arrangement. An earlier successful backup does not confirm that the new operator can restore your service.

See hosting and your own keys for the separate responsibilities of storage encryption, push delivery and application signing.