Recovery and Backup for The Bat Mail Client

In this article, we will describe how to use the mail client built-in functions to backup, import and export data, and also how to recover data if it was lost because of careless or spontaneous actions of the user.

Go to view
How to View Browsing History for Google Chrome, Mozilla Firefox, Opera, Edge, Internet Explorer  🌐⏳💻

How to View Browsing History for Google Chrome, Mozilla Firefox, Opera, Edge, Internet Explorer 🌐⏳💻

The Bat! is a mail client for the operating system Microsoft Windows that is positioned as an alternative variant for advanced users. It is due to the fact that developers have initially paid more attention to the program’s security settings which can be seen from the range of functions and the interface, as well as from the built-in user data backup options.

Go to view
How to Restore Chat History and Media Files in WhatsApp 💬📁⚕️

How to Restore Chat History and Media Files in WhatsApp 💬📁⚕️

Go to view
How to Restore Chat History, Contacts and Files for Viber in Android or Windows 💬📁⚕️

How to Restore Chat History, Contacts and Files for Viber in Android or Windows 💬📁⚕️

Where The Bat Mail Profile Data is Stored

To understand the principle of data handling in The Bat and realize the essence of teh actions described in this article, let us have a look at how and where the application keeps the user’s mail profile data.

By default, all data of The Bat is saved to this folder:
C:\Users\UserName\AppData\Roaming\The Bat!

Data of The Bat is saved to folder C:UsersUserNameAppDataRoamingThe Bat!

Like other mail clients, The Bat puts into this folder its configuration files and mail profile data folders, including received and sent user mail folders, such as:

In The Bat’s common folder:

  • account.flb – configuration file for common folders;
  • account.cfn – settings file for common folders;
  • account.srb – filter file for common folders;
  • *.abd – address book files;
  • accorder.cfg – configuration file with the sequence of mailboxes in the folder tree;
  • *.abd – configuration file of address book files;
  • avconfig.ini – configuration file of antivirus plugins;
  • config.cdb – the settings file for system hotleys, viewing modes and mail list tabs;
  • events.cfg – configuration file of the scheduler;
  • ex_log.txt – text file with an error log;
  • smartbat.ini – SmartBat configuration file;
  • smartbat.txt – main notepad for SmartBat;
  • smimernd.bin – temporary encryption file (random number generation);
  • tbplugin.ini – configuration file for add-on plug-ins;
  • tbuser.def – configuration file containing interface settings;

and others.

In the folder having the name of the user’s mail box:

Folders whose names correspond to the names of mail box folders, as well as such files:

  • account.cfn – mailbox settings file;
  • account.flb – configuration file for folders inside the mailbox;
  • account.imp – configuration file of IMAP debugging;
  • Account_log.txt – a text file containing a log on interaction with the server, filter processing and other data;
  • account.srb – configuration file of the sorting operator;

and others.

Mail box folder gmail.com

In the folder having the name of the user’s mail box (Sent, Inbox, Trash…):

  • messages.tbb – file of the folder’s mail base;
  • messages.tbn – index file;
Sent folder

How to Create a Backup Copy of The Bat Mailbox

As we have already said in the previous paragraph, every mail profile connected to The Bat mail client has its own folder. This folder contains a group of files with user settings and mail data of a specific mailbox. In our case, as we can see from the screenshot below, there are two mailboxes connected to the mail client, with the names «gmail.com» and «hetmanrecovery.com.»

Every mail profile connected to The Bat mail client has its own folder

There are two ways to create a mailbox data backup file:

Creating a Copy of the Folder Manually

You can create a copy of mailbox data base manually and save it to another location. If you reinstall Windows or format the hard disk with subsequent reintallation of The Bat, the data in this folder can be brought back to the data folder of the mail client.

For this purpose, do the following:

  • after installation of the program and when starting it for the first time, do not create a new mailbox but just close The Bat.

    Recovery and Backup for The Bat Mail Client
  • Go to the folder containing the mail client data
    C:\Users\UserName\AppData\Roaming\The Bat!
    and put there the copies of mailbox folders that you have created beforehand.

  • After you start The Bat again, it will not ask you to create a new mailbox but will load data from the copied folders which are, in fact, mailbox profile folders.

With the Help of «Backup…» Function in The Bat (*.TBK)

The Bat has a built-in tool to backup mail client data. To create a backup copy of your mailbox with the help of The Bat:

  • Go to the Tools / Backup…

    Tools / Backup...
  • In the window that opens, specify the data to backup, set the name of the backup file and where it should be saved.

    Specify the data to backup, set the name of the backup file and where it should be saved
  • Specify the mailboxes data from which should be backed up and protect the backup file with a pasword (if necessary).

    Maintrance Center
    Maintrance Center

