How to Backup Data in Tally Prime: Complete Guide
How to Backup Data in Tally Prime: Complete Guide
Protecting your financial database against hardware failure, virus corruption, or system crashes is critical. Learn the proper backup procedures.
Who is this for: Tally Guides
In Tally Prime, all transactions, configurations, and ledger databases are stored as plain files in designated numerical folders (e.g. `10000`, `10001`) within your Tally installation directory. Because the system does not automatically duplicate these directories, establishing daily backup routines is a core bookkeeping responsibility.
Method 1: Manual Backup within Tally Prime
Tally has a built-in zip utility to compress and copy company data folders:
- Open Tally Prime on the server PC.
- Press Alt+Y (Data) > Backup.
- In the Backup Destination Path field, specify where you want to save the backup file (e.g. an external hard drive `D:\\TallyBackups` or a local synced folder).
- In the Company Name list, select the company you want to copy (or choose **All Items** to backup all companies).
- Press Enter and select Yes to confirm. Tally will create a compressed data file (usually named `TBK900_10000.001`) in the destination folder.
Method 2: Automating Backups using Windows Task Scheduler
To prevent human errors, you can automate daily folder backups on Windows systems using a simple batch script:
- Open Notepad and paste the following copy command:
xcopy "C:\TallyPrime\Data" "D:\DailyTallyBackups\%date:~4,2%-%date:~7,2%-%date:~10,4%" /s /e /i /y
- Save the file as
tally_backup.baton your desktop. - Open the Windows Task Scheduler.
- Click Create Basic Task, set the trigger to Daily at a specific time (e.g. 7:00 PM), and select the action to Start a Program. Select your `.bat` script.
This script will create a new timestamped folder containing all your companies' data files every day automatically.
Cloud Backup Options for Tally Data
To secure your books against local hardware theft or ransomware attacks, configure a cloud synchronization service:
- Google Drive / OneDrive / Dropbox: Download the desktop sync client. Configure it to watch your destination backup folder (e.g. `D:\\TallyBackups`) and upload newly created `.001` files automatically.
- Do Not Sync Active Folders: Avoid setting cloud sync clients to watch your *active* Tally data folder directly. Tally constantly writes temporary index files while open, which causes lock conflicts with cloud sync tools, leading to database corruption.
TrulyInvoice Cloud Vault Protection
When you use TrulyInvoice for automated invoice coding and bank statement synchronization, a copy of all uploaded PDF statements, vendor invoices, and mapped voucher listings is stored securely in our encrypted cloud server.
Even if your local Tally server crashes completely, you can log in to your TrulyInvoice portal, review your sync history, and re-push all transactions to a clean Tally company installation, recovering your records in minutes.
Frequently Asked Questions
Q: Can I take a backup while other users are working in Tally?
A: If you are using Tally Gold (multi-user), you can take a backup while others are logged in, but it is best practice to have all users log out to ensure no transactional data is written mid-backup, which can cause partial records.
Q: What is the default path of Tally Prime data?
A: The default directory is C:\Users\Public\TallyPrime\Data, but you can check your active path by pressing Alt+Y > Data Path inside Tally Prime.
Q: What is the TrulyInvoice flat pricing?
A: TrulyInvoice charges a flat rate of plans starting at ₹399/month for Lite (1,000 pages) and ₹599/month for Plus (2,000 pages), enabling automated data entry directly to Tally Prime.
Sync Invoices and Statements Directly to Tally Prime
Stop spending hours on manual data entry. Simply upload purchase/sales invoices and bank statements, review mapped items, and sync transaction entries directly to Tally Prime. Get started at just plans starting at ₹399/month for unlimited sync.
Start Free TrialChartered Accountant & Accounting Automation Specialist