The question of where exactly the messenger backup file is physically located arises among users Android quite often. This is necessary if you change your device, there are cloud storage failures, or you want to transfer your correspondence history manually. Local data saving is a reliable way to protect your conversations from loss if synchronization with Google Drive for some reason does not work.

Modern versions of the operating system have made significant changes to the structure of the file system, which often confuses even experienced users. If previously all the data was located in the root of the internal memory, now it is hidden deeper in system directories. Understanding this hierarchy is critical for successfully searching and moving files. msgstore.db.crypt.

In this article we will analyze in detail the current paths to database files, the differences between versions Android before and after version 11, and also consider the nuances of encryption. You will learn how to find hidden folders through the file manager and what to do if the standard path does not contain the necessary data.

The evolution of data storage paths in different versions of Android

Before the release Android 11 the data storage structure of applications was extremely simple and intuitive. Any application, including WhatsApp, could create its own folders in the root of the deviceโ€™s internal memory. This allowed users to easily find their files by connecting their smartphone to a computer or using any file explorer.

However, with the introduction of new privacy policies and features Scoped Storage (Isolated Storage), access to the root directory for third-party applications was limited. Now the messenger system data has moved to the protected area Android/media. This change is aimed at improving security, but complicates manual access to backups.

โš ๏ธ Attention: On devices with Android 11 and higher, standard file managers may not display the contents of the folder Android entirely. Access may require the use of special software or granting advanced permissions through system settings.

If you are using an older version of the operating system, you can still find backup files in the classic path. At the same time, on new smartphones from Samsung, Xiaomi or Google Pixel with updated firmware, the search should begin exclusively in system subdirectories. Ignoring this fact will lead to the fact that you simply will not find the necessary files, although they are physically present on the drive.

๐Ÿ’ก

If you do not see the Android folder in your file manager, try installing the "Files by Google" application or use the built-in explorer with administrator rights, if such an option is available in the privacy settings.

Current paths to the WhatsApp folder on modern smartphones

For the vast majority of modern devices running the latest versions Androidthere is only one correct search algorithm. The database files are now located inside the system media directory. This requires more careful navigation through the directory tree.

The full path to the local copy is as follows: Internal memory โ†’ Android โ†’ media โ†’ com.whatsapp โ†’ WhatsApp โ†’ Databases. Exactly in the folder Databases All created backups are stored. The files here have specific names indicating the date of creation and the type of encryption.

Sometimes users are faced with a situation where the folder com.whatsapp is empty or missing. This can happen if the application was recently reinstalled, but has not yet created the first local copy, or if you are using a modified version of the messenger that stores data in a different location. In the standard version of the application, the path should be as described above.

  • ๐Ÿ“‚ The main directory always starts from the root partition of the internal memory, and not the SD memory card if the application is installed by default.
  • ๐Ÿ”’ The folder Android is a system one, and some simple explorers may request special permission to view its contents the first time input.
  • ๐Ÿ“… The files inside the folder Databases are sorted by date, where a file without a date in the name is the most recent copy.

It is worth noting that the path structure may differ slightly on smartphones from different manufacturers due to proprietary shells. For example, on some devices MIUI or OneUI the visual display of the path may be hidden behind convenient shortcuts, but the physical location of the files remains unchanged according to the standards Google.

๐Ÿ“Š Where do you usually look for backup files?
In the root of the internal memory/In the Documents folder/In Android media system folder/I only use the Google Drive cloud

Old storage method: path for Android 10 and below

If your smartphone is based on Android 10 or earlier versions, the data storage logic is radically different. These systems did not apply strict restrictions Scoped Storage, so the messenger created its own directory directly in the root of the drive. This greatly simplified the process of backup and data transfer.

In this case, the path to the files will look like this: Internal memory โ†’ WhatsApp โ†’ Databases. Here you immediately see a folder with the name of the application, without delving into the depths of the system. Inside you will find the same set of files with the extension .crypt, ready for recovery.

Many users who have updated their devices to the new version Androidcontinue to search for files using the old path and cannot find them find. It is important to understand that when you update your operating system, data is not always automatically transferred to the new folder structure. Sometimes they remain in the old directory, and the messenger can continue to read them from there, or a manual transfer is required.

โš ๏ธ Attention: When moving to a new phone with an old backup from the root folder, make sure that you place the file in the correct directory corresponding to the version Android on the new device, otherwise the recovery will not start.

Checking for files in both locations (old and new) can be a useful strategy if you are unsure of the exact firmware version or update history of your smartphone. Sometimes duplicate files can take up extra space, so after successful transfer, old copies from the root folder can be deleted.

Backup file structure and encryption

The files that you will find in the folder Databaseshave a specific naming format that carries important information. The most recent copy is always called simply msgstore.db.crypt14 (the number may vary depending on the version of the encryption protocol, for example, crypt12, crypt15). This file does not contain a date in the name.

All other files are archived copies of previous days. Their names look like msgstore-2023-10-25.1.db.crypt14. The numbers in the name indicate the year, month and day the backup was created. WhatsApp by default it stores the last 7 local copies, automatically deleting the oldest when creating a new one.

Extension .crypt means that the database is encrypted with a unique key associated with your account and device. You will not be able to open this file with a regular text editor or view databases through a SQL-client without first decrypting it. The decryption key is stored in the system partition of the phone, which can only be accessed with rights Root.