As a result, a backup file with a user-defined name and extension *.TBK will be created in the folder that you specified when reating the backup.

You can restore mailbox data from the backup with the function «Restore…» To do it, just select Tools / Restore… and specify the backup file location.

You can restore mailbox data from the backup with the function «Restore...»
Maintrance Center

Export and Import Messages Function

In case the user is going to use a different mail client or, on the contrary, the user is switching to The Bat after having used a different mail client, the application has got the function Export and Import messages.

The peculiarity of this function in The Bat is that you can set the file format to export messages to or choose the file format to import messages from; you can also choose, in the import wizard, the program from which you want to import messages.

  • To export messages from The Bat, go to Tools / Export messages to:

    Tools / Export

    You can export messages into a file in one of the formats: *.MSG, *.EML, UNIX-mailbox (*.mbox).

  • To import messages to The Bat, go to Tools / Import messages:

    Tools / Import

    You can import messages to The Bat from a file in one of the formats: *.MSG, *.EML, UNIX-mailbox (*.mbox), mail base *.TBB, The Bat folder in format *.MSB.

  • From the menu «Import messages» you can also start «Mailbox Import Wizard»;

    Mailbox Import Wizard

    This wizard can import messages from such mail clients as: Mozilla Thunderbird, Outlook, Eudora, Pegasus, Netscape.

Importing and Exporting the Address Book

In addition to importing the mail database, The Bat provides you with the opportunity to create a copy or transfer address books from other mail clients.

To perform the Import / Export operation, you need to:

  • go to the address book

    Address book
  • choose File / Export to

    File / Export

    In The Bat, an address book can be exported to files in the following formats: LDIF file, Business card (vCard), INI file, *.txt, as well as to Google contacts.

  • choose File / Import from…

    File / Import

    In The Bat, an address book can be imported from files in the following formats: LDIF file, Business card (vCard), INI file, *.txt, as well as The Bat, Outlook, Eudora, Pegasus and Windows Mail address books, and also from Google contacts.

Recovering The Bat Profile with Hetman Partition Recovery

Functions of The Bat described in the paragraphs above allow users to save all data from their mailboxes into separate files of certain formats, as well as export and import them between mail clients or other applications. Obviously, it is very convenient, because it allows users to create a backup copy of their mailbox and restore it if they need to reinstall the program, the operating system or format the hard disk.

The tool recovers data from any devices, regardless of the cause of data loss.

But what can be done if data files or files containing a copy of The Bat data in one of the formats are lost?

Recovering The Bat (The Bat!) Mail Profile

If The Bat profile is deleted as a result of reinstalling Windows or formatting the hard disk, it can be recovered as follows:

  • Download, install and launch Hetman Partition Recovery;

    Hetman Partition Recovery
  • Use it to scan the disk where the mail profile data was stored;

    Hetman Partition Recovery. Type of analysis
  • Use the program to go to the mail client data folder (be default, the path is C:\Users\UserName\AppData\Roaming\The Bat!) and recover the data folder of the necessary mailbox;

    Hetman Partition Recovery. Recovery
  • Place the recovered mailbox data folders into the folder of The Bat in your computer in the way that is described in this article under the title «How to create a backup copy of The Bat mailbox».

Recovering Other Data of The Bat

(a backup copy of mailbox data (*.TBK), an address book file (LDIF, vCard, INI, *.txt), an Export /Import message file (*.MSG, *.EML, *.mbox, *.TBB, *.MSB))

As the method to recover other The Bat data is similar, regardless of the file format, we will try to show how such data can be recovered with just one example.

For this purpose, do the following:

  • Download, install and launch Hetman Partition Recovery.

    Hetman Partition Recovery
  • Use it to scan the disk where you saved the required mail client data

    Hetman Partition Recovery. Type of analysis
  • Find and recover the necessary files with the help of the data recovery software

    Hetman Partition Recovery. Recovery
  • Restore or import files containing The Bat data by using the methods described in this article.

Vladimir Artiukh

Author: , Technical Writer

Vladimir Artiukh is a technical writer for Hetman Software, as well as the voice and face of their English-speaking YouTube channel, Hetman Software: Data Recovery for Windows. He handles tutorials, how-tos, and detailed reviews on how the company’s tools work with all kinds of data storage devices.

Oleg Afonin

Editor: , Technical Writer

Oleg Afonin is an expert in mobile forensics, data recovery and computer systems. He often attends large data security conferences, and writes several blogs for such resources as xaker.ru, Elcomsoft and Habr. In addition to his online activities, Oleg’s articles are also published in professional magazines. Also, Oleg Afonin is the co-author of a well-known book, Mobile Forensics - Advanced Investigative Strategies.

Recommended For You

Hello! This is AI-based Hetman Software virtual assistant, and it will answer any of your questions right away.
Start Chat