The loss of important correspondence or the need to transfer message history to a new device are situations that almost every messenger user faces. The standard recovery mechanism in the application is simple, but it does not allow you to simply โopenโ the archive and look at old photos or texts without completely replacing the current data. A natural question arises: how to extract information from a backup WhatsAppwithout deleting everything that has accumulated over the past days?
In the ecosystem Android backup files are stored in encrypted form, which creates additional difficulties for the average user. Simply renaming a file or moving it to another folder will not give the desired result - you will only get a set of incomprehensible characters. However, there are proven methods that allow you to safely work with data archives.
In this article we will analyze in detail the data storage architecture of the messenger, consider standard recovery tools from the cloud Google Drive and local files, and also touch on the topic of using specialized third-party software. You will learn where backup files are physically located and how to correctly interpret their contents.
Where backup files are stored on Android
Understanding the file structure is the first step to successful data management. By default, the application creates automatic archives daily at 2 am. These files are saved in the internal storage of the device, but the path to them changed depending on the version of the operating system.
On modern smartphones running Android 11 and higher, due to tightening security policies (Scoped Storage), the path has changed. Now the files are in a protected directory: /Android/media/com.whatsapp/WhatsApp/Databases. On older versions of the system the path was simpler: /WhatsApp/Databases. This is where you will find files with names like msgstore-2023-10-25.1.db.crypt14.
File extension, such as .crypt14 or .crypt15indicates the encryption version. The figure changes with major app updates. Without a special decryption key, which is stored in the system partition of the phone, it is impossible to open such a file with standard text editors. This is done to protect your privacy from intruders.
โ ๏ธ Attention: Directly editing the database files in this folder may lead to the messenger being completely inoperable. Never change file extensions manually unless you plan a recovery procedure.
In addition to encrypted databases, the folder WhatsApp/Media stores all received media files: images, videos and voice messages. They are not encrypted and are available for viewing through any file manager immediately after creation.
Recovery from a local copy without data loss
The most reliable way to โreadโ old correspondence is to restore it from a local file on a separate device or emulator. If you have a second phone or tablet on Android, you can turn it into a time machine for your correspondence.
To do this, you need to copy the desired backup file (for example, a week ago) from the folder Databases of your old phone (or from cloud storage if you downloaded it on a PC) to the corresponding folder on the second device. Before copying, it is important to rename the target file to msgstore.db.cryptXX, removing the date from the name, since the application looks for a file with that name during installation.
After moving the file, install WhatsApp to the second device, but do not log into your account right away. When you launch it for the first time, the messenger will offer to find a backup copy. If the file is located correctly, the system will detect it and offer recovery. After completing the process, you will have access to the entire correspondence history at the time the backup was created.
Use an old smartphone or cheap tablet as an โarchive device.โ Install WhatsApp on it, restore the old backup and store the history there without touching the main phone.
This method allows you to read old messages in the standard application interface, view media and export chats. The main condition is that the phone number to which the copy is restored must match the one on which it was created, or you must be prepared for the old account to be active on this device.
Using Google Drive to migrate data
Cloud storage Google Drive is the main backup method for most users. However, you cannot read the backup directly in the interface of the web version of Google Drive. The files are stored in a hidden application folder and are not visible to the user in the form of regular documents.
The cloud recovery process starts automatically when the application is reinstalled. You just need to make sure that the same account is added on the device Googlethat was used to create the copy. When you start it for the first time, WhatsApp will ask for permission to access the disk and find the latest available backup.
- ๐ฑ Make sure that there is enough free space on the phone - the size of the unpacked database can be several times larger than the size of the compressed archive.
- ๐ Connect the device to charging and stable Wi-Fi, so as the downloading and decryption process consumes a lot of energy.
- ๐ Check that the phone number matches the one associated with your cloud account.
It is important to understand that restoring from Google Drive always replaces the current database on the device. If you made a backup in the morning and in the evening decided to restore from yesterday's cloud copy, all messages received for that day will be irretrievably lost.
Third-party apps for viewing and extraction
For those who want to extract specific messages or media files without completely reinstalling the system and using a second phone, there are specialized utilities. apps like WhatsApp Viewer or Titanium Backup (require root access) allow you to work with databases more flexibly.
However, the key problem remains the same - encryption. In order for the app to read the file .crypt, it needs a decryption key. On devices without Root access, it is extremely difficult to obtain this key. Some paid solutions for PCs offer the ability to recover data directly from the cloud, but their effectiveness often depends on the version of the encryption protocol.
If you have root access, you can extract the decryption key from the system file /data/data/com.whatsapp/files/key. By combining this key with a database file, you can try to decrypt the correspondence using third-party Python scripts or specialized software. This path is only suitable for advanced users.
โ ๏ธ Attention: Downloading unverified apps for โhackingโ or viewing chats from dubious sites can lead to the theft of your personal data. Use only open source software with a reputation (for example, from GitHub).
| Method | Complexity | Risk of data loss | Necessity of Root |
|---|---|---|---|
| Recovery on the second device | Low | No | No |
| Google Drive (standard) | Low | High (overwriting) | No |
| Third-party software (PC) | Average | Average | Often required |
| Manual decryption | High | No | Required |
Export of chats as an alternative to reading backup
If your goal is simply to save important correspondence or read it on your computer, you donโt have to bother with database files. The built-in chat export function allows you to upload the history in text format.
Open the desired dialogue, click on the menu (three dots) and select More โ Export chat. You can choose the option "Without media" or "With media". In the first case, you will receive a compact .txt file, in the second - an archive .zip with text and all the pictures.
The resulting file can be opened on any device: computer, tablet or other smartphone. The text will be formatted with the dates and times of the messages. This is an ideal way to archive legally significant correspondence or simply memorable dialogues.
Export restrictions
When exporting with media files, the number of messages is limited (about 10,000), without media - up to 40,000. For very long stories, you will have to do several exports by period.
The only one The disadvantage of this method is that you will not be able to import this text back into the application so that it becomes part of the message history. This is a read-only and archiving format.
Frequent errors and problems during recovery
Users often encounter a situation where the application writes โBackup not found,โ although the files are definitely in the folder. Most often, the reason lies in a mismatch in the file name. The application waits for a strictly defined name: msgstore.db.cryptXX. Any extra characters or dates in the main file name will result in an error.
Another common problem is a Google account mismatch. If you reset your phone and logged into a new Google account, WhatsApp will not see the backup made under the old account. It is also worth checking whether Google Drive synchronization is enabled in your phone settings.
Sometimes the recovery process freezes at the โPreparing...โ or โRecovering...โ stage. This may indicate corruption of the backup file or lack of RAM. In such cases, try clearing the application cache before starting the procedure or freeing up disk space.
โ๏ธ Diagnosing a backup problem
If the file is physically damaged (for example, due to a recording failure when the phone is turned off), it will not be possible to recover data from it using standard means. In this case, only professional data recovery services will help if the file was stored on a memory card, or hope for an earlier copy.
Is it possible to read a WhatsApp backup on a computer without a phone?
Read an encrypted database file (.crypt) on a computer without the decryption key, which is in the phone, impossible. However, you can install an Android emulator (for example, BlueStacks), transfer the backup file there and restore the copy inside the emulator using the same phone number.
What should I do if I forgot the password for the backup?
In WhatsApp on Android there is no function for the user to set a password for local or cloud backups in standard mode. Encryption occurs automatically based on the device key. When it comes to backups in Google Drive, access is protected by a password from your Google account. It is impossible to reset the encryption of the database itself without the key.
How often should you make backups?
It is recommended to configure automatic creation of copies once a day or once a week, depending on the intensity of correspondence. For critical data, you can use the chat export feature manually after significant conversations.
Do backups take up space in Google Drive?
Yes, WhatsApp backups take up space in your Google account quota. If you run out of space, the creation of new copies will pause. Regularly check your storage and delete old unnecessary backups through the app settings.