How to backup mail the bat. Where does the mail client The Bat! I will explain by the used keys XCOPY

The Bat! is one of the best freeware (free) products among email managers, a rich set of features that rivals such a leader as Microsoft Outlook, allowed The Bat! win over your large audience. However, like any software for Windows platform, The Bat! not devoid of surprises. Probably the biggest misfortune that can happen to users of a mail manager is the loss of letters. It happens that at the next launch of The Bat! we are met either with completely empty folders, where until recently there was an entire long-term archive of letters, or, for example, there are no letters for any period of time. It's too early to panic, because in most cases the letters are still on your computer, but the index index may have deteriorated.

Let's look at several ways to restore messages and folder structure in The Bat!

1. The most common The Bat! is the keyboard shortcut Ctrl + Alt + Shift + L in running and active program, which initiates the built-in tool for correcting the base of letters.

2. A possible culprit for the loss of letters may also be the index file MESSAGES.TBI or MESSAGES.TBN (depending on the version). With the program turned off, delete it and run BAT !, after a while the letters will be displayed.

3. Open the folder with your profile mail files and delete all files with names in it ACCOUNT.xxx Restart Bat, it will re-create these files itself, but be careful, all settings will be deleted and they will need to be done again. You may need a combination of Ctrl + Alt + Shift + L.

4. If there is a backup copy, then you can get the missing ones without restoring all letters from it. For this we create new folder, preferably we copy one letter into it, close the program, go to this folder with an explorer, delete all files, copy the file here backup and change the extension BCK on the EBB... At the next launch of the program, we receive old letters that can be copied to the main folder.

5. If the file is damaged and the program refuses to work, you need to resort to heavy artillery in the form of a program The Bat! Message Recovery(free).

6. The surest and fastest way to get emails back is to restore them from a backup. Don't be lazy - make BACKUP COPIES!

  • I will describe and give examples of creating backups using the command line.
  • I will describe in detail the xCOPY command and how to use WinRar in creating a backup.
  • Create an archive folder named: current date.

I will quote bash.org.ru:

Year after year all new admins back up server screws on logical partitions of the same screws.

Backing up using xCOPY

An example of a script that copies files to a directory f: backupnew, on the second run renames the directory new v old, re-creates the directory new and copies files. Those. batch file makes it possible to store "two-day" backups:

del “f: backupold” / s / q

Rmdir “f: backupold” / s / q

Rename “f: backupnew” “old”

Mkdir “f: backupnew”

Xcopy “D: 123 *. *” “F: backupnew *. *” / E / F / H / R / K / Y / D

You can act differently, for example, the command md% date: ~ 0.2%.% date: ~ 3.2%.% date: ~ 6.4% creates a folder whose name is the current date:

mkdir"F: backup% date: ~ 0.2%.% Date: ~ 3.2%.% Date: ~ 6.4%"

xcopy“E: superBD *. *” “F: backup% date: ~ 0.2%.% Date: ~ 3.2%.% Date: ~ 6.4% *. *” / E / F / H / R / K / Y / D

rem Should work without mkdir as well. xcopy would create the folder itself. Safety net =)

Let me explain the XCOPY keys used:

/ E Copies all subdirectories, including empty ones.

/ F Prints the names of the source and target files during the copy process.

/ H Includes hidden and system files... By default, system files are ignored.

/ R Copies read-only files.

/ K Copies read-only files, preserving this attribute for copied files whose originals have this attribute.

/ Y Eliminates prompting to confirm overwriting an existing target file.

/ D [: mm-dd-yyyy] Copies only files modified on or after the specified date. If you do not include mm-dd-yyyy, the xcopy command copies any source files that are newer than the existing result files. This feature allows only modified files to be updated.

About additional keys xcopy can be read on

Backup using WinRAR

del “f: backupold” / s / q

Rmdir “f: backupold” / s / q

Rename “f: backupnew” “old”

Mkdir “f: backupnew”

“C: Program FilesWinRARRar.exe” a -m5 -r -t -dh -idp f: backupnewbackup.rar “D: superBD *. *” >> f: backupnewbackup.log

If you screw here the above % date: ~ 0.2%.% date: ~ 3.2%.% date: ~ 6.4%, then

“C: Program FilesWinRARRar.exe” a -m5 -r -t -dh -idp f: backup.rar “E: superBD *. *” >> f:% date: ~ 0.2%.% Date: ~ 3 , 2%.% Date: ~ 6.4% .log

Ren “f: backup.rar” “% date: ~ 0.2%.% Date: ~ 3.2%.% Date: ~ 6.4% .rar”

I erased the log files

More about launch keys Rar.exe can be read in the file C: Program FilesWinRARRar.txt

After the batch file is created and tested, you can create a task for automatic start, for example at night when the user is asleep. Press startto execute- enter control schedtasks- press enterter... The task scheduler will open, it couldn't be easier there.

Good luck!

ZY Do not back up the same screws on logical partitions.

We continue to study The Bat! In this tutorial, we'll walk through the backup and restore of mailboxes along with all the settings, search capabilities, and (hot key).

Backup

In previous lessons, we studied But when you reinstall the system or run the program on another computer or laptop, it becomes necessary to re-configure sending and receiving mail for each mailbox, automatic sorting, letter templates, etc. The task is especially complicated when there are a lot of boxes and they are registered on different postal services... This problem is solved by backup, thanks to which you can not only restore everything e-mail settings boxes, but also all incoming and outgoing letters in these boxes.

Let's take a look at the procedure for creating and restoring a backup copy of The Bat! using screenshots. The picture below shows where the corresponding menu items are located.

To create a backup copy, select the menu item of the same name and in the next window set the path and name of the future archive by clicking on "Browse". If necessary, write a commentary on the archive.

IMPORTANT! When specifying a location for creating an archive, select a disk that is different from the system one, as the archive may be overwritten when reinstalling the system. For example, if the system is located on disk "C", then specify the location for the archive on "D", "E" or on a flash drive.

After clicking "OK" a window will appear in which you can select all or individual boxes for archiving. Also, if necessary, you can set a password for the archive.

After clicking "OK" again, the process will start Reserve copy The Bat!

To restore from a backup, select the appropriate menu item (see the first screenshot). Then click "Add" and find the archive created earlier. Then click "OK". In the next window, select the mailboxes for recovery and click "OK" again. We are waiting for some time and enjoy the result

By the way, if you use the portable version of The Bat !, located not on system disk, then after reinstalling the system mail client there will be no need to restore at all - it will be immediately ready to work. You just need to re-create the shortcut executable file on your desktop.

Search in The Bat!

The Bat! Mail client has a powerful search using fine tuning parameters of the required information. If you have a dozen mailboxes and hundreds or even thousands of letters in them, then this tool is simply irreplaceable.

Here are the search criteria you can customize:

1. Calling the search window
2. Search terms. You can select the following parameters:

  • text
  • sender (e-mail)
  • recipient (e-mail)
  • heading
  • note
  • Attached files
  • any part

3. Remove condition
4. Add a new condition
5. Selection of the parameter "AND", "OR"
"And" - all specified conditions must be met
"OR" - at least one of the specified conditions must be met
6. Select boxes and folders for search
7. Start search
8. Advanced search - makes it possible to set search parameters even more precisely. For example: letter size, letter attribute (status), limitation period, time interval and other criteria. I will not consider this mode. Everything is intuitive there, I think you can figure it out.

Let's look at two search examples:

Example 1. Let's say we need to find all letters with the phrase in the subject line "Windows 7 lesson" or "Windows 7 lesson" (we don't remember exactly). We will search in all mailboxes. The search setup will look like this:

Example 2. It is necessary to find a letter from the author (sender) D. Pecherkin, which contains the phrase in the text "how to make money in affiliate programs", but does not contain the word "mailing". It is also known that the letter is in the Yandex mailbox. The settings will be as follows:

The Bat! Hotkeys

The Bat! has a set for a quick call of a particular function. The most commonly used combinations are:

  • create a letter - Ctrl + N
  • get new mail - F2
  • get mail for all mailboxes at once - Alt + F2
  • send mail - Shift + F2
  • mailbox properties - Alt + Enter
  • quick reply to a letter - Ctrl + Enter
  • template call - Ctrl + space
  • creating a sorting rule - Shift + Ctrl + F
  • search - F7
  • address book - F8

See all hotkeys of The Bat! can be in the program menu opposite the corresponding commands.

The program also has the ability to set your own combinations of hot keys through the menu "Properties" / "Settings" / section "Other options" / "System keys".

That's all I wanted on this moment tell you about The Bat! I hope the information in this lesson will be useful to you and will help you to work more productively with this wonderful program!

Read, how to use the built-in email client functions for backing up, importing and exporting data, as well as ways to restore them if they are lost. The Bat! Is an email client for the Microsoft Windows operating system, which is positioned as an alternative option for advanced users.

In this article, we will describe how to use the built-in functions of the mail client for backing up, importing and exporting data, as well as ways to restore them if, as a result of careless or thoughtless user actions, they are still lost.

Content:


Where is The Bat mail profile data stored?

To understand the principle of working with The Bat mail client data and correctly understand the essence of the actions described in this article, let's figure out how and where the program stores the user's mail profile data.

By default, all The Bat data is saved in the folder:

As in the case with other mail clients, The Bat saves in this folder config files and folders with mail profile data, including the user's direct incoming and outgoing mail, these are:

In The Bat shared folder:

  • account.flb- configuration file shared folders;
  • account.cfn- file with settings for shared folders;
  • account.srb- file of filters for shared folders;
  • * .abd- files of address books;
  • accorder.cfg- configuration file with the order of boxes in the folder tree;
  • addrbook.ini- configuration file of address books;
  • avconfig.ini- configuration file of antivirus plugins;
  • config.cdb- file with settings for system hot keys, viewing modes, tabs in the list of letters;
  • events.cfg- the configuration file of the scheduler;
  • ex_log.txttext file with a bug report;
  • smartbat.ini- SmartBat configuration file;
  • smartbat.txt- basic notebook for SmartBat;
  • smimernd.bin- temporary encryption file (random number generation);
  • tbplugin.ini- configuration file for plug-in plugins;
  • tbuser.def- configuration file with interface settings;

