<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE website [
  <!ENTITY reg "&#174;">
]>

<w:page xmlns:w="http://chezphil.org/xmlns/website-tags"
        xmlns="http://www.w3.org/TR/REC-html40"
        xmlns:xi="http://www.w3.org/2003/XInclude"
        name="howto_backup/index">

<w:title>How To Back Up Your Map Apps</w:title>

<p>Sadly one of the more common questions I am asked by users of my map apps 
is <i>"I had to replace my phone and all my waypoints are gone, what can I do?"</i>.  
Unfortunately by the time they ask it is often too late to recover the lost 
data; you really need a backup strategy in place <i>before</i> something 
goes wrong.</p>


<h2>iCloud Backup</h2>

<p>There are several ways to backup your data, one of which is Apple's 
iCloud backup.  It is not necessarily the best method, for various reasons 
mentioned below, but it is convenient.  It is best suited to recovering if your 
device is damaged, lost or stolen, and for transferring content to new devices.</p>


<h3>Enabling iCloud Backup</h3>

<p>Enable iCloud Backup in the Settings app.  The following diagram shows where 
these controls are in iOS 12 on an iPhone, but note that the details do often change 
with iOS updates.</p>

<xi:include href="settings_screenshots.svg"/>

<p>Scroll to see the whole diagram.  There are four things to check; see the numbers in the diagram:</p>

<ol>
<li>Check that iCloud Backup is turned on for the device.  Note the comments 
below the switch about when the backup will actually happen: it will be 
during the night, but only if the device is connected to power (and not 
shut down) and to functioning WiFi.</li>

<li>If you're not in the habit of leaving your device connected to power 
overnight regularly, then you'll need to periodically use the "Back Up Now" 
button to start a backup manually.</li>

<li>You can check when the last backup actually occurred.</li>

<li>It is possible to enable and disable backup individually for each app. 
Check that these switches are on for your map apps.</li>

</ol>


<h3>What the backup should contain</h3>

<p>iCloud Backups of Mappendix map apps will normally contain all of the waypoints, 
GPX files, and other similar content, and settings - but not the maps themselves. 
The maps are large files which would be slow to back up and consume a large amount 
of your iCloud storage; it is preferable to re-download the maps within the app 
separately.  If you really want to include the maps in your iCloud backups then 
there are switches in each app's section within the Settings app to enable this.</p>


<h3>Checking iCloud Backups</h3>

<p>One of the problems with iCloud Backup is that it's not easy to inspect 
the backup to check what it contains.</p>

<p>There are, however, third-party utilities that will allow you to view and 
extract the content of your iCloud backups from a Mac or PC.  One example that 
we've received positive reports about is 
<a href="https://www.iphonebackupextractor.com/">iPhone Backup Extractor</a>.  
Using this you should be able to get a good idea of whether your backups include 
what you think they include.</p>

<p>The only other way to check a backup is to restore from it, but that requires 
a device to restore onto, and it will delete everything that was previously on 
the device.</p>


<h3>Restoring from iCloud Backups</h3>

<p>Another issue with iCloud backup is that you cannot selectively restore 
individual apps.  So if, for example, you have accidentally deleted some important 
content from one app, you can only recover that from the backup by restoring the 
entire device.  There is also only ever one backup per device, so if a backup has 
occurred since the data was deleted then you have no chance to restore it.</p>

<p>To restore from a backup, go to Settings -> General -> Reset -> Erase All Content 
and Settings.  Do not choose to make a backup before erasing.  The device will now 
restart as if new, and during the setup process you can choose to restore from the 
previous backup.</p>

<p>Initially the apps will appear greyed out on the device's home screen.  When 
you first select a greyed-out app it will be downloaded, which may take some time.  
You should then find that your waypoints, GPX files etc. are present in the app. 
But you will need to manually re-download your maps.</p>


</w:page>

