The situation when important messages were accidentally erased is familiar to many smartphone users. You might have deleted a chat by mistake, cleared your device's memory, or worse, experienced an app crash. At this moment, panic arises: is it possible to return text, photos and voice messages? Fortunately, the architecture Android and features of the messenger WhatsApp provide for several data protection mechanisms that often go unnoticed by the average user.
Unlike some other platforms, where deletion is an irreversible action, the ecosystem is WhatsApp based on Android creates automatic copies of your dialogs. These files are stored either in cloud storage Google Driveor in a hidden folder in the phoneโs internal memory. The restoration process does not require deep technical knowledge, but requires strict adherence to the sequence of actions. If you try to skip steps or break the logic of the procedure, the data may be overwritten by new, more recent backups that do not contain the deleted information.
Before taking active steps, you need to understand the principle of operation of the backup system. By default, the application creates new archives daily at night, replacing old files. This means you have a narrow window of opportunity to return the last 7 days of data when using the local method. In this article, we will analyze in detail all the available methods, from standard settings to advanced methods of working with the file system, so that you can recover lost information as efficiently as possible.
Principles of WhatsApp backup
To successfully restore correspondence, you need to clearly understand where exactly your data is stored. The system offers two main ways to save correspondence history: cloud service Google Drive and local storage of the smartphone itself. Local backups are created automatically every day at 2 am (the time depends on the device settings) and are stored for 7 days. This means that you can restore chats that were deleted no more than a week ago.
Cloud backups work differently. It is tied to your Google account and allows you to store data indefinitely (within your disk quota), but the frequency of creating such copies depends on your settings - daily, weekly or monthly. The main problem is that when restoring from the cloud, you roll back the state of the messenger to the time the last copy was created. All messages received after this point, but before the current time, will be lost if they are not saved separately.
โ ๏ธ Attention: The recovery process always replaces the current database with the one in the archive. You cannot "merge" the old copy with new messages - you will have to choose one of the versions.
It is also important to consider encryption. Starting from certain versions Android, local databases can be encrypted with a key tied to a specific device or account. Trying to transfer a backup file to another phone without first setting it up may result in: WhatsApp simply will not see this file or will not be able to decrypt it. Therefore, the recovery method directly depends on which device the correspondence was deleted on.
Before any manual manipulation, copy the current database folder to your computer. This will create a rollback point if the recovery process does not go according to plan and you lose fresh messages.
Restoring correspondence via Google Drive
This is the simplest method recommended by the developers, which does not require working with files through Explorer. However, it has one critical limitation: you must set up automatic backups to the cloud in advance. If this feature was disabled or the last copy was created a long time ago (before important messages were deleted), this method will not work. First, make sure that the same one is active on the phone Google accountthat was used to create the backup.
The recovery process is initiated only with a clean installation of the application or after completely uninstalling the current version. It is impossible to simply go into the settings and click the "Restore" button inside a running application - the system will require reinstallation. You need to delete WhatsApp from the device, then download it again from the store Google Play. When you launch it for the first time, the setup wizard will offer to restore chat history and media files from Google Drive.
After confirming your phone number, the application will detect an available backup copy. A message will appear on the screen with the date and size of the archive. If you click Skip, the ability to restore will be lost until the next reinstallation. Therefore, it is critical to press Recover. The process may take a long time depending on the amount of data and the speed of the Internet connection. First, text messages are restored, and then, in the background, media files are downloaded.
- ๐ฑ Make sure that the phone number is set to the same phone number as when creating the copy.
- โ๏ธ Check the available space on Google Drive and in the internal memory of the phone.
- ๐ Connect the device to a Wi-Fi network and a charger so that the process is not interrupted.
It is worth noting that restoring from the cloud does not return messages that were deleted before the backup itself was created. If you deleted the chat yesterday, and a backup was made to the cloud the day before yesterday, these messages cannot be returned. In such cases, methods of working with local files, which are stored directly in the smartphoneโs memory and are updated more often, come to the rescue.
Recovery method through local files (without Root)
If there is no cloud copy or it is too old, the only chance is to use local backup files. The system Android stores them in a protected directory. In new versions of the operating system (Android 11 and higher), the path to these files has changed due to stricter security policies (Scoped Storage). Now the files are located along the path Android/media/com.whatsapp/WhatsApp/Databases, whereas on older devices it was a folder WhatsApp/Databases at the root of the internal memory.
To implement this method, you will need any file manager, for example Files by Google or the built-in explorer. Your task is to find a file with a name like msgstore-YYYY-MM-DD.1.db.crypt14 (the number at the end indicates the encryption version, it may differ). A file named simply msgstore.db.crypt14 is the current database, which contains only what is on the phone now (without deleted messages). You need to find a file with a date preceding the deletion of the correspondence.
The action algorithm is as follows: rename the current file msgstore.db.crypt14 to any other name, for example, msgstore.db.crypt14.CURRENTto save it as a backup copy of the current state. Then select the archive you need for the past date and rename it to msgstore.db.crypt14 (removing the date from the title). After this, delete the application WhatsApp and install it again. When starting, select recovery from a local copy.
โ ๏ธ Attention: The encryption version (the number in the file name, for example crypt14, crypt15) must match the one that your current version of WhatsApp uses. If you rename a file with the wrong encryption version, recovery will fail.
This method allows you to return messages deleted up to 7 days ago, since the system stores exactly 7 of the latest daily copies. If the necessary information was deleted two weeks ago, local files will no longer help, and you will have to turn to older archives if you saved them manually on a computer or memory card.
โ๏ธ Preparing for local recovery
Working with the database and encryption versions
One of the most difficult moments in the recovery process is correctly determining the encryption version. Database files WhatsApp are constantly updated along with the application. If you try to restore a copy created on a very old version of the messenger using a new version of the application (or vice versa), the process may fail. The file extension always indicates the current standard: .crypt14, .crypt15 and so on.
Sometimes users are faced with a situation when there are no files with the required dates in the folder Databases . This can happen if you cleared the application cache, used third-party memory cleaners, or if the phone was low on space and the system was unable to create a new copy. In rare cases, searching for files in the file manager recycle bin helps if the deletion occurred recently and the file was erased by the user accidentally.
For advanced users, it is possible to use emulators or older versions WhatsApp to read specific database formats, but this requires availability root access and deep knowledge in administration Android. Without superuser rights, access to system partitions where shadow copies can be stored is denied. It is better for the average user to limit himself to standard methods of renaming files in a user directory.
| Copy type | Archive depth | Requirements | Risk of loss data |
|---|---|---|---|
| Google Drive | Depends on settings (day/week/month) | Google account, Internet | High (loss of messages after the backup date) |
| Local (automatic) | 7 days | Access to the file system | Medium (you need to rename the files correctly) |
| Manual export | Indefinitely (as long as the file exists) | User actions before deletion | Low (the file is stored separately) |
What to do if the file is not renamed?
If the file manager does not allow you to rename the file, check the application permissions. In some Android shells, you need to provide access to manage all files in the system settings.
Exporting chats as a method of preventive protection
Although the topic of our article is devoted to recovery, it is impossible not to mention the most reliable way to save history - the "Chat Export" function. This method does not allow you to restore correspondence within the application in the usual form (with the ability to reply), but it saves the entire text history and media files in the form of an archive that can be opened on any device. This is ideal for archiving important legal correspondence or memories.
To use this function, open the desired dialog, click on the three dots in the upper corner and select More โ Export chat. The system will prompt you to select the option: โWithout mediaโ or โWith mediaโ. In the first case, you will receive a text file .txt, in the second - an archive .zip with photos and videos. This file can be sent to your email, saved to the cloud, or sent to your computer.
The main advantage of this approach is that this data does not depend on the structure of the database WhatsApp. Even if you change your phone, delete your account, or format your device, the text file will remain readable. To view the history, any text editor is sufficient. This is the only way to guarantee the preservation of correspondence that you are afraid of losing in the future.
- ๐ The export text file contains timestamps and sender names.
- ๐ธ The "With media" option creates heavy archives, be careful with mail limits.
- ๐ Exported files are not encrypted with a key WhatsApp, keep them safe.
Frequent errors and problems during recovery
Despite its apparent simplicity, users often encounter errors that ruin all efforts. One of the most common problems is a phone number mismatch. The database is strictly tied to the number for which it was created. If you try to restore a copy created for the number +7900... to the account +7901..., the application will throw an error or create a new empty chat.
Another common error is related to paths to files on new versions. Android. Users are looking for a folder WhatsApp in the root of memory, but it has moved deep into the system directories Android/media. If you created a backup file in the wrong folder, the messenger simply will not see it during installation. It is also worth remembering about the lack of space: unpacking the archive requires an amount of free memory that is 2-3 times larger than the size of the copy file itself.
โ ๏ธ Attention: Interfaces and file paths may vary slightly depending on the smartphone model (Samsung, Xiaomi, Pixel) and shell version. Always check the current folder structure on your specific device.
If the recovery freezes at the "Prepare..." or "Recovery..." stage, do not forcefully interrupt the process. This is often due to a slow memory card or flash memory. Give your device time, even if it seems frozen. A forced reboot at this point can permanently damage the database, making any further recovery attempts impossible.
Recovery success is 90% dependent on having an up-to-date backup created BEFORE the messages were deleted. Without a backup, the chances are close to zero.
FAQ: Frequently asked questions
Can I restore messages if I did not make a backup?
Unfortunately, without a previously created backup copy (local or cloud), it is almost impossible to restore deleted messages. Data is erased from WhatsApp servers immediately after delivery and removal from the user. Third-party apps that promise recovery without backup are, in most cases, fraudulent.
Will the other person see that I have recovered a deleted message?
No, correspondence recovery occurs locally on your device. The status of the interlocutor's messages will not change. If you deleted a message from yourself and then restored it from a copy, the interlocutor will not know about it unless you send a new message to this chat.
How to recover photos and videos from a deleted chat?
Photos and videos are restored along with the text history when using a full backup. If you used the local method without media (which is rare, since local copies are usually complete), the files may not load. Also check your phone's gallery - sometimes media files remain in folders WhatsApp Images even after deleting a chat.
How long are local backups stored?
WhatsApp automatically stores the last 7 local backups. Every day a new copy is created, and the oldest (eighth) is deleted. Thus, you can restore data up to a week ago using a file manager.
Is it possible to read the WhatsApp database on a computer?
Database files (.db.crypt) are encrypted and cannot be opened by standard apps. To read them, special utilities and decryption keys are required, which are located in the phoneโs system files. It is easier for an ordinary user to restore a copy on the phone than to try to read a file on a PC.