Losing important correspondence, photos or work documents due to a system failure or a broken smartphone is a real nightmare for any user. Fortunately, the messenger WhatsApp has built-in data protection mechanisms, creating backups on a regular basis. However, at a critical moment, users often do not know where exactly these files are physically stored and how to correctly retrieve them to restore information.
In this article we will analyze in detail the architecture of data storage in an application on the platform Android. We'll look at two main scenarios: searching for local files in the device's internal memory and checking the status of cloud backups in Google Drive. Understanding the folder structure and encryption principles will help you not only recover lost chats, but also transfer them to a new phone without losing history.
Before you begin manipulating the file system, it is important to determine what type of backup you used previously. By default, modern versions of the messenger offer synchronization with the cloud, but many users, out of habit or for privacy reasons, rely on local backups. The algorithm for your further actions and the necessary tools for accessing data directly depend on the chosen method.
Local storage: search for files in internal memory
The most reliable way to find a backup copy if you do not have access to the Internet or a Google account is to directly access the file system of your smartphone. Starting from version Android 11, Google has tightened its folder access policies, so the path to messenger data has changed. Previously, the files were located in the root of the internal memory, now they are hidden deeper in the system directories.
To access this data, you will need any file manager that supports working with system folders, for example, Files by Google or Total Commander. You need to follow the path Android/media/com.whatsapp/WhatsApp/Databases. This is where encrypted databases are stored with the extension .db.crypt14 (the number may vary depending on the version of the application).
Please note that the files in this folder have a specific naming system. The main file is usually named msgstore.db.cryptXX, where XX is the encryption version number. There may also be files with dates in the name, for example, msgstore-2023-10-25.1.db.crypt14. These files are archives for the past days, which are created automatically every morning at 02:00.
If you do not see the Android folder in the file manager, try connecting the phone to the computer via USB and selecting file transfer mode (MTP) - on a PC, access restrictions are often less strict.
โ ๏ธ Attention: WhatsApp database files are encrypted with a unique key that is stored in a protected area of the system. Simply copying a file to another phone without an encryption key is not enough - to restore you need the same account and, preferably, the same device or compatible OS version.
It is important to understand the difference between the current database and archived copies. The system stores up to the latest 7 daily local copies. If you accidentally deleted a message this morning and the evening copy has not yet been created, you can try to restore yesterday's version by renaming the corresponding file with the date before reinstalling the application. msgstore.db.cryptXX before reinstalling the application.
Cloud backups to Google Drive
The second and most convenient method for most users is using cloud storage Google Drive. Unlike local files, copies in the cloud do not take up space on your phone and are protected from physical damage to the device. However, it is impossible to find them through the standard interface of the file manager, since they are hidden in the service section of the service.
To check the availability and relevance of the cloud copy, you need to go to the settings of the messenger itself. Go to menu Settings โ Chats โ Chat backup. In this section you will see the exact date and time of the last save, as well as the amount of space occupied. The Google account to which synchronization is performed is also displayed here.
It is worth noting that backup files in Google Drive are not visible to the user like regular documents. They do not appear in the list of files on the disk and cannot be downloaded or viewed manually. This is done for security purposes: the data is only available for recovery within the WhatsApp application when logged in with the same phone number.
If you plan to change your phone, make sure you are signed in to the same Google account on the new device. The recovery process will start automatically the first time you install the application, if the system detects a suitable copy in the cloud. If there is no Internet or mismatched accounts, the application will offer to restore data from local storage, if available.
File structure and encryption versions
When figuring out how to find a WhatsApp backup on an Android phone, you cannot ignore the technical side of the issue. Database files are constantly evolving, and with each major application update the encryption algorithm changes. This is expressed by changing the file extension, where the number after the word crypt indicates the version of the security protocol.
Below is a table showing the evolution of encryption formats in recent years. Understanding this table will help you determine whether the old copy you found is compatible with the current version of the messenger.
| Encryption version | File extension | Use period | Features |
|---|---|---|---|
| Crypt12 | .db.crypt12 | 2017 โ 2019 | Outdated format not supported by new versions |
| Crypt14 | .db.crypt14 | 2019 โ 2021 | Widely used format, requires a key key |
| Crypt15 | .db.crypt15 | 2021 โ 2023 | Improved metadata protection |
| Crypt17/Crypt18 | .db.crypt17/18 | 2023 โ present | Current versions for modern devices |
Attempt to restore the database An older version of encryption on a new application without special conversion is usually doomed to fail. The application simply does not recognize the file or will throw a data integrity error. Therefore, if you store archives on an SD card or computer for years, periodically check their compatibility.
Is it possible to decrypt a database on a computer?
Theoretically, yes, but this requires extracting a special key from the system partition of the phone (Root access is required). Without this key, .db.crypt files remain an unreadable set of bytes even for data recovery specialists.
It is also worth considering that multimedia files (photos, videos, voice messages) are not stored inside the database msgstore. They are located in separate folders, for example Android/media/com.whatsapp/WhatsApp/Media. The chat backup contains only links to these files. If you deleted media from the gallery, restoring only the chat database will return the text history, but there will be stubs instead of pictures.
Restoring data from a local copy
The process of restoring from a local file requires accuracy and following the sequence of actions. An error at any stage can cause the application to create a new empty database, overwriting your attempts to return old data. First of all, make sure that you have access to the file with the desired date in the folder Databases.
The action algorithm is as follows:
- ๐ Uninstall the current WhatsApp application from your device (after exporting important chats if possible).
- ๐ Use your file manager to find the backup file you want to restore.
- ๐ Rename this file to
msgstore.db.cryptXX(keeping the current encryption version number). - ๐ Install WhatsApp again and go through the number verification.
After confirming the phone number, the system will automatically detect a local copy. You will be prompted to click the Restorebutton. It is extremely important not to miss this moment: if you click "Skip", the recovery process will be canceled, and it will become impossible to return the data without reinstalling it again.
โ๏ธ Checklist before recovery
โ ๏ธ Attention: When restoring from a local copy, all messages received after the date this was created backup will be permanently deleted. The system will roll back the state of the chats exactly to the moment when the snapshot of the data was taken.
Typical errors and problems when searching
Users often encounter a situation where a file seems to be found, but restoration does not occur. One of the most common reasons is a phone number mismatch. Backups are strictly tied to a specific number. If you are trying to restore data to a phone with a different SIM card or have changed the number, the security system will block access to someone else's data.
Another common problem is related to insufficient free space. Unpacking and installing a backup requires an amount of memory that is 2-3 times larger than the size of the archive file itself. If your smartphone is full to capacity, the process may be interrupted in the middle, damaging the database. Always free up at least 1-2 GB before starting the procedure.
Version conflicts are also possible. If you installed a beta version of WhatsApp or a version from a third-party store (not Google Play), it may use a different encryption key or may not have access rights to the standard backup folder. In such cases, it is recommended to use only official releases from the application store.
The success of recovery is 90% dependent on the correctness of the file name and the coincidence of the encryption version with the installed application. Do not ignore the numbers in the file extension.
Sometimes users complain that some chats have disappeared after recovery. This often happens if certain groups or contacts were excluded from the automatic backup in the settings. Check your backup settings: perhaps important dialogues simply did not end up in the archive according to your own design.
Data loss prevention and automation
In order not to search for backups in a panic, it is better to configure the system so that the risk of loss is minimized. The ideal strategy is a combination of local and cloud methods. A local copy will save you if there is no Internet, and a cloud copy will save you if the device itself is lost or stolen.
It is recommended to regularly check the functionality of the backup. Once a month, try to artificially initiate the creation of a copy through the settings and make sure that the file appears in the folder Databases with the current date. Also keep an eye out for notifications from Google Drive that a backup has not taken place for too long.
Don't forget about media files. Set up automatic uploading of photos and videos to Google Photos or other cloud storage. This will create an independent layer of protection for your content that is not dependent on the vagaries of the messenger database. In the event of a complete system failure, you will only lose the context of the correspondence, but the images themselves will remain intact.
โ ๏ธ Attention: The settings interface and file paths may differ slightly on smartphones from different manufacturers (Samsung, Xiaomi, Pixel). Always check the latest documentation for your model if the standard paths do not work.
Use the "Export Chat" function for particularly important conversations. This will allow you to save the correspondence as a .txt text file, which can be opened on any device even without installing WhatsApp.
Frequently asked questions (FAQ)
Can I read a WhatsApp backup on a computer without a phone?
No, read the file directly .db.crypt on a computer is impossible without an encryption key, which is stored only on the phone. The file is intended exclusively for recovery within the mobile application.
What to do if you forgot the Google account to which the copy is linked?
It is impossible to restore a cloud copy without access to your Google account for security reasons. In this case, the only chance is to have a local copy in the phone memory or on the SD card.
How long are local backups stored?
By default, WhatsApp stores the latest 7 daily local copies. Old files are automatically deleted when creating a new backup, so as not to take up space in the deviceโs memory.
Does changing the phone number affect the possibility of recovery?
Yes, it does critically. The backup copy is linked to the phone number. When changing the number, the old copy will become unavailable for restoration to a new number, unless you use the number change function inside the application before creating a backup.
Where is the WhatsApp folder on Android 11 and newer?
On new versions of Android, the path has changed to Android/media/com.whatsapp/WhatsApp. In older versions, the folder was located in the root of the internal memory simply WhatsApp.