Losing important correspondence in the messenger is always stressful, especially if it contains work agreements or priceless memories. The situation when you accidentally pressed the delete chat button or completely erased the application is familiar to millions of Android smartphone users. The good news is that the architecture WhatsApp initially provides for data backup mechanisms that allow you to return information in almost its entirety. However, the success of the entire operation directly depends on whether automatic backups were configured in advance and how much time has passed since the deletion.
Data recovery on Android devices occurs in two main ways: through cloud storage Google Drive or through local files saved in the memory of the smartphone itself. The first method is the most convenient and does not require a deep dive into the file system, but it has a strict condition: you must have a recent backup created before the incident. If synchronization with the cloud was not enabled or the latest copy is too old, hidden database files that the system creates daily come to the rescue. It is important to understand that the recovery process is not always instantaneous and requires strict adherence to the algorithm of actions so as not to overwrite old data with new ones.
In this article we will analyze in detail both methods of returning lost information, and explain the nuances of working with database files msgstore.db.crypt and answer the most frequently asked questions. You will learn what to do if the standard method does not work, and what restrictions the messenger's security policy imposes. Remember that free recovery is only possible using the standard tools of the application or operating system - third-party paid apps are often fraudulent and do not guarantee success.
Restoring correspondence via Google Drive cloud backup
The easiest and most reliable way to get your messages back is to use the automatic backup function to the cloud Google Drive. This method works ideally if you have previously activated this option in the messenger settings and your Google account is linked to your current device. The recovery process in this case is built right into the application installation logic: the first time you launch it after uninstalling or reinstalling WhatsApp it will prompt you to find the saved copy.
To successfully complete the procedure, you will need the same phone number and the same Google account that were used to create the backup. If you change your number or log in with a different mailbox, the system will not be able to identify your data in the cloud. It is also critically important to make sure that there is enough free space on the smartphone, since unpacking the archive requires an amount of memory that is several times larger than the size of the backup itself.
The algorithm of actions is extremely simple, but requires care at the confirmation stage. After installing the application and entering the phone number, a notification about the availability of a backup copy will appear on the screen, indicating the date and size. It is at this moment that you need to press the button Restore. If you accidentally click Skip, the recovery process will be canceled, and it will be impossible to return the data without completely reinstalling the application.
โ ๏ธ Attention: If you clicked the "Skip" button during the initial setup, you will have to completely delete app WhatsApp, clear its cache in Android settings and install it again to see the recovery prompt again.
โ๏ธ Check before restoring from Google Drive
It is worth considering that recovery from the cloud does not include call history and some media files if they have not been marked for saving. In addition, the process may take considerable time depending on the speed of your Internet connection and the size of the archive. Do not interrupt the download and do not lock the smartphone screen to avoid data recording errors.
Returning messages from a local copy on the device
If cloud synchronization has not been configured or the latest copy in Google Drive is outdated, you have a backup option - local backup. Messenger WhatsApp by default creates copies of chats every night at 2 am and saves them in the internal memory of the device or on an SD card. These files are stored for 7 days, which gives you the opportunity to roll back the state of the correspondence to any date within the last week.
Local files have a specific naming format, for example msgstore-2023-10-25.1.db.crypt14, where the numbers indicate the creation date, and the extension crypt indicates the encryption version. To restore data from such a copy, you will need a file manager with access to system folders, since in new versions of Android the path to data has become more secure. You will need to find the file with the desired date, rename it and place it in the correct directory before installing the application.
The main difficulty with this method is renaming the file correctly. The system expects to see a file with the name msgstore.db.cryptXX (where XX is your encryption version) without specifying a date in the name. If you leave the date in the file name, the application simply will not recognize it as a current recovery database and will create an empty new database on first launch.
Where to look for backup files in new Androids?
Starting with Android 11, the folder path has changed for security reasons. The files are now located at: Android/media/com.whatsapp/WhatsApp/Databases. In older versions the path was simpler: WhatsApp/Databases in the root of the memory or on the SD card. If you don't see the Android folder, turn on the display of hidden files in your explorer.
Once the file is renamed and moved to the desired folder, you need to remove the application itself WhatsApp from the device. Only a clean installation will be able to correctly pick up the database file you prepared. When you first log in, the system will detect a local copy and offer to restore data from it, while ignoring older versions from the cloud if the date of the local file is more current.
Step-by-step guide for working with database files
For those who decide to use the local recovery method, detailed instructions have been prepared. Errors at any of the steps may result in the file being corrupted or not being recognized, so follow each step carefully. You will need any advanced file manager, for example Files by Google, Solid Explorer or the built-in explorer of your smartphone.
First open the file manager and go to the internal memory section. Find the folder Android, then media, then com.whatsapp. Inside you will see the folder structure WhatsApp and Databases. If you have an older version of Android, the folder WhatsApp may be located directly in the root of the internal memory. In the folder Databases you will see a list of files with names like msgstore-YYYY-MM-DD.1.db.crypt14.
Select the file with the date to which you want to roll back the correspondence. Copy it or cut it. Now you need to rename this file by removing the date from the name. The final name should look like msgstore.db.crypt14. Please note that the number before the extension crypt must match the one in the original file (for example, crypt12, crypt14, crypt15). You cannot change the encryption version number manually - the file will not open.
Was: msgstore-2023-10-20.1.db.crypt14
Became: msgstore.db.crypt14
Make sure that there are no other files with the name in the folder Databases data-i="86">. If there are, delete them or rename them, adding "bak" to the end so that there is no conflict. After this, feel free to delete the application msgstore.db.crypt.... If there are, delete them or rename them, adding "bak" to the end so that there is no conflict. After that, feel free to delete the application WhatsApp through the phone settings, restart the device and install the messenger again from the store Play Market.
Before renaming the files, be sure to copy the entire Databases folder to your computer or other safe place. If you make a mistake in the name or encryption version, you can easily return everything as it was without losing your current files.
When installing, enter your phone number. When the application asks about restoring a backup, select a local file. The process will take time proportional to the number of messages. After completion, all chats that existed at the time the selected backup was created will return to the application.
What to do if there is no backup and the files are deleted
The most difficult situation arises when neither the cloud copy nor local files are available. This can happen if you have only used the application for a couple of days, did not have time to set up a backup, or if the phoneโs memory was completely cleared by formatting. In such cases, standard means WhatsApp are powerless, and you have to turn to third-party methods, the effectiveness of which is not guaranteed.
There are specialized apps for recovering data from Android, such as Dr.Fone, Tenorshare UltData or EaseUS MobiSaver. They scan the device's internal memory for residual files that have not yet been overwritten by new information. However, it is worth understanding that in modern versions of Android with encryption enabled (FDE or FBE), the chances of success are extremely low, since deleted files quickly become unreadable without decryption keys.
Another option is to check notifications. If you have enabled the function of saving notification history (available on Android 11 and later) or installed special notification logger applications, you can read the text of the latest messages directly in the system log. This will not restore correspondence within the application, but will allow you to find out the contents of important messages.
โ ๏ธ Attention: Beware of scammers on Telegram and on forums who offer to โrestore correspondence for moneyโ through access to WhatsApp servers. This is technically impossible since messages are only stored encrypted on your device and in your personal cloud. No one except you has access to them.
If the data is critical, you can try to make a complete memory dump of the device via mode Recovery or using root access, but this requires high qualifications and can lead to complete loss of warranty and data on the phone. For the average user, this method is not recommended due to high risks.
Frequent errors and problems during recovery
Even with a backup, users often encounter errors that interrupt the recovery process. One of the most common problems is mismatched accounts. If you created a backup to one Google account, and when restoring it, you logged into another, the application simply โwill not seeโ the file in the cloud. Check the list of accounts in your phone settings and make sure that the desired profile is active.
Another common reason for failure is an unstable Internet connection. Loading a large archive from Google Drive requires a stable communication channel. If the connection is lost mid-process, the file may become corrupted. In such cases, it is recommended to use a Wi-Fi network with a good signal and turn off mobile data so that the system does not try to switch between networks.
Also, users often forget about the importance of the encryption version. If you try to manually replace the database file from a newer version of the messenger to an older one (or vice versa), the application will throw a database error and will not start. Always use local copies created by the same version of the application that you currently have installed, or update the application to the latest version before restoring.
| Problem type | Probable cause | Solution |
|---|---|---|
| Does not see backup in Google Drive | Invalid Google account | Check active mailbox in phone settings |
| Error during unpacking | Not enough space | Clear at least 2-3 GB of free space memory |
| File not found locally | Incorrect path or name | Check the Android/media/com.whatsapp folder and file name |
| Old chats have been restored | There was a backup long ago | Check the date the backup file was created |
The success of recovery is 90% dependent on how regularly you made backups in the past. Set up a daily backup right now to avoid losing data in the future.
Preventing data loss in the future
In order to never again face the painful issue of restoring correspondence, you need to configure automatic backup correctly. Go to settings WhatsApp, select Chats, then Backup of chats. Set the backup frequency to "Daily". This ensures that you will lose a maximum of one day of correspondence in the event of force majeure.
It is also recommended to enable the option to save videos to a backup if you have enough space in the cloud. Videos take up a lot of space, but often contain unique moments that cannot be recovered otherwise. If the place is in Google Drive limited, you can set up copying only over Wi-Fi so as not to waste mobile traffic, and periodically clean old backups manually.
Another useful habit is to periodically export important chats to a text file or PDF. This function allows you to send your correspondence history to your email or save it to cloud storage in a readable form. To do this, open the desired chat, click on the menu and select More โ Export chat. You can choose whether to attach media files or not.
Remember that technological progress does not stand still, and application interfaces may change. If you don't find a button in Settings, it may have been moved in the updated version. Always check with the official help center WhatsAppif the standard ways do not work.
Can I restore correspondence if I changed my phone number?
Yes, this is possible, but only if you use the "Change number" function inside the application before deleting your account. If you simply deleted the application with the old number and installed it on a new one, the old correspondence will not be transferred automatically. You will need to restore the backup to the old number, and then use the function to transfer chats to the new number in the settings.
How long are local copies of WhatsApp stored on the phone?
By default, the application stores local backups for the last 7 days. Every day a new file is created, and the oldest one (eight days old) is deleted. Therefore, if you notice messages missing after 10 days, you will no longer be able to restore them from a local copy.
Will the messages I deleted be restored?
If you deleted a message for yourself, and a backup copy was created BEFORE this moment, then when you restore from this copy, the message will return. However, if a copy was created AFTER deleting a message, then this message is no longer in it, and it is impossible to restore it using standard means.
Does a backup copy take up space in Google Drive?
Yes, WhatsApp backups take up space in your Google cloud storage. They don't count towards your storage quota unless you have an old account created before a certain date. For new users, space for backups is deducted from the total limit of your Google One plan.
What to do if the recovery is stuck at 99%?
Do not delete the application immediately. Wait 15-20 minutes, sometimes the process of unpacking large databases takes a long time on older devices. If there is no progress for more than an hour, the file is most likely damaged. In this case, you will have to delete the application, clear the cache and try to restore from an earlier copy or from the cloud.