# How to Recover Missing Data
- Inspect your folder for conflict files
- There are conflict files in the folder
- There are no conflict files in the folder
- Next steps
Let's say you synchronise surveyed data from multiple devices (individual surveyors) and when you examine them, you find out there is something missing - new features that were captured in the field or changes made by one or more of your team members.
The reasons why you didn't get all the data can vary. For instance, the data could not be synchronised correctly because of multiple surveyors editing the same feature or synchronisation of projects with different data schema. You can read more about this topic in Behind Data Synchronisation.
Here we will try to guide you through common techniques that can help you to retrieve your data.
If you cannot synchronise changes, make sure you are connected to the internet and that you have not exceeded your storage limit.
# Inspect your folder for conflict files
- Navigate to your project folder
- See if there are any files that contain
conflictin their names.
Depending on your data format, you can get something like
survey_polygon (edit conflict, sarah v4).json, which is a conflict file for data from a user called
sarah, project version 4.
# There are conflict files in the folder
Conflict files can appear in your project when Mergin could not synchronise changes automatically and they indicate there may be some issues that should be fixed.
You can add conflict files to your QGIS project and check whether they contain the data you are missing. Then you can resolve them manually or semi-automatically, depending on the scope of your issue.
# Resolving conflict files manually
If you can identify missing features visually, e.g. by finding out where the survey took place, you can copy and paste these features to the survey layer. Make sure the values have been transferred over correctly!
# Resolving conflict files semi-automatically
Change the schema of the table in the conflict file to match the new schema and run the Detect dataset changes algorithm from the Processing toolbox. You then need to go through the result and ensure the changes detected are the ones you expect for both attribute values and geometry.
# There are no conflict files in the folder
If you don't see any conflict files in your folder, try to download them manually from the mobile device. Surveyed data are stored in the device that was to collect them. So, if you have access to this device, you can download data manually and process them in your computer.
# Manual data transfer (Android)
Manual data transfer from an Android device can be done by connecting your device to a computer and copying data files to/from the device. Once your Android phone or tablet is recognised by the operating system after connecting it using USB cable, you can use file browser to copy files.
You can find the path to your Mergin Maps project folder in the Diagnostic Log. On Android devices, the path is something like
This folder is accessible only from a computer, so you might not see it in your mobile device.
# Manual data transfer (between iOS and Mac)
The mobile app supports iTunes file sharing. Note that iTunes doesn't allow you to browse or edit data from the app data folder, only allows you to delete or copy the data folder to another location.
You can access your data by following these steps:
- Plug iOS device to a computer
- Go to Locations and select your
- Click on the tab named
Inputapp from a list to see a data folder
6 Drag-and-drop the
INPUTfolder to another location to see the content
# Manual data transfer (between iOS and Windows)
Here are the steps to transfer the data from iPhone/iPad to a Windows PC.
- Make sure you have installed iTunes (opens new window)
- Sign into iTunes
- Connect your iOS device to the PC (opens new window) and unlock the screen
- In iTunes, click on the phone icon in the toolbar
- From the left panel, select File Sharing
- Select Input in Apps tab
- Under Input Documents, select INPUT folder
- Press Save...
- Select a path to save the folder on your computer.