Talk to an Expert
Talk to an Expert ✆ +91 945 945 6700
Accounting and Bookkeeping · 9 min read · Jul 20, 2026 · Updated Jul 27, 2026

Tally Data Backup and Security Best Practices

CA Puja Pradhan

Tally Data Backup and Security Best Practices - Featured Image
In this guide

    The best practice for Tally data backup is simple to state and easy to neglect: keep at least one dated copy of your company data on a second drive and one in the cloud, close the company before you copy it, and test a restore before you ever need it. A single copy of the numbered company folder on one computer is not a backup. It is one power surge, one ransomware click or one stolen laptop away from a year of lost vouchers. This guide sets out a routine that survives file corruption, not only hardware failure, and shows how to restore and recover data when something does go wrong.

    Where is Tally data stored?

    TallyPrime keeps each company in a numbered folder (for example 10001, 10002) inside its data directory. By default that path is the Data folder under the Tally installation, but you can see and change it at Gateway of Tally, then F1 (Help), then Settings, then Data Configuration. The folder holds the transaction and master files that make up your accounts, so this numbered folder is exactly what any backup routine has to protect. Knowing the path matters: if you have never checked it, your backups may be pointing at an empty or wrong directory.

    Because the data sits as ordinary files on disk, it is exposed to the same risks as any other file: disk failure, accidental deletion, corruption during an improper shutdown, and malware. Understanding your numbered folder is also the first step before you copy data to another computer or migrate it into a cloud system such as Zoho Books Accounting, Xero Accounting Services or Odoo Accounting Services.

    How do you back up data in Tally?

    TallyPrime has a built-in backup: go to Gateway of Tally, then Data, then Backup, choose the source company and a destination path, and confirm. Tally writes two files, TBK900.001 (the data) and TBK900.CFG (the configuration), into the destination folder. There is no single dedicated keyboard shortcut for backup in TallyPrime; you reach it through the Data menu, so if someone tells you a magic hotkey, treat it with caution. Learning the wider set of movement keys does help you work faster, and our note on common Tally shortcuts and data entry tips covers those.

    The built-in backup is useful but limited. It writes to a path you choose, and if that path is another folder on the same disk, a disk failure takes both the original and the backup. Best practice is to point the destination at a different physical drive and then copy that backup off-site or to the cloud on a schedule.

    CA Tip: Name each backup folder with the date, such as Tally_Backup_2026-07-24, and never overwrite yesterday's copy. Corruption is often discovered days later, so a single rolling backup can quietly copy the corrupted data over your last good one.

    How to set up Tally auto backup

    TallyPrime has no built-in scheduler, so automation is done outside the application using Windows Task Scheduler. The reliable pattern is:

    1. Write a short script (a .bat file) that copies the numbered company folder to a second drive and to a synced cloud folder, into a new dated sub-folder each run.
    2. Make sure everyone has closed the company in Tally before the job runs; a file open inside Tally can copy incompletely.
    3. Open Windows Task Scheduler, create a task, and point it at the script.
    4. Set the trigger for after business hours, for example 9:30 pm daily.
    5. Test the task manually once, then check the next morning that a fresh dated folder appeared in both destinations.

    A cloud-synced folder (any reputable provider) gives you the off-site copy without a manual upload. The routine below shows the full loop.

    Flow diagram of an automated Tally backup routine from closing the company to verifying a dated copy off-site the next day.
    Automated Tally backup routine
    Common mistake: Scheduling the backup while Tally is still open on a shared machine. The copy runs, the folder looks complete, and nobody notices until a restore fails months later. Close the company first, or script the job to run only when Tally is not running.

    Backups that survive corruption, not just hardware failure

    Most owners back up against a dead hard disk. The harder risks are file corruption, ransomware that encrypts every connected drive, and quiet human error that is only spotted weeks on. The 3-2-1 rule answers all three: keep three copies of your data, on two different media, with at least one copy off-site. In practice that is the live data, a dated backup on an external or network drive, and a cloud copy. The table compares the common approaches.

    MethodProtects againstWeaknessRestore-tested?
    Copy numbered folder on same PCAccidental deletion inside TallyDisk failure, ransomware, theft wipe both copiesRarely
    Tally built-in backup to same diskUser error, quick rollbackSingle disk, single dated copy often overwrittenSometimes
    Scripted daily copy to second drive plus cloud (3-2-1)Disk failure, corruption, ransomware, theft, fireNeeds setup and a monthly restore testYes, if you test

    For sensitive books, combine the routine with Tally Vault so the data is encrypted at rest, and restrict who can reach the folder over the network via remote Tally access controls.

    How to restore a Tally backup

    Restoring is where good routines are proven or exposed. From the TallyPrime Gateway, choose Data, then Restore, set the source path to the backup folder holding TBK900.001 and TBK900.CFG, set the destination to a fresh empty folder rather than your live data folder, and select the company. Restoring over the working folder can overwrite current vouchers, so always restore to a new location, open the restored company, and check the Trial Balance and closing balances before you rely on it.

    Flow diagram of restoring a Tally backup to a fresh folder and verifying the Trial Balance before relying on it.
    Restoring a Tally backup safely
    CA Tip: Do a real restore test once a month, not just a backup. A backup you have never restored is only a hope. Restoring to a spare folder and matching the general ledger totals against last month's figures takes ten minutes and is the only thing that proves your routine works.

    How to recover damaged Tally data

    If a company will not open or throws errors, TallyPrime's Rewrite can rebuild the data files. Back up the damaged folder first, then trigger Rewrite from the company selection screen and confirm. Rewrite repairs index and structural damage but it does not recover vouchers that were never written or were already lost, which is exactly why a dated backup is the real protection. To move a company to another computer, copy the numbered folder to the same data path on the second machine while Tally is closed on both; copying a folder is not a substitute for a proper backup, because a partially written folder gives no error until you open it. If you are also weighing a version move, our comparison of Tally Prime versus Tally ERP 9 explains what changed, and the Tally XML export is worth keeping as a portable secondary copy of masters and vouchers.

    Worked example: what data loss actually costs

    Owners under-invest in backups because the loss feels abstract. Put numbers on it. Suppose a disk fails and the last usable copy is six months old. The figures below are indicative and Exl GST.

    ItemBasisAmount (INR)
    Vouchers to re-enter6 months, ~300 per month = 1,800 vouchers1,800
    Re-entry time1,800 vouchers at 15 per hour = 120 hours120 hrs
    Bookkeeper cost120 hours at 450 per hour (indicative)54,000
    GSTR reconciliation redone6 months at 2,500 per month (indicative)15,000
    Estimated cost of the gapRe-entry plus reconciliation69,000

    Against that, a scripted daily backup to a second drive and a cloud folder costs a few thousand rupees a year of storage and an hour to set up. The arithmetic makes the case on its own. The lost time also delays return filing, which is why keeping clean books feeds directly into work like filing GST returns using Tally Prime and generating e-way bills and e-invoices in Tally.

    How long must you keep Tally records?

    Backups are also a statutory duty, not only an IT choice. Under GST law, Section 36 of the CGST Act requires a registered person to keep books and records until the expiry of 72 months (six years) from the due date of the annual return for that year, as set out by the CBIC. Under the Companies Act 2013, Section 128(5) requires a company's books to be preserved for not less than eight financial years, per the Ministry of Corporate Affairs. Income Tax record-keeping rules add their own retention period, detailed by the Income Tax Department. Your dated Tally backups are how you actually satisfy these periods years after the events. Once the data is safe and current, routine period-end tasks such as running a depreciation calculation and reconciling the bank reconciliation stay reliable because the underlying records can always be reproduced.

    Key terms

    • Tally Vault: a password feature that encrypts a company's data at rest so the folder cannot be opened without the vault key.
    • Tally XML Export: a portable export of masters and vouchers, useful as a secondary, software-neutral copy.
    • Remote Tally Access: controlled access to a Tally company over a network, which needs its own security and folder permissions.
    • Trial Balance: the report you check after a restore to confirm the data is complete and balances match.
    • General Ledger: the full record of every account whose totals you verify against a prior period after restoring.

    Key takeaways

    • One copy on one machine is not a backup; keep three copies, on two media, with one off-site.
    • Close the company before any copy or backup, or the copy can fail silently on restore.
    • Automate with Windows Task Scheduler and dated folders, since TallyPrime has no built-in scheduler.
    • Always restore to a fresh empty folder and verify the Trial Balance before trusting a backup.
    • Test a real restore monthly, and keep backups for the years that GST, Companies Act and Income Tax rules require.

    If keeping this routine running reliably is more than your team wants to manage in-house, that is a service question rather than a how-to one, and our Tally Prime accounting services team can own the backup, reconciliation and month-end close for you.

    Decision guide

    Is your Tally backup actually safe?
    Is your Tally backup actually safe?
    Share this guide: Link copied!

    How to take a Tally backup automatically?

    TallyPrime has no built in scheduler, so automation is done outside the application. Point a Windows Task Scheduler job at a script that copies the company data folder to a second drive and to cloud storage after business hours, keeping dated folders. Close the company first, since files open in Tally can copy incompletely and fail on restore.

    How to restore Tally data?

    From the TallyPrime gateway choose Data, then Restore, set the source path to the backup folder holding TBK900.001 and TBK900.CFG, set the destination to a fresh empty folder rather than the live data folder, and select the company. Restoring over the working folder can overwrite current vouchers, so always restore to a new location and verify balances first.

    How to split data in TallyPrime?

    Take a full backup, then use Data, Split Company Data, and give the split date, normally 1 April. Tally creates one company with the earlier years and one from the split date, carrying forward closing balances as opening balances. Split only after all vouchers are entered and reconciled, because unadjusted advances and pending bills move awkwardly across the cut.

    How to rewrite data in TallyPrime?

    Rewrite rebuilds the company data files when they are corrupted or after a version upgrade. Back up first, then open the company with Ctrl and Alt and R at the company selection screen, and confirm the rewrite. Rewrite repairs index and structure damage but does not recover vouchers already lost, which is why a dated backup is the real protection.

    How to copy Tally data to another computer?

    Copy the numbered company folder, such as 10001, from the Tally data directory to the same data path on the second machine while Tally is closed on both. The company then appears in the company list. Copying the folder is not a substitute for a proper backup, because a partially written folder gives no error until the data is opened.