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

# Backup

**Backup** produces, on demand, an archive of the current organisation, 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/bastion/4.7/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.

An organisation's archive carries **three items**: the contents of its database, the organisation'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/bastion/4.7/el/Usage/Administration/AdminConsole/MainWorkPanel/SitesAndGateways/Gateways/) disks, not in the database), no certificates, and no server configuration file. Those belong to the [system console backup](https://docs.cyberelements.io/bastion/4.7/el/Usage/Administration/SystemConsole/SystemBackup/), which covers the whole platform rather than one organisation.

> **Archive protection**
>
> The archive is neither encrypted nor password-protected: it is a plain compressed archive. It contains the organisation's passphrase in the clear and the whole password [vault](https://docs.cyberelements.io/bastion/4.7/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 organisation'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 organisation, **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.

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

> **Archive in Cluster**
>
> If the last backup was produced from the other node, the screen says so instead of showing a date, and the download is not offered from this node. This is expected behaviour: connect to the console of the node that produced it.

> **Generation in progress**
>
> Asking for a backup while another is running for the same organisation 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/bastion/4.7/el/Usage/Administration/AdminConsole/ConfigurationWorkPanel/DelegatedAdminProfiles/) can grant: it remains reserved for the organisation'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 an organisation **with the same name**, and it overwrites everything.
- Two restoration options (database connection settings and database creation) exist only in the [system console](https://docs.cyberelements.io/bastion/4.7/el/Usage/Administration/SystemConsole/SystemBackup/).
- Not delegable.

---

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