> Source: https://docs.cyberelements.io/saas/el/Usage/Administration/AdminConsole/ConfigurationWorkPanel/Backup/

# Backup

**Backup** produces, on demand, an archive of the current tenant, and lets it be injected back. It provides a restore point before a sensitive operation (an upgrade, a migration, a structural change) and the way back if that operation fails.

![](https://docs.cyberelements.io/saas/img/cyberelements/CYE_AdminConsole_Config_Backup_Window.png)

> **No scheduling**
>
> Backup is entirely manual. There is **no scheduling**: no periodic platform task produces a backup, and the screen offers no recurrence. Every archive is produced by a click. A regular backup policy therefore requires an outside mechanism that triggers the operation and collects the archives.

## Archive contents

The contents of the archive determine whether a backup is enough to bring a platform back; the screen does not state them.

A tenant's archive carries **three items**: the contents of its database, the tenant's passphrase, and the export of its **password vault**.

It carries no session recordings (the videos are stored on the [Edge Gateway](https://docs.cyberelements.io/saas/el/Usage/Administration/AdminConsole/MainWorkPanel/SitesAndGateways/Gateways/) disks, not in the database), no certificates, and no server configuration file. Those belong to the platform backup, performed by CyberElements, which covers the whole platform rather than one tenant.

> **Archive protection**
>
> The archive is neither encrypted nor password-protected: it is a plain compressed archive. It contains the tenant's passphrase in the clear and the whole password [vault](https://docs.cyberelements.io/saas/el/Usage/Administration/AdminConsole/MainWorkPanel/Vault/Vault/): **it has the value of the vault itself**. It must be handled as a secret, from download to storage.

> **Single backup**
>
> Only one backup is kept at a time. The file has a fixed name on the server: **each generation overwrites the previous one**. There is no history, no retention, no numbering. Keeping several restore points means downloading each archive and storing it elsewhere, right after producing it.

> **SQL Server database**
>
> When the tenant's database is hosted on SQL Server, the platform asks the SQL server to write its own backup, in the folder that server uses by default. The downloaded archive therefore does not contain the database, and restoring the database **is the operator's responsibility** (which is what the two warnings shown in the screen state in that case).

## Backup without sensitive data

The checkbox that excludes sensitive data produces a **reduced** archive: without the passphrase, without the vault, and with the passwords stripped out of the database contents. Such an archive is not a restore point.

> **Restoration not possible**
>
> An archive without sensitive data cannot be restored: the console refuses it as soon as it is selected, explaining that it is meant for recovering the configuration. Its purpose is to **hand over a configuration** (to support, typically) without handing over any secret. It never replaces a full backup.

The name of the downloaded file differs: it carries a mark signalling the absence of sensitive data, which avoids mistaking it later for a complete archive.

## Restoration process

Restoration is a **replacement**, not a merge. The platform disconnects every user of the tenant, **drops all the tables** of its database, then replays the contents of the archive. As the warning shown at the top of the section states, the platform is unavailable for the duration.

> **Tenant name**
>
> Only a backup of a tenant with the same name can be restored. The archive is recognised by the file names it contains, and those names are built from the tenant's name. An archive produced for another tenant is refused with an invalid-archive message, without the real reason being stated. Restoring a tenant "somewhere else" therefore means first recreating a tenant with the same name.

> **Migration between versions**
>
> The migration checkbox is the only cross-version compatibility mechanism. An archive produced by an earlier version only restores correctly if the box that migrates the databases is ticked. Without it the content is injected back, but the structure stays that of the old version, and the platform works on a database that no longer matches what it expects. The box is **not offered** when the database is on SQL Server: migration is not provided there.

## Monitoring the operation

The state of the generation and of the restoration is polled every five seconds while the window is open.

> **Stuck operation**
>
> A generation or a restoration that stays "in progress" for more than sixty minutes is declared failed. This is a safeguard, not an execution budget: a normal operation takes far less time.

> **Backup produced by another server**
>
> If the last backup was produced by another server of the platform than the one answering, the screen shows **A backup is available on the other server** instead of a date. The download button stays enabled, but the file is read on the server answering the request: if that server does not hold it, the download fails. Generating a new backup makes it available again.

> **Generation in progress**
>
> Asking for a backup while another is running for the same tenant produces a generic error message, without explanation. Faced with an unexplained refusal, the state shown in the screen is the first thing to check.

## Availability

> **Delegation**
>
> Backup is not among the permissions a [delegated administration profile](https://docs.cyberelements.io/saas/el/Usage/Administration/AdminConsole/ConfigurationWorkPanel/DelegatedAdminProfiles/) can grant: it remains reserved for the tenant's administrator.

## Limits

- No scheduling, no history, one archive at a time.
- The archive is not encrypted and contains the vault: protecting it is entirely up to whoever keeps it.
- Neither session recordings, nor certificates, nor server configuration are covered.
- Restoration only targets a tenant **with the same name**, and it overwrites everything.
- Not delegable.

---

Field-by-field details are in the [module reference](https://docs.cyberelements.io/saas/el/Usage/AdminConsoleReference/Backup/).
