Losing a smartphone or accidentally resetting the settings can be a real nightmare if you have not taken care of the safety of your dialogues. Messenger WhatsApp has long become an integral part of our lives, storing important correspondence, documents and photographs. Fortunately, the system regularly creates backups, but finding them in the Android file system can be difficult due to changes in the operating system's security policies.
In this article, we will look in detail at where exactly the chat history files are hidden on the disk of your device. You'll learn the difference between local storage and cloud services, and learn how to manually manage this data for transfer to a new phone or computer. Understanding the folder structure will help you avoid losing information when updating the firmware.
Local storage: folder structure on Android
On modern versions of Android, starting from 11 and higher, Google has tightened the rules for accessing the file system. This caused the application data path to change. If everything was obvious before, now it is hidden deeper to protect personal data from third-party applications. WhatsApp backup By default, local databases are saved in the internal storage of the device. The path to them looks like this: whatsapp backup hidden deeper to protect personal data from third-party applications.
By default, local databases are saved in the device's internal storage. The path to them looks like this: Android/media/com.whatsapp/WhatsApp/Databases. However, on older versions of firmware or when using certain shells from manufacturers, the path may remain classic: WhatsApp/Databases in the root directory.
Inside the folder Databases you will find files with names like msgstore.db.crypt14 or msgstore-2023-10-25.1.db.crypt14. The number in the extension (for example, crypt12, crypt14, crypt15) indicates the encryption version, which depends on the version of the installed messenger. File msgstore.db.crypt without a date in the name - this is the most recent backup created tonight.
โ ๏ธ Warning: Do not try to rename backup files manually without good reason. Changing the extension or name may cause the app to not recognize the file when attempting to restore.
If you don't see the Android folder in the file manager, turn on show hidden files in File Explorer settings, or use a third-party app like Solid Explorer or FX File Explorer.
Cloud backup: Google Drive
In addition to local storage on the device itself, WhatsApp offers synchronization with cloud storage Google Drive. This is the most reliable way to protect data, since files are saved even if the smartphone is completely physically damaged. However, it is impossible to find these files through the standard explorer on the phone.
Data in Google Drive is stored in a hidden application section. They do not take up space in your personal storage quota and do not appear in the list of files to view. You can only check the presence of a copy and the date of its creation through the settings of the messenger itself.
To check the status of the cloud copy, follow these steps:
- ๐ฑ Open WhatsApp and go to the settings menu (three dots in the corner).
- โ๏ธ Select โChatsโ, then โBackupโ chats."
- ๐ Pay attention to the โLast copyโ field and file size.
- โ๏ธ Make sure you select the correct Google account for synchronization.
Restoring from the cloud occurs automatically only when you initially set up the application on a new device or after completely uninstalling and reinstalling it. In this case, the phone number must match the one on which the copy was created.
How to find and copy files manually
If your goal is to transfer your chat history to another phone without using the cloud or make an archive on your computer, you will need direct access to the files. To do this, connect your smartphone to your PC via a USB cable or use the built-in file manager.
Copy the entire folder Databases to your computer or external memory card. This will create a complete archive of your messages for the last 7 days (by default the system stores 7 daily copies). When transferring to a new phone, it is important to preserve the folder structure.
โ๏ธ Checklist for manual data transfer
After copying the files to the new device, when The first launch WhatsApp will offer to find and restore a backup copy. If the process does not start automatically, make sure that file permissions for the application are granted in the Android system settings.
โ ๏ธ Attention: When transferring data between phones with different versions of Android, make sure that the version of the messenger on the target device is not lower than the one on the old one. Old versions of the application may not be able to read new encryption formats.
Decryption of file names and encryption versions
Database files have a specific naming structure that helps the system understand the order and relevance of the data. When understanding where to find backup copies, it is important to be able to read these names in order to select the desired file to restore.
The main file is always called msgstore.db.cryptXX. Files with a date in the name (for example, msgstore-2023-12-01.1.db.cryptXX) are archived copies for specific days. The system automatically deletes copies older than 7 days, freeing up space.
| File name | Description | Suitability |
|---|---|---|
| msgstore.db.crypt14 | Current database (tonight) | High (main) |
| msgstore-2023-10-25.1.db.crypt14 | Archive for October 25, 2023 | Medium (for rollback) |
| msgstore.db.crypt12 | File from the old version of the application | Low (downgrade required) |
| privacy.db | Settings privacy | Not for restoring chats |
If you try to restore a copy with a newer encryption format to an older version of the application, the process will fail. In such cases, you must first update the messenger to the latest version from Google Play.
What to do if the file is damaged?
If a database read error occurs during recovery, try renaming the desired archive file (with the date) to msgstore.db.cryptXX, while deleting the current file msgstore.db.cryptXX. This will force the application to use the archived version.
Problems with accessing the Android folder on new OS versions
Android 11, 12, 13 and 14 users often encounter the fact that the standard Explorer does not show the contents of the folder Android. This is not a bug, but a security feature Scoped Storagethat restricts application access to system directories.
To bypass this restriction, you can use a computer. When you connect your phone via USB in File Transfer (MTP) mode, the computer sees the full disk structure, and the folder Android/media becomes available for copying without restrictions.
An alternative way is to use special file managers that request special permission to access system folders. When you first launch such an application, it will display a system window where you need to click โAllow access to folderโ and confirm the selection of the root directory.
โ ๏ธ Attention: In future Android updates, access to the Android/media folder may be completely blocked even for file managers. It is recommended to periodically copy important data to a computer or external drive, without relying only on internal memory.
The most reliable way to access backup files on modern Android is to connect your smartphone to the computer via a USB cable.
Restoring data from a local copy
The process of restoring from local file requires a certain sequence of actions. Just putting the file in a folder is not enough - you need to prepare the environment to run the import procedure.
First remove the current installation WhatsApp from the device. Then make sure that the folder Databases only contains the file that you want to recover by renaming it to msgstore.db.cryptXX (keeping the current encryption number). It is better to temporarily move the remaining files with dates to another folder so as not to confuse the system.
Install the messenger again, enter your phone number. When prompted to restore the backup, agree. The application will scan your local storage, find the renamed file, and begin the process of returning message history. This may take several minutes depending on the size of the database.
If the restoration does not occur, check the application's access rights to the storage in the Android settings: Applications โ WhatsApp โ Permissions โ Files and media. Access must be fully allowed.
Frequently asked questions and solutions to problems (FAQ)
Why can't I see the WhatsApp folder after updating Android?
Starting with Android 11, the path has changed to Android/media/com.whatsapp. The old path WhatsApp at the root may be empty or missing. Use file search or connect your phone to a PC to view the full structure.
Can the backup file be read on a computer?
No, the files have an extension .crypt and are encrypted with a unique key stored inside the phone. Without root access and key extraction, it is impossible to decrypt the database with third-party apps.
How much space do backups take up?
The size depends on the number of messages and media files. A text database typically weighs several megabytes, but if video backup is enabled, the size can reach several gigabytes.
What to do if recovery freezes at 99%?
This is a common problem with large amounts of data. Leave your phone connected to the charger and do not touch it for an hour. If that doesn't help, try restoring an older copy (with the date in the name), it may be smaller and more complete.
Removing WhatsApp deletes backups?
Local copies in the folder Databases may be preserved when you delete the application, but this is not guaranteed on all phone models. The cloud copy on Google Drive remains untouched until you manually delete it through your Google Account settings.