Losing a smartphone or accidentally resetting the settings always causes panic, especially if important correspondence, work files and family photos remain in WhatsApp . For Android users, the backup system is more complicated than it seems at first glance, since data can be stored in several places at once: on the device itself and in cloud storage. Understanding where these files are physically located is critical to saving them or forcibly restoring them.
In this article, we will analyze in detail the data storage architecture of the popular messenger, explain the difference between local backups and copies in Google Drive, and also provide step-by-step guide for different scenarios. You will learn how to manually copy a database if automatic recovery does not work, and what hidden nuances of the file system Android need to be taken into account when transferring information.
Knowing the exact paths to database files msgstore.db will allow you not to completely depend on automatic system scripts. This is especially true when changing a smartphone or switching to a clean installation of the operating system, when standard recovery methods may fail or require manual intervention.
Local storage: where to look for files on the device
All conversation data is saved on your phone in the form of local database files. You can find them using any file manager, but the path to them has changed with the release of new versions of the operating system. On modern devices running Android 11, 12, 13 and later the folder structure has been changed in order to increase the security and privacy of application data.
Now the main path to the backup copy looks like this: Internal memory โ Android โ media โ com.whatsapp โ WhatsApp โ Databases. This is where files with names like msgstore-2023-10-25.1.db.crypt14are located. The numbers in the name indicate the date the copy was created, and the extension .crypt with a number indicates the encryption version.
On older versions of Android where strict restrictions have not yet been introduced access to system folders, files can be located in a simpler path: Internal memory โ WhatsApp โ Databases. If you do not see the folder Android or it is empty, you should check the root of the internal memory for the presence of the folder WhatsApp.
It is important to understand that these files are protected by encryption. You will not be able to open them and read the text without the WhatsApp application itself and the associated phone number. However, their integrity and presence are a guarantee that your data is saved.
If you do not see the Android folder in the file manager, check the visibility settings for hidden files or try another explorer, since some standard applications hide system directories.
Google Drive cloud storage and its features
The second key place where the backup is stored copy is a cloud service Google Drive. Unlike local files, a copy in the cloud does not take up space on your phone and is linked to your Google account. This is the most reliable way to protect against physical loss of the device.
You can check the availability and date of the last copy through the settings of the messenger itself. To do this, go to Settings โ Chats โ Chat backup. It will indicate the time of the last save and the size of the data. If you plan to transfer data to a new phone, make sure that it is the same Google account.
It is worth noting that backup files in Google Drive are not displayed in the standard interface of the Drive application as regular documents. They are hidden in the storage management section and do not take up the user's quota (although in some regions and under certain conditions, media files may count towards the storage limit).
โ ๏ธ Attention: A Google Drive backup is tied to a specific phone number and Google account. You will not be able to restore someone else's copy to your number or your number from someone else's Google account without losing data.
Automatic creation of cloud copies requires a stable Wi-Fi connection if the settings do not allow data transfer via a mobile network. Users often forget that when changing the password for a Google account or being inactive for a long time, synchronization may pause, requiring re-authorization.
Database file structure and encryption
Having figured out the paths, it is important to understand which files you are dealing with. In the folder Databases you will see several files with similar names. The main file that WhatsApp uses during recovery is usually named msgstore.db.cryptXX (where XX is the encryption version number, for example, 14, 15, 16).
Files with dates in the name (for example, msgstore-2023-10-20.1.db.crypt14) are archived copies of the previous 7 days. WhatsApp automatically creates them every day at 2 am local time and stores them for a week. If the current database becomes corrupted, you can rename yesterday's file, removing the date from the name, to restore the state of the chats as of yesterday.
The encryption version (crypt12, crypt14, crypt15, etc.) is constantly updated by the developers to improve security. Old versions of the application may not be able to read files with a new type of encryption, so when restoring from a very old backup, you may need to first install the current version of the messenger.
Is it possible to decrypt the database without a phone?
Theoretically, decryption keys are stored in the Android system partition, which can only be accessed with root access. Without the device itself and its unique keys, it is impossible to read the contents of the .crypt file with third-party apps.
Comparison of storage methods: Local vs. Cloud
The choice between local storage and the cloud depends on your security needs and the amount of free memory. Below is a table that will help compare the key characteristics of both methods to make an informed decision.
| Characteristics | Local copy (On phone) | Cloud copy (Google Drive) |
|---|---|---|
| Availability | Only if you have physical access to the phone files | From any device when logging into your Google account |
| Risk of loss | High (if the phone breaks or is lost) | Low (protected by Google servers) |
| Space taken up | Takes up smartphone memory | Does not take up phone memory (usually) |
| Recovery speed | Instant (no internet required) | Depends on speed Internet |
The ideal strategy is a combined approach. Let WhatsApp automatically save data to Google Drive nightly, and once a month copy the folder Databases to your computer or external drive. This will create a double level of protection.
If the internal memory of your phone is full, first of all you should check the size of the WhatsApp folder. Often, old media files and multiple local backups can take up gigabytes of space, slowing down the entire system. Android.
A local copy is restored faster, but a cloud copy more reliably protects against physical loss of a gadget. Use both methods for maximum security.
Instructions for manual recovery from a local copy
Sometimes automatic recovery fails, and WhatsApp suggests creating a new copy or restoring from the cloud, ignoring local files. In such cases, manual replacement of database files is required. This method is effective if you know that there is a fresh file on the phone, but the system โdoes not see it.โ
Before starting manipulations, make sure that you have write rights to system folders (usually requested by the file manager) and have made a copy of the current situation so that it does not get worse. The process requires attention to file names.
โ๏ธ Checklist before manual recovery
First, remove the WhatsApp application from the device. Then, through the file manager, go to the folder Android/media/com.whatsapp/WhatsApp/Databases (or WhatsApp/Databases on older Androids). Find the file with the desired date, for example msgstore-2023-10-25.1.db.crypt14.
Rename this file, removing the part with the date so that only msgstore.db.crypt14 remains (it is important to keep the crypt version number!). If a file with the same name already exists, delete it or rename it to msgstore.db.crypt14.old. After this, install WhatsApp, confirm the number and at the recovery offer stage, select โRestoreโ. The system should pick up the renamed file.
โ ๏ธ Warning: When manually renaming files, it is critical to preserve the exact file extension (for example, .crypt14). If you change the version number or delete it, WhatsApp will not be able to read the database and the recovery process will be interrupted.
Common problems and solutions
Even after following all the instructions, users encounter errors. One of the most common is โThe backup could not be restored.โ This may occur due to incompatible encryption versions. If you're trying to restore a copy made on a very new version of WhatsApp to an older version of the app (or vice versa), the keys may not match.
Another common problem is lack of space. Unpacking a backup requires free space equal to approximately twice the size of the archive. If you have 99% of memory occupied, the process may freeze or throw an error. Free up at least 1-2 GB before starting the procedure.
It is also worth considering that when changing the operating system (for example, from iOS to Android or vice versa), direct recovery from a file msgstore.db is impossible due to the different database structure. In such cases, special paid utilities or official migration tools provided by smartphone manufacturers during initial setup are required.
If you changed your phone to a model from another manufacturer, the folder paths may differ. Some brands (Xiaomi, Huawei, Samsung) may mount internal partitions differently. In such cases, use the file search inside the manager by entering a query msgstoreto find the current location.
โ ๏ธ Attention: Android shell interfaces (MIUI, OneUI, ColorOS) may hide the Android/media folder from the user by default. If you do not see the files, turn on the display of hidden files in the Explorer settings or connect the phone to the PC in file transfer mode.
What to do if WhatsApp says โThe backup is corruptedโ?
This message often appears if the file was partially downloaded from Google Drive or was damaged during copying. Try clearing the Google Play Services application cache (Settings โ Applications โ Google Play Services โ Storage โ Clear cache). If this does not help, try restoring an earlier local copy by renaming the corresponding file.
Is it possible to restore correspondence without a SIM card?
No, to activate WhatsApp and, therefore, to start the backup restoration process, you need a SIM card with the number to which the copy was made. Without passing SMS or call verification, it is impossible to access the database.
Where are the voice messages stored in the backup copy?
Voice messages, like media files, are usually not included in the weight of the database file msgstore.db (which weighs a little). They are stored in a folder Media inside the WhatsApp directory. When restoring from Google Drive, they are loaded separately. When copying locally, you need to copy the entire folder WhatsApp entirely, not just Databases.