ChatStorage.sqlite位置以及如何在iPhone上恢复WhatsApp消息

Alexandra Malureanu

由 Alexandra Malureanu

如果您是WhatsApp用户和iPhone用户,使用iPhone备份提取器可以轻松地将WhatsApp消息恢复到iPhone。在本文中,我们将教您如何通过几个步骤完成它。

如何在iPhone上提取和恢复WhatsApp消息

在下面描述的方法中,我们使用两个设备,但只要您将这些备份的副本存储在安全的地方,您就可以以不同的方式使用这些说明。例如,您可以使用它们在同一台iPhone上恢复旧的WhatsApp消息数据库,或者您只需将WhatsApp历史记录转移到另一台设备即可。您甚至可以转换WhatsApp数据库并将其导入Android设备。

在本教程中,我们使用了2个设备:

  • 带有我们想要提取的WhatsApp消息和数据的iPhone
  • 第二部iPhone将从第一部分接收数据

如果您正在寻找一种检索WhatsApp消息的方法,那么本文就是您所需要的

如果您需要在iPhone上恢复WhatsApp消息,请执行以下步骤:

  1. Make an iTunes or an iCloud backup for the device from where you want to restore the messages. For iCloud support you’ll need a license. After logging in, you’ll be able to choose and download any backup file existing on your iCloud account. If you already have an iTunes or an iCloud backup with your WhatsApp chats and messages, you can skip this part.

  2. 下载适用于WindowsMac的 iPhone Backup Extractor,具体取决于您的操作系统,然后安装它。

  3. 启动iPhone Backup Extractor并从左侧的iPhone备份浏览器中选择包含WhatsApp消息的备份。

    ChatStorage.sqlite位置

  4. Choose "Expert mode", go to Application Groupsnet.whatsapp.WhatsApp.shared then select ChatStorage.sqlite. This file is the database used by WhatsApp to store your message history. Make sure you extract and download this file in a safe place. You’ll need it later. (You could just drag it out to your desktop.)

    Selecting the WhatsApp database
    Selecting the WhatsApp database

  5. Make a backup of the iPhone where you want to import the message history -- the second phone from our example. Go to the same path described at the previous step: Application Domainsgroup.net.whatsapp.WhatsApp.shared

  6. 在安全的地方复制第二部手机的备份。如果您不知道文件的存储位置,我们可以告诉您在哪里查看

  7. After you start iPhone Backup Extractor, right-click on the ChatStorage.sqlite file and choose "Replace File". Then select the ChatStorage.sqlite file extracted at the third step.

    Important note: the messages from the database will be replaced with the old messages from the first backup, so make sure you have a copy of it. Now you’ll have a modified iTunes backup containing the WhatsApp messages and chats from another backup file.

    Replacing files in an iTunes backup
    Replacing files in an iTunes backup

  8. In order to restore those WhatsApp messages to your smartphone, you need to get the modified backup restored to your phone. To do this, connect your iPhone to your computer and start iTunes. Choose to restore the modified backup on your device.

就这样! iPhone重新启动后,您将看到设备上导入的WhatsApp会话。您可以浏览对话,就像使用iPhone制作一样。请注意,媒体附件在邮件中不可见,因为我们没有移动它们。我们进入下面。

此方法适用于从iOS 8一直到最新版本。这意味着您可以从iOS 11设备上的iOS 8恢复WhatsApp消息 - 例如 - 反之亦然。您还可以从iCloud或iTunes备份中检索和传输邮件历史记录和聊天。此方法也适用于加密的iTunes备份。

如何从WhatsApp中将附件提取到您的计算机

如果您需要将WhatsApp中的图像提取到计算机,则应按照以下步骤操作:

  1. 启动iPhone备份提取器。

  2. Select the backup where the old messages and the pictures are stored. Now, you've multiple options to extract the WhatsApp attachments from the backup. Depending on your technical skills, you can choose any of the methods. We’ve ordered them from the simplest to most complex:

    • On the "Overview", click the WhatsApp icon and choose a location for the files. Images and the HTML files with your messages will be saved, along with your media attachments in an accompanying "data" folder.

    Extracting all WhatsApp messages and attachments
    Extracting all WhatsApp messages and attachments

    • Use "Preview" mode then select all the messages. Click on "Extract", choose HTML or PDF format, and select a location for export files. The images and the conversations will be saved on your computer. You’ll find the images separate to HTML files -- if you chose that format -- in a folder labelled "data".

    Previewing WhatsApp messages
    Previewing WhatsApp messages

    • Use "App View" then go to "WhatsApp Messenger" and click on "All Photos". The media attachments will be extracted in the chosen location. Hurrah!

    Viewing WhatsApp's app data
    Viewing WhatsApp's app data

  3. Use "Expert Mode" then go to Application Domainnet.whatsapp.WhatsAppLibraryMedia. Select the "Media" folder and extract the data to your computer. This solution will extract the pics and videos from your WhatsApp message history.

    Extract WhatsApp data in expert mode
    Extract WhatsApp data in expert mode

现在,您已经从设备中提取了所有WhatsApp附件。如您所见,只要您使用iPhone备份提取程序并拥有包含消息及其附件的备份文件,就可以将WhatsApp消息恢复到iPhone很简单。

您是否在尝试将iPhone上的WhatsApp数据恢复到iPhone时遇到问题?请在实时聊天或通过我们的支持中心留言 。我们会尽力帮助。 👊

Alexandra Malureanu

由 Alexandra Malureanu, last updated

我们曾经帮助过 3,000,000 多人恢复其丢失的 iPhone 数据。 所以我们也能为您排忧解难。

提交评论

© 2008 - 2019 Reincubate Ltd. 保留所有权利。 已在英格兰和威尔士注册 #5189175, VAT GB151788978. Reincubate® 是注册商标。 隐私权和条款. 我们推荐多因素认证。 在伦敦建立了爱情。

close

個人ユーザー向け

对于企业和专业用户

向下滚动以查看业务和专业计划

基本

$39.95

iTunes支持

兼容Windows的Mac设备

客户支持

预览iCloud设备列表

得到BASIC

额外费用

$69.95

全面的iCloud和iTunes支持

兼容Windows的Mac设备

客户支持

5 台iCloud设备

购买PREMIUM
Jonathan Zdziarski picture

This is iPhone Backup Extractor, think of it as a "personal forensics" utility. It's pretty awesome.

Jonathan Zdziarski

取证和iOS专家

适用于商业和专业用户

Business

$299.95

25个iCloud设备

高优先级的客户支持

商业许可证

我们的“Premium”计划的所有好处

购买BUSINESS
ricloud logo
演示我们的企业API

iCloud 访问、司法鉴定工具、批量恢复,还是恢复被删的 SQLite 数据?

了解我们的API reincubate.com.