Skip to content
Tutorials Center
My learning

Topics

Lesson 7 of 38 ยท Company Setup

Backup, Restore and Data Management

Protect your accounts: back up and restore Tally Prime companies, understand the data folder, split and repair data, and plan a safe backup routine.

Accounting data is the one thing a business cannot recreate easily. Disks fail, laptops get stolen, and users delete the wrong company. Tally gives you the tools to protect your data, but they only help if you use them on a schedule. This lesson covers where Tally keeps data, how to back up and restore, and the maintenance tools under the Data menu (Alt+Y).

Where the data lives

Tally Prime stores every company in its own numbered folder (for example 10001, 10002) inside the Data folder that you chose at installation. Inside, Tally keeps files holding masters, vouchers and settings. You never edit these by hand. The important consequences:

  • Each company is separate: restoring one does not touch another.
  • Copying a company folder while Tally has the company open can produce a damaged copy. Use Tally's own backup, or shut the company first.
  • The Data folder is where you point your operating-system backup, cloud sync or disk image software.

Backup

Open Alt+Y (Data) and choose Backup. Tally asks for:

  1. The company (or companies) to include.
  2. The destination folder, preferably on a different drive or a removable disk.
  3. Optionally, a different folder for the backup file name.

Tally writes a single backup file that contains the company data, typically with a numeric extension such as .001. You can store it, e-mail it to your accountant or upload it to cloud storage. The backup is a snapshot of the data at that moment, so make it after finishing the day's entries.

The 3-2-1 rule

A reliable routine has three copies of the data, on two kinds of media, with one copy off-site. For a small business: the live data, a daily backup on an external disk, and a weekly copy in cloud storage or at another location. Test a restore occasionally; an untested backup is only a hope.

A safe backup routine

Daily backup After the day's entries.
Second drive Not the same disk.
Off-site copy Cloud or another place.
Test restore Prove it works.
1 / 2

Restore

Alt+Y, Restore reads a backup file and recreates the company. Choose the backup folder, pick the company and the destination data folder. If a company with the same number already exists, Tally warns before overwriting it. For safety, restore into a copy or a different data folder first and check the totals before replacing live data.

Restoring over an existing company replaces its current data with the backup's. Anything entered since the backup is lost. Make a fresh backup of the current company before every restore.

Split, repair and other data tools

The Data menu has several utilities beyond backup:

  • Split Company Data: creates a new company data set from an existing one, usually at the end of a financial year, carrying the closing balances forward as opening balances and (optionally) keeping the older year's vouchers in the original. Splitting keeps files small and fast (see Financial Year and Year-End Closing).
  • Repair: checks the company's data files for damage, for example after a power cut or a crash, and tries to rebuild them. Always keep a backup of the damaged data before repairing.
  • Import and export: bring masters and vouchers in from, or send them out to, other formats (see the Advanced Features chapter).
  • Verify data and data synchronization options: used in multi-user and multi-site setups.

If Tally reports a data error when opening a company, do not keep trying to open and modify it. Copy the company folder aside, run Repair on the copy, and compare with the last good backup.

Backup naming and rotation

Good backup names contain the company, the date and sometimes the user, for example SharmaTraders-2025-04-30.001. A rotation keeps the last seven daily files, four weekly and twelve monthly backups, then discards older ones. This stand-in builds such names and decides which backups to keep.

Python Backup rotation planner (stand-in)

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Checking a restore

After restoring, compare a few control totals with the original: the trial balance totals, the closing stock value and the count of vouchers. Here is a stand-in that compares two such summaries and reports differences.

Python Compare control totals after a restore (stand-in)

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Common mistakes

  • Backing up to the same disk. A failed disk loses both the data and the backup.
  • Never testing a restore. Restore a backup into a spare folder once in a while.
  • Copying the data folder while Tally is running. Use Tally's backup or shut the company first.
  • Restoring over live data without a fresh backup. You may lose recent entries.
  • Running Repair without a copy. Keep the damaged data untouched in case repair makes it worse.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Where do you find Backup in Tally Prime?

    The Data menu (Alt+Y) holds Backup, Restore, Split and Repair.
  2. 2. What does the 3-2-1 backup rule mean?

    It guards against disk failure, theft and disaster.
  3. 3. What does Split Company Data usually do?

    It is used at year end to keep files small, carrying closing balances as new opening balances.
  4. 4. Before restoring over a company you are currently using, you should:

    Restore replaces the current data with the backup's, so anything newer is lost.

Summary

  • Each company lives in its own numbered folder in the Data folder; do not copy it while it is open.
  • Alt+Y, Backup writes a single backup file; follow the 3-2-1 rule and test restores.
  • Restore replaces data; back up the current data first.
  • Split, Repair, Import and Export are maintenance tools in the same menu; back up before using them.

Next: Security, Users and Audit