Repository navigation
Data Backup iCloud Sync
Under Settings → Data Management, the Backup database button creates a single compressed archive containing a complete snapshot of your BlueDive database.
This is a full copy of everything the app stores, not a selective export of a few record types. A backup includes:
- Dives, including profiles, tank and gas details, and weather
- Dive photos, with their full-size originals and thumbnails
- Marine life sightings and the species catalogue, including species pictures
- Equipment and equipment groups
- Certifications
- Diving insurance policies
- Tank templates
- Dive computer sync fingerprints
Because it captures the entire database, a backup is the best way to preserve your whole logbook or move all of your data to another device at once.
- Open Settings and go to the Data Management section.
- Tap Backup database.
- BlueDive prepares the archive. A progress note below the button shows each step — Preparing backup…, Copying photos… n / total, then Compressing backup… — which can take a while when your logbook has many photos.
- The archive is named BlueDive-Backup-YYYY-MM-DD-HHMM.zip, using the date and time the backup was made, so several backups made on the same day don't overwrite each other.
- A sheet appears so you can choose where to store the file in Files, iCloud Drive, or another location; the archive is moved there, so no extra copy is left behind on your device, even if you cancel. On Mac: a standard save panel opens instead, and Saving backup… is shown while the archive is written to the folder you chose.
Keep BlueDive on the Data Management screen until the save sheet or panel appears: closing the screen while the backup is being prepared cancels it. Backup database, Convert photos, Repair photos, Delete temporary files and Erase all data never run at the same time: while one of them is running, the others are greyed out.
The backup is a consistent snapshot of your database taken while the app is running, even if iCloud is syncing at the same moment. Inside the archive, a BlueDive Backup folder holds the database, the folder containing your photos and pictures, and a small description of the backup (app version, date, operating system and its version, whether iCloud sync was on, and how many records of each kind it contains). The photo folder is named .default_SUPPORT; because its name starts with a dot, Finder hides it by default (press Command-Shift-Period in a Finder window to show hidden files). Backups made with BlueDive 1.x have a different layout and no description.
Keep your backup somewhere safe, such as an external drive or a cloud folder. BlueDive has no in-app restore feature for this archive — it's intended as an offline safety copy of your data, not a one-tap restore point.
If BlueDive cannot complete the backup, a Backup Failed message explains what went wrong. Common reasons include being unable to locate the database, being unable to take a snapshot of it, not having enough free space (the message tells you about how much is needed — a backup temporarily needs roughly twice the size of your data), being unable to copy the files, or being unable to build or save the archive (for example "Backup failed: could not save the backup file." when the file can't be written where you chose). If this happens, free up some storage space and try again.
Photos added to dives with versions of BlueDive before 2.0 are stored in an older format. Settings → Data Management → Convert photos converts them: each photo gets its own record with a thumbnail and its capture time, and photos taken during a dive then appear on its profile. The images themselves are not changed.
After you confirm in the Convert photos? prompt, BlueDive checks every dive and shows its progress next to the button. This can take a while with many photos — keep BlueDive open until it finishes. A Photos Converted summary then shows how many photos and dives were converted, and how many dives (if any) still have photos left in the previous format because a photo could not be read or saved. See Dive Photos.
In some cases, a photo added just after editing a dive could lose its link to that dive: the photo was still saved, but no dive showed it, and importing it again reported it as already in BlueDive. Settings → Data Management → Repair photos puts such photos back on their dive. It runs only when you tap it.
A photo is put back when exactly one dive in your logbook is the one it belongs to and that dive doesn't already show the same image. Its original, thumbnail and species tags are kept, and the dive list's photo badges are updated. When it's done, a message shows the result: No Photos to Repair ("Every photo is on its dive.") or how many photos were put back on their dive.
Some photos can't be put back: their dive isn't in this logbook, several dives share its identifier, or the dive already shows the same photo. The message then lists how many, and you can choose Delete Photos… or Keep. Before anything is deleted, a Delete photos? prompt asks you to confirm. If you use iCloud sync, first make sure all your devices are up to date: a photo whose dive hasn't arrived yet from another device would otherwise be deleted on every device. Deleting them also removes their species tags, and it can't be undone. Each photo is checked again just before it is deleted: one whose dive has arrived in the meantime is put back on it instead, and photos of dives that share an identifier are never deleted.
BlueDive keeps a few temporary files on your device: the copies it makes to preview photos in Quick Look, to share or save photos, and to build backups. Settings → Data Management → Delete temporary files shows how much space they use (in KB, MB or GB) and deletes them when you tap it. Your dives and photos are not affected: a photo you open again in Quick Look simply gets a new copy. The button is greyed out while a backup, a photo conversion, a photo repair or an erase is running.
BlueDive can keep your dive data in sync across all of your Apple devices signed in to the same iCloud account.
- The iCloud account row shows your current status with a live check indicator, so you know whether syncing is possible. It reports states such as Signed in, No account, Restricted, or Temporarily unavailable.
- The iCloud sync toggle turns cross-device syncing on or off. It is turned on by default, so a new install opts in automatically.
- Changes to the iCloud sync toggle take effect after you restart the app; they are not applied instantly.
- If sync is turned on but no iCloud account is available, BlueDive warns you that your data will be stored locally on the device until you sign in, rather than failing silently. Once you sign in, syncing resumes.
- iCloud sync works the same way on iPhone, iPad and Mac, so a logbook kept on your iPhone also appears in BlueDive on your Mac when both are signed in to the same iCloud account with sync turned on.
Dives added, edited or deleted on another device appear on this one shortly after they arrive from iCloud, without restarting the app. This includes edits to an existing dive — its site, date, diver, depth, duration, gas, rating, buddies, tags, marine life, photos and so on — which update the dive list, map, trips, statistics, filters, the Marine Life tab and the home screen widgets. Surface intervals and dive numbers arrive already calculated by the device where the change was made; BlueDive doesn't recalculate them when they come from another device.
The Export Sync Log feature produces a plain-text file that captures a snapshot of recent iCloud sync activity. It is available from two places:
- Settings → iCloud → Export Sync Log (only shown when iCloud sync is enabled)
- The Export Sync Log button in the iCloud Sync Status sheet, opened by tapping the cloud icon in the toolbar. This icon is always visible on every platform, regardless of whether sync is enabled — see iCloud Sync Status.
The log covers the past 15 minutes of sync events recorded since the app was last launched and includes:
- The date and time the log was generated
- App version and build number, and whether the app is a test (Debug) or release build
- Device type (iPhone or iPad, not the specific model) and iOS version — this line is left out of logs exported on a Mac
- Network connection type at the time of export (Wi-Fi, Cellular, Wi-Fi + Cellular, None, Other, or Unknown if detection times out)
- System RAM usage: active + wired + compressed memory in use, free memory, and total physical memory
- System-wide CPU usage percentage and core count (two 100 ms-apart samples)
- CloudKit container identifier
- iCloud account status and an anonymized account identifier
- Low Power Mode status
- A timestamped list of upload, download, and setup events, each showing success or failure, duration, and any error details
Events are only recorded while the app is running; the log is not persisted between launches. If no events occurred in the past 15 minutes, the log says so.