Back up and restore
Take a backup of a company, find where backups are kept, restore an earlier one, and move a company to another computer.
Hisaab keeps dated copies of each company inside the company's own folder. One is taken for you every day, and you can take one yourself at any time. Restoring puts the books back exactly as they were at that moment.
The automatic daily backup#
When you open a company, Hisaab checks the newest backup. If it is more than 24 hours old, a new backup is taken before you start work.
- It happens when the company is opened. A company left open for several days is not backed up again until it is next opened.
- After each automatic backup, only the newest 14 automatic backups are kept. Older automatic ones are removed.
- Backups you take with Back up now are never removed automatically. Delete their folders yourself when you no longer need them.
- The backup taken before a restore or a passphrase change counts as automatic.
Back up now#
- Click Settings at the foot of the sidebar. On the Backups row, click Open.
- Click Back up now.
The status bar confirms the backup with its name and size, and it appears at the top of the list. In the list, a backup you took is marked "By hand" and the others "Automatic".
An Accountant or Admin can take a backup. A Viewer is told that Accountant access is required.
Where backups are stored#
Each backup is a sub-folder of backups inside the company folder, named by date and time. A backup taken by hand ends in -manual:
<company folder>/backups/20261117-140502/
<company folder>/backups/20261117-161530-manual/
Backups made before this marking existed have no ending and count as automatic. To keep one of them, add -manual to its folder name while the company is closed.
To see the company folder, press F3. The path is printed under the list of companies. Unless it was set up differently, company folders are in:
| System | Folder |
|---|---|
| Windows | %APPDATA%\Hisaab\companies |
| macOS and Linux | ~/.config/hisaab/companies |
Careful: These backups are on the same disk as the books. If the disk fails or the computer is stolen, both are gone. Copy the company folder to another disk regularly, or use cloud backup.
Restore a backup#
Only an Admin can restore.
- Open Backups.
- Find the backup by its date and time and click Restore.
- A question appears: "Restore the backup taken …? Current books are backed up first." Press Enter or click Yes, do it. Press Esc to keep the books as they are.
Before anything is replaced, Hisaab checks that the chosen backup opens properly, then takes a fresh backup of the current books. The status bar confirms the restore.
A restore replaces everything in the company: masters, vouchers, users and the edit log all go back to how they were at the time of that backup. Entries made after it are no longer in the books.
To undo a restore, restore the backup that was taken immediately before it. It is the newest one in the list.
Move a company to another computer by hand#
A company is one folder. Copying the folder copies the company.
- Close Hisaab on the first computer, so that nothing is being written.
- In your file manager, copy the whole company folder to a pen drive or a shared location.
- On the other computer, put the folder inside Hisaab's
companiesfolder (see the table above). - Start Hisaab and press F3. The company is listed under Your companies. Click it to open.
The copy carries its users, its backups and, if it has one, its passphrase. People sign in with the same user names and passwords as before.
Limits#
- The sample company, and books opened from a file but not yet saved, exist only in memory and have no backups. On the Company screen, save them as a company first.
- A backup is a full copy of the company. There is no way to restore a single voucher or ledger from it.
- If the company is locked with a passphrase, its backups are encrypted with the same passphrase.
Next#
Something here wrong or missing? Open a ticket and mention this page.