In the folder with the name of the user's mailbox:

Folders whose names correspond to the names of folders in the mailbox, as well as files:

  • account.cfn- mailbox settings file;
  • account.flb- configuration file of folders inside the mailbox;
  • account.imp- IMAP debug configuration file;
  • Account_log.txt- a text file, a log of interaction with the server, processing filters and other information;
  • account.srb- sorter configuration file;

In the folder with the name of the user's mailbox folder (Sent, Inbox, Trash ...):

  • messages.tbb - folder mail base file;
  • messages.tbn - index file.

How to create a backup copy of The Bat mailbox

As mentioned in the previous section, each mail profile that is connected to The Bat mail client has a separate folder. This folder contains a set of files with user settings and message data for a specific mailbox. In our case, as you can see from the screenshot, two mailboxes with names are connected to the mail client "Gmail.com" and "site".


There are two ways to back up your mailbox data:

Create a copy of the folder manually

You can manually create a copy of the mailing database and save it elsewhere. When reinstall Windows, or formatting hard disk with the subsequent reinstallation of The Bat, these folders can be moved back to the folder with the mail client data.

For this:

    after installing the program, at the first start, do not create a new mailbox, but close The Bat.

    Go to the folder with the mail client data
    C: \ Users \ UserName \ AppData \ Roaming \ The Bat!
    and transfer the created earlier copies of the mailbox folders to it.

    Now, after launching, The Bat will not require the creation of a new mailbox, but will download data from the copied folders, which are essentially folders of mailbox profiles.

    Using The Bat function "Backup ..." (* .TBK)

    The Bat has a built-in tool for backing up email client data. To create a backup copy of your mailbox data using The Bat:


    As a result, an archive file with a user-specified name and extension will be created in the folder specified when creating the archive. * .TBK.

    You can restore mailbox data from a backup using the function. To do this, just choose Tools / Restore from backup ... and indicate to the mail client the location of the archive file.


    Export and Import function of letters

    In case the user intends to use another mail client or vice versa, the user switches to The Bat after using another mail client, the program provides the function Export and Import letters.

    A feature of this function in The Bat is the ability to set the file format for exporting letters to it or select the file format for importing, as well as the ability to select the program from which the user wants to import letters in the Import Wizard.


    Importing and Exporting an Address Book

    In addition to importing a database of letters, The Bat provides the ability to create a copy or transfer an address book from other mail clients.

    To implement Import / Export need to:


    Recovering The Bat data with Hetman Partition Recovery

    The presence of The Bat functions described in the previous sections allows users to save all their mailbox data in separate files of certain formats, as well as export and import them between mail clients or other applications. This is certainly very convenient, it allows the user to create a backup copy of his mailbox data, and restore them in case of need to reinstall the program, reinstall operating system or formatting the disk.

    But what about the loss of data files or files with a copy of The Bat data of one of the formats described above?

    Restoring the Bat mail profile (The Bat!)

    If The Bat mail profile is deleted as a result of reinstalling Windows or formatting hard disk, you can restore it as follows:


    Recovering other The Bat data

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

    Since the method of restoring other data of The Bat mail client is the same, regardless of the file format, we will try to show the process of restoring such data using one example.

    For this:


Mouse works with mail data on a computer in the same way as most other mailers. The program creates a folder for the user profile, where it stores configuration files, contents of email accounts and certificates.

Still in the process of installing The Bat! you could choose where to place the mail directory. And if you did not specify the appropriate path then, then the program uses the default option:

C: \ Users \ Username \ AppData \ Roaming \ The Bat!

Go to the mail directory The Bat! and immediately mark one or more folders with the names of our boxes. All email profile data are stored in them. And letters as well.

But not everything is so simple here. The mailer does not store every letter in separate file... For incoming and outgoing mail, there are databases - something like archives. Therefore, you will not be able to restore a specific message - you will have to "restore" the entire storage.


After that, all that remains is to wait for the completion of the conversion of the client's mail databases to their original state.

How to backup and restore emails in The Bat!

Let's say you've reinstalled the Ritlabs mailer and defined a new directory for mail directory... In this case, lost letters can be easily restored. To do this, simply move the folder with the data of the required mailbox to a new path.

Although this method works, it is better to use the built-in data backup function to prevent such situations.

Let's say we want to transfer all received mail to another computer and work with it there also using The Bat! Well, or we just want to be guaranteed to keep the contents of the letters when reinstalling the system. In both cases, you can use the function to export messages to a file.


After that, the backup copy of letters can be imported, for example, into The Bat! Installed on another PC.


As a result, letters from the backup copy will be completely restored and placed in the previous folder of the mail account.