Many users Android are faced with a situation where they need to transfer their correspondence history to a new phone or restore data after resetting the settings. The question of where it is physically located Whatsapp archivebecomes critically important precisely at such moments. Understanding the file structure of the messenger allows you not to lose valuable data and control the backup process.
Unlike cloud services, which work โinvisiblyโ for the user, local storage requires direct interaction with the deviceโs file system. Backup files are created automatically, but their location has changed with operating system updates. If you are using an old version Android or a new shell, the paths to the data may differ significantly, which often confuses even experienced smartphone owners.
In this article we will analyze in detail the directory structure where the messenger stores your messages, media files and databases. You'll learn how to find hidden folders, how to interpret file names with dates, and what to do if automatic copy to Google Drive didn't work. Knowing these nuances is the key to the security of your digital communications.
Local storage and folder structure
The main place where local archive saved by default, located in the internal storage of your smartphone. However, starting from version Android 11, Google's security policy has become stricter, and many applications, including instant messengers, were forced to change the paths to their data. Now access to system folders is limited, which affects where exactly you will look for files.
On modern devices, the main path to the database looks like this: Internal memory โ Android โ media โ com.whatsapp โ WhatsApp โ Databases. It is in this directory that files with the extension .db.crypt14 (or another encryption version number) are located. These files are an encrypted copy of your correspondence for a specific date.
If you have a device with an older version of the operating system (below Android 11), the path will be shorter and easier for navigation: Internal memory โ WhatsApp โ Databases. In this case, the folder is located in the root of the internal storage, which simplifies manual access to files through any file manager without the need to obtain special permissions.
- ๐ Folder
Databasescontains only text chat history in encrypted form. - ๐ท Media files (photos, videos) are stored separately in a folder
Mediainside the main application directory. - ๐ The files have a unique encryption key associated with your account and device.
If you do not see the Android folder in the file manager, try using the built-in Files application from Google or a third-party manager with access rights to system directories, for example, Total Commander or Solid Explorer.
It is important to understand that manually copying these files to your computer will not allow you to simply open them and read the text. Encryption is reliable protection from prying eyes, but complicates the recovery process without using the application itself WhatsApp. The system recognizes the file only if the installation procedure and phone number verification are correct.
Automatic backup to the cloud
In addition to local storage, the messenger actively uses cloud technologies to save data. For users Android the main partner is the service Google Drive. This method is convenient because the process occurs automatically in the background, and the user does not need to manually transfer files when changing phones.
Setting up a cloud archive is carried out directly in the application interface. You need to go to menu Settings โ Chats โ Chat backup. Here you can select the frequency of creating copies: daily, weekly or monthly. It also displays the date of the last successful save and the amount of space occupied.
โ ๏ธ Attention: Google Drive backups do not take up space in your storage quota only when using a standard backup. If you enable saving of videos, they may consume space in your cloud account.
One โโof the common problems is accounts desyncing. Make sure that the same one is used in the phone settings and in the messenger itself. Google account. If you changed your email or phone number, automatic recovery may not work, and the system will offer to create a new copy instead of downloading the old one.
Recovery from the cloud occurs only at the time of the initial installation of the application or after completely deleting the data. During the setup process WhatsApp it will detect the presence of a copy on the disk and offer to restore it. You cannot skip this step - if you click โSkipโ, you will not be able to restore chats from the cloud later without reinstalling the application.
Manual creation and management of copies
Sometimes automatic mechanisms fail, or you urgently need to save history before an important system update. In such cases, it is recommended to perform manual creation of a backup copy. This action forces the process of encrypting and saving the current state of chats to a local folder and (if configured) to the cloud.
To perform this operation, open the application and follow the path Settings โ Chats โ Chat backup. Press the button Backup (green button). Wait for the process to complete. Depending on the amount of history and the speed of the phone's memory, this may take from a few seconds to several minutes.
โ๏ธ Checklist before manual copying
After When completed, you will see the updated date and time of the last copy. If you plan to transfer data to another phone manually (without using Google Drive), this is the file from the folder Databases you will need to copy. The file name usually has the format msgstore-YYYY-MM-DD.1.db.cryptXX, where XX is the encryption version.
To transfer to a new device, copy the file msgstore.db.cryptXX (or the file with the desired date, renaming it, removing the date from the name) to the corresponding folder on the new phone. Only then install the application. If the folder does not exist yet, install the application, run it once, close it, create folders manually, upload the file and start the installation again.
Recovering data from a local archive
Situations when you need to recover data from a local file often arise. For example, if you accidentally deleted a chat today, and the cloud copy was made a week ago, then local archive yesterday's data will be your only salvation. The messenger stores the last 7 days of local copies.
The recovery process requires care. First, uninstall the current application WhatsApp from your device. Then use the file manager to find the backup folder. Select the file with the desired date. Rename it to msgstore.db.cryptXX (leaving the encryption version number unchanged).
| Action | Description | Risk |
|---|---|---|
| Renaming the file | Removing the date from the file name | Low |
| Moving a file | Copying a new phone to the Databases folder | Medium |
| Installation applications | Installing the messenger after preparing the files | Low |
| Recovery | Confirmation of recovery on first launch | High (loss of new messages) |
โ ๏ธ Attention: Restoring from a local copy will roll back your correspondence to the state at the time this file was created. All messages received after this date will be irretrievably lost.
After renaming and placing the file in the correct directory, install the messenger again. When verifying the number, the system will detect a local copy and offer to restore it. Agree with this action. The process may take time, especially if there are a lot of media files in the archive.
What to do if the recovery is stuck?
If the recovery process is stuck at a certain percentage, do not reboot your phone right away. Wait 15-20 minutes. If progress is not moving, check the free disk space - unpacking the archive requires a volume that is 2-3 times larger than the size of the copy file itself.
Transferring an archive to a new smartphone
When purchasing a new device based on Android users often wonder how to transfer the entire correspondence history. The easiest way is to use Google Drive. Just log into your account on your new phone, install messenger and follow the on-screen instructions. The system itself will pull data from the cloud.
If the cloud method is not available or the Internet is too slow, you can use a cable and a computer. Connect the old phone to the PC, copy the entire folder WhatsApp (from Android/media or memory root). Then connect your new phone and paste the folder in a similar location. It is important to preserve the directory structure.
For owners of smartphones of the same brand (for example, Samsung on Samsung or Xiaomi on Xiaomi), proprietary migration utilities are often available, such as Smart Switch or Mi Mover. These tools transfer application data along with settings, eliminating the need to manually tinker with files.
When using the cable transfer method, make sure that the version of WhatsApp on both devices is up to date, as older versions may use incompatible database encryption protocols.
After transferring files, be sure to check the application. Open multiple chats, make sure media files are loading. If you see only text and no photos, perhaps the folder Media was not copied or is in the wrong directory. Check the paths again.
Common problems and their solutions
Despite well-functioning mechanisms, users periodically encounter errors. One of the most common is โThe backup could not be restored.โ This may occur due to a mismatch of encryption versions or file corruption. In this case, try restoring a copy to a different date.
Another problem is the missing folder Databases after installation. This often happens on new versions Androidif the application did not receive permission to write to external memory when it was first launched. Go to your phone settings, find the application in the list and manually grant permission to access files and multimedia.
โ ๏ธ Attention: Interfaces and file paths may vary slightly depending on the version of Android and the manufacturer's shell (MIUI, OneUI, ColorOS). Always check the latest support materials for your specific model.
If the copy file is 0 bytes in size, the save process was interrupted or the device's memory was full. In this case, the file cannot be restored. Regularly check the availability of free space and the functionality of the automatic backup so as not to find yourself in such a situation at a critical moment.
Is it possible to read the WhatsApp archive on a computer without a phone?
No, it is impossible to directly read an encrypted file .db.crypt on a computer without the decryption key, which is stored in protected area of the phone's memory. There are third-party viewer apps, but they require retrieving the key, which is difficult for the average user and unsafe.
How many days are local copies stored on the phone?
By default, the messenger stores local backups for the last 7 days. A new copy is created every night, and the oldest (eight-day old) is automatically deleted to save space.
What happens if I change the name of the backup file?
If you change the format of the file name (for example, remove the extension or change the cryptography number), the application will not recognize it as a valid backup copy and will ask you to start the chat from scratch. The name must strictly match the pattern msgstore.db.cryptXX.
Does changing a phone number affect the archive?
Yes, if you simply change the SIM card without using the โReplace numberโ function inside the application, the correspondence history may not be linked to the new number correctly when restored. Use the built-in number change function to transfer your account and history.
Where are files sent as โDisappearing Messagesโ stored?
Files from chats with disappearing messages are not saved to the standard gallery and are not included in backups if the timer expires before the backup is created. If a copy was created before disappearing, the file will be archived, but will be deleted from the chat when restored if the timer expires again.