File name Description of contents Priority for recovery
msgstore.db.cryptXX The most current backup at the moment High (used by default)
msgstore-DATE.db.cryptXX Archive copy for a specific date Medium (used for manual renaming)
wa.db Account settings file (not message history) Low (restored automatically)
Why does the number in the encryption name change?

The number after the word crypt (for example, 14 or 15) indicates the version of the encryption algorithm. When updating an application, developers can enhance protection by changing the protocol. Old copies with a different crypt number cannot be restored on a new version of the application without special manipulations, although in most cases backward compatibility is maintained within one major version.

Instructions for manually searching and checking files

In order to be guaranteed to find the desired file, it is recommended to use a reliable file manager. The built-in tools of some shells can hide system folders. Download an application like Total Commander, Solid Explorer or Files by Google from the store Play Market.

After installing the explorer, follow a clear algorithm of actions. First, grant the app access to your internal storage. Then open the folders sequentially according to the path described for your version Android. If you see files with the extension .db.crypt, then local backup is working properly.

โ˜‘๏ธ Copy search algorithm

Done: 0 / 5

If the folder Databases is empty, check the settings of the messenger itself. Local backup may be disabled or has never been performed. Go to the application settings, section Chats โ†’ Chat backup and click the "Backup" button. After the process is completed, the file should appear in the specified directory.

Pay attention to the size of the files. A file several kilobytes in size is most likely empty or contains only service information if you have virtually no correspondence. A normal database with a message history for several months can occupy from tens of megabytes to several gigabytes, depending on the number of media files included in the backup.

โš ๏ธ Attention: Do not try to rename backup files while the application WhatsApp is running. This can lead to process conflict and data loss. Perform all manipulations with file names only after completely stopping the application through the smartphone settings.

๐Ÿ’ก

The presence of a msgstore.db.crypt file with a size greater than 0 bytes ensures that you have a valid local copy that can be used to restore correspondence history.

Restoring data from a local copy instead of the cloud

Often a situation arises when it is necessary to restore data specifically from a local file, ignoring the older copy from Google Drive. This is relevant if you made an important backup manually today, and cloud synchronization is configured for weekly updates. In this case, you need to replace the recovery file.

The process requires removing the current application and manually preparing the files. First, delete WhatsApp from your smartphone. Then, through the file manager, find the desired archive file for the required date in the folder Databases. Rename this file to msgstore.db.cryptXX, replacing the current current file (after making a copy of it just in case).

After renaming, install the messenger again. When you launch and confirm your phone number, the application will detect the local copy and offer to restore chats from it. It is critical not to click the "Restore from Google Drive" button if the system offers this option, otherwise you will overwrite the local data with the old cloud version.

If the restoration is successful, your messages will be returned in the form in which they were when the selected one was created file. Media files (photos and videos) that were not saved separately in the gallery should also be restored if they were part of the backup.

Frequent problems when searching and working with backups

Users often encounter the fact that the copy file exists, but the application does not โ€œseeโ€ it. Most often this is due to a mismatch in the encryption version. If you try to restore a file crypt12 on a version of the application that only works with crypt14the process will fail. In such cases, only updating the messenger to the latest version or searching for a more recent file helps.

Another common problem is lack of space on the internal storage. Creating and deploying a backup requires free space that is at least twice the size of the database file itself. If the memory is full, the backup process may be interrupted or a broken file may be created.

It is also worth considering access rights restrictions. On some smartphones with heavily modified firmware, access to the folder may be blocked even for file managers without obtaining root access. In this case, the only way out is to use cloud backup or connect to a PC in debugging mode Android/media can be blocked even for file managers without receiving Root-right. In this case, the only way out is to use cloud backup or connect to a PC in debugging mode ADB.

What to do if the file is damaged?

If a file integrity error message appears during recovery, try renaming another file from the archive (from the previous day). Often, only the last created backup is damaged due to a power failure or application crash during recording.

Is it possible to transfer a local copy to another phone?

Yes, this is possible. You need to copy the entire folder Databases (or a specific renamed file) from the old device to the new one, placing it in exactly the same directory on the new smartphone before installing the application. It is important that the same phone number is used on both devices.

How often are local copies created automatically?

By default, WhatsApp creates a local backup every day at 02:00 am. This time can be changed in the settings, but the fact that a file is created daily in the folder Databases is standard behavior of the application.

Do crypt files take up a lot of space on the phone?

Yes, they can take up a significant amount of space, especially if you have a lot of correspondence with media files. Since the last 7 copies are stored, the total weight can reach several gigabytes. It is recommended to periodically clean out old files, leaving only the most recent one, unless you plan to roll back.

Why is the file called msgstore.db.crypt14, and not just backup?

The name msgstore comes from "message store" (message store). The suffix .crypt with a number indicates the type of encryption. This naming is adopted by developers to identify the type of database and version of the security protocol so that the application can correctly process the file when loading.

Will the local copy disappear when the application is deleted?

In most cases on modern versions Android When you delete an application, all data associated with it, including the folder, are also deleted in Android/media. Therefore, before deleting the messenger, be sure to copy the folder Databases to another safe location, for example, to a computer or to a cloud file storage.