# Backup and restore

Backing up one company or on a schedule with the Server Controller, restoring with Tally's choices, the restore password, and checking your data.

- Title: Backup and restore
- Product: SAHARA Core
- Applies to: SAHARA Core, first version. Installation from 11 Poush 2083 (26 December 2026).
- Software verification: Checked against the source code; not walked in the software. Last checked 25 October 2026 against source at 44eef2a443. What was checked: the Server Controller's Backups section (scripts/sahara-controller.ts:1123-1148), restore (company-restore.ts:202-231), the restore password, retention, Verify Data; read from the code, not walked on an installed copy.
- Content updated: 15 November 2026
- Who can do this: Whoever knows the super-administrator password, at the server PC. Running Verify Data: the business owner or an admin.
- Start from: The Server Controller on the server PC
- Limitations:
  - Backups are not locked unless you choose to lock them.
  - If you set a restore password and forget it, nobody can open those backups, not even SAHARA Labs.
- Source URL: https://help.thesaharalabs.com/core/docs/backup/
- Sections:
  - Back up one company: https://help.thesaharalabs.com/core/docs/backup/#back-up-one-company
  - Schedule: https://help.thesaharalabs.com/core/docs/backup/#schedule
  - Restore: https://help.thesaharalabs.com/core/docs/backup/#restore
  - Protect a company’s backups with a password: https://help.thesaharalabs.com/core/docs/backup/#protect-a-companys-backups-with-a-password
  - Check your data: https://help.thesaharalabs.com/core/docs/backup/#check-your-data

---

Backups are taken in the **Server Controller** on the server PC (`http://127.0.0.1:3190`). Sign in as the super-administrator and open **Backups**. A backup holds **one company**, as in Tally, each in its own file.

## Back up one company

Under **One company**, pick the company in **Company**, then press **Back up this company**.

## Schedule

In **Schedule**:

- **Take a backup**: *Every day*, *Every week* or *Off*, with **At (this PC’s time)** and, for a weekly backup, **On (every week)**.
- **Back up**: *All companies (a new one included)*, or *These companies*. With the second, tick each company under **The companies** (Space ticks one).
- **Keep the last** sets how many backups of each company are kept (7 unless you change it). You can also be warned after a number of days without a backup, or when the backup disk runs low.

Press **Save the schedule**. **Back up now** backs up every company the schedule names, straight away.

Backups go to the backup folder chosen at installation. You can change it in the Controller’s **Settings**; it must be a full path, outside the folder that holds your books. Keep it on a different disk if you can, and copy backups somewhere safe regularly.

## Restore

Choose a backup and restore it. If the company isn’t on this PC, it is restored as it was. If it is already here, SAHARA Core asks what to do:

- **R**: replace it. Type the company’s name exactly to confirm. The company is backed up as it is now **before** anything is written; if that backup doesn’t complete, nothing is replaced.
- **N**: restore the backup as a new company beside it.
- **S**: skip it (the default). Nothing changes.

Copies kept before a Replace are listed under **Kept before a restore**. The schedule never clears them; each stays until you remove it.

## Protect a company’s backups with a password

Under **Restore password**, pick the company in **Company**, type the new password twice and press **Set the restore password**. From then on every backup of that company is locked with it, including the copy kept before a Replace, and only that password opens one. Changing it re-locks the backups in the backup folder.

To restore a locked backup, type its password in **Restore password of a locked backup**. A company without a restore password is backed up unlocked, as in Tally.

> **Warning:** If you set a restore password and forget it, nobody can open those backups, not even SAHARA Labs. Keep it safe.

## Check your data

In SAHARA Core, open **Alt+Y (Data) › Split › Verify Data**.

Uninstalling SAHARA Core keeps your books and backups.
