# How to check your photo backup is complete before you delete from iCloud

Source: https://gethardcopy.app/check-photo-backup-before-deleting (updated 2026-11-24). By SoneaLabs, the maker of Hardcopy.

**Short answer:** Count, open, then hash. Compare each year's item count in Photos with the files on your drive, allowing for Live Photos, which export as two files. Open a sample from every year. Hash a second copy against the first with shasum. Only a tool that hashed each file as Photos handed it over can prove the copy matches your library.

A backup you are about to rely on has to pass four tests. Every item in your library has its files on the drive. Each file is the full-size original, not a preview. Each file opens. And a second copy exists somewhere else, identical to the first. Most advice stops at "check that the photos are there", which is the first test, done by eye.

This guide gives a way to run all four for free, with Photos, Finder and, for the last one, two lines of Terminal. It also says what no free check can prove, and which apps do the whole check for you. If you then want to remove photos from iCloud, [How to delete photos from iCloud but keep them](https://gethardcopy.app/delete-photos-from-icloud-but-keep-them) has the safe order.

## What does a complete backup have to prove?

There are three levels of proof. Each catches something the one before can't.

| Check | What it proves | What it misses | Tools |
|---|---|---|---|
| **Count** | Every item has files on the drive | A file that is there but damaged, or a small preview saved instead of the original | Photos (Smart Albums), Finder |
| **Open** | The files are real and readable | Items that never reached the drive; damage in files you didn't open | Finder's Quick Look |
| **Hash** | Every byte of a file matches a recorded fingerprint | Nothing about the bytes, but it proves only what was hashed: a hash of your export proves later copies match the export, not that the export matched your library | `shasum` in Terminal, or an app that hashes as it copies |

A count and a sample check are enough to catch the common failures: an export that stopped halfway, a year that was skipped, a folder of thumbnails. A hash is what catches the rare ones, and it is what makes a second copy trustworthy.

## Step 1: Are these the originals?

Before you count anything, make sure the files are worth counting.

- **Export the originals, not previews.** In Photos on the Mac, choose File › Export › Export Unmodified Original. In the Photos for Mac User Guide's words, this exports "in the original file format in which they were imported into your photo library" ([Export photos, videos, slideshows and memories](https://support.apple.com/guide/photos/pht6e157c5f/mac), read 20 November 2026). Dragging photos out of Photos gives you new copies, and plain File › Export lets you pick their size and format; both are fine for sharing and wrong for a backup.
- **Look at the sizes.** Select a few photos on the drive and press Command-I. A photo from a recent phone is usually a few megabytes; one of a few dozen kilobytes is a preview. This is a rule of thumb, not a test, but it catches the worst case fast.
- **Copying straight off a phone is a trap.** With Optimize iPhone Storage on, the phone keeps small versions and the originals live in iCloud. The README of Photo Sentinel, an open-source offload tool, warns that with that setting on "the phone may hold a smaller copy"; separately, it reports that an early test reading the phone over USB reached only 1.9% of a real 94,180-item library ([its README](https://github.com/andrewbakercloudscale/photo-sentinel), read 20 November 2026). Export from Photos on a Mac, which fetches the originals from iCloud as it needs them.

## Step 2: Count, year by year

A count of the whole library hides problems: a hundred missing photos from 2014 disappear in a library of 40,000. Count one year at a time.

**In Photos:**

1. Choose File › New Smart Album ([Create Smart Albums](https://support.apple.com/guide/photos/pht6d60ca71/mac), read 20 November 2026).
2. Name it after the year, for example "2019".
3. Set the condition to **Date Captured**, **is in the range**, 1 January 2019 to 31 December 2019, and click OK. Use Date Captured, not Date Added: you want when the photo was taken, not when it reached the library.
4. Open the album and note how many photos and videos it holds.
5. Make a second Smart Album with two conditions, Match **all**: the same date range, and **Photo is Live Photo**. Note that number too.

**On the drive:**

1. In Finder, select the folder that holds that year's export.
2. Choose File › Get Info. The window gives the size and the number of items inside. That number includes any subfolders, and Finder's hidden `.DS_Store` files.
3. For a count of photo and video files alone, use this Terminal line instead (change the path to your folder). It leaves out .xmp sidecar files, which **Export IPTC as XMP** adds one per item and which would otherwise hide missing photos in the count:

```sh
find "/Volumes/Your Drive/Photos Export/2019" -type f ! -name '.*' ! -name '*.xmp' | wc -l
```

**Do the arithmetic.** One item in Photos isn't always one file:

| In Photos | Files after Export Unmodified Original |
|---|---|
| A photo or a video | 1 |
| A Live Photo | 2: a still image and a video ([Photos for Mac User Guide](https://support.apple.com/guide/photos/pht6e157c5f/mac)) |
| A RAW photo shot together with a JPEG | Usually 2 |
| An edited photo, if you also exported the edited version | 1 more, in another folder |
| A burst | Varies; check bursts by eye |

So for each year, the files on the drive should be at least the item count plus the Live Photo count. More than that is usually RAW pairs or edited copies. **Fewer is a problem**: find the gap by narrowing the date range, month by month, until the counts disagree.

**Two places a count misses:**

- **Hidden photos.** They don't show among your other photos. Open the Hidden album, count it on its own, and export it the same way. If Photos asks for Touch ID or your password to open it (Photos › Settings › General), unlock it first.
- **Shared albums.** They aren't part of your library, so neither an export nor a library count includes them. From version 27 of iOS, iPadOS and macOS, a shared album you created counts towards your iCloud storage, and "Photos deleted from a shared album delete immediately" ([support.apple.com/108922](https://support.apple.com/108922), published 14 September 2026, read 20 November 2026). Save the ones you want to your library first.

## Step 3: Open a sample from every year

A count shows files exist; it doesn't show they open. In Finder, open each year's folder, select a handful of files from across the year, and press the Space bar. Quick Look shows each one; use the arrow keys to move through them. Play a few videos to the end, since a video cut short still has a size and still counts as a file.

Check the oldest years most carefully. They are the ones you're most likely to delete, and the most likely to have come from old cameras and odd formats.

## Step 4: Make a second copy, and hash it against the first

One copy on one drive is one failure away from nothing. Before you delete anything from iCloud, copy the backup to a second drive. Then prove the second copy matches the first, every file, with a hash.

A hash (here SHA-256) is a 64-character fingerprint of a file's exact bytes. Change one byte and the fingerprint changes. macOS has the `shasum` command built in. Open Terminal and run these, changing the drive and folder names to yours. First, record a fingerprint for every file on the first drive:

```sh
cd "/Volumes/First Drive/Photos Export"
find . -type f ! -name '.*' -print0 |
  xargs -0 shasum -a 256 > ~/Desktop/photo-hashes.txt
```

Then read every file on the second drive and compare:

```sh
cd "/Volumes/Second Drive/Photos Export"
shasum -a 256 -c --quiet ~/Desktop/photo-hashes.txt
```

The first step can take a long time on a big library, since it reads every byte. With `--quiet`, it prints nothing for files that match, and a line for each one that doesn't:

```
./2019/IMG_4021.MOV: FAILED
shasum: WARNING: 1 computed checksum did NOT match
```

A file missing from the second drive shows up as an error too. Silence means every file matched. Keep `photo-hashes.txt` with the backup: you can run the second step against either drive next year to see whether anything has decayed.

**What this proves, and what it doesn't.** It proves the second copy is identical to the first. It can't prove the first copy matches your library, because the fingerprint was taken from the export, after the fact. If the export wrote a damaged file, both copies are equally damaged.

## Can I prove the copy matches what is in iCloud?

Only with a hash taken at the moment of the copy, from the bytes Photos handed over. You can't do that by hand: Photos doesn't show a fingerprint for its originals, and with Optimize Mac Storage on, the originals aren't even on the Mac.

Some backup apps do this check for you. Here is what each one claims, from each app's own listing or project page:

| App | What it checks | Deletes from iCloud? | Price |
|---|---|---|---|
| [Hardcopy](https://gethardcopy.app/how-it-works) | SHA-256 of each file as Photos hands it over and again from the drive; Check Backup re-reads every file later; before removal, re-reads every file of every chosen item | Yes, after that check, with a receipt | $14.99 once |
| [Photos Backup Anywhere](https://gethardcopy.app/vs/photos-backup-anywhere) | Verifies the backup against your library, automatically, and repairs it | No | $9.99 once |
| [Photo Sentinel](https://github.com/andrewbakercloudscale/photo-sentinel) | Before removal, re-reads each file's hash from Google Drive, compares it with the one recorded at upload, and checks the size matches the original's | Yes, from the phone (and so from iCloud), only when you ask | Free, open source, beta; you build it in Terminal |
| [Parachute Backup](https://gethardcopy.app/vs/parachute-backup) | Reports failed and missed items after each run | No, by policy | $19.99 once |

Sources: Mac App Store listings read 16 November 2026; Photo Sentinel's README, v0.6.0, read 20 November 2026. We make Hardcopy, so weigh this table with that in mind. Photos Backup Anywhere's check goes further than Hardcopy's in one way: it compares the backup with the library and repairs it by itself, while Hardcopy names the problem and copies again when you choose. [The best ways to back up iCloud Photos on a Mac](https://gethardcopy.app/best-icloud-photos-backup-apps-mac) compares twelve options in full.

## How does Hardcopy check a backup?

Hardcopy treats the check as part of the copy, not a step you remember afterwards.

- **At copy time.** While Photos hands over a file, Hardcopy computes the SHA-256 of the bytes it receives. Once the file is written to the drive, it reads it back and hashes it again. A copy that doesn't match is thrown away, listed as a failure, and copied again on the next backup.
- **Later, whenever you like.** Check Backup (in the File menu, or Settings › Destination) reads every file back from the drive and compares it with its recorded hash. It names each kind of problem, so "something is wrong" becomes "six are missing, two are damaged", and offers to copy those files again while Photos still has the originals.
- **Before anything leaves iCloud.** Free Up iCloud lists your library afresh and reads back every file of every item you chose. Items that aren't ready stay in iCloud, each with its reason: not backed up yet, a file didn't copy, edited since the backup, copy not proven yet, or damaged or missing.

What Hardcopy's check doesn't do: it can't see shared albums, it doesn't keep people's names, and it keeps captions and keywords only on macOS 27. It has so far run on a demo library and in automated tests, not yet on a real library, so we don't publish timings for it.

## What can't any check catch?

A perfect check of the files still leaves some things outside the backup, because they live only inside Photos:

- **People and their names.** Photos' own export doesn't include them, and apps that read through Photos can't see them (osxphotos, which reads the Photos database directly, is the exception).
- **Captions and keywords**, unless you tick **Export IPTC as XMP** when you export, which saves "IPTC information (assigned IPTC metadata and keywords) as a sidecar XMP file" ([Photos for Mac User Guide](https://support.apple.com/guide/photos/pht6e157c5f/mac), read 20 November 2026). Hardcopy writes them to its .xmp files on macOS 27.
- **Edit history, in an export.** An exported edit imports as a separate picture that can't be re-edited from its original. Hardcopy keeps Photos' edit data beside each edited photo, and its Restore hands the original, the edit and the edit data back to Photos together (not yet tried on a real library).
- **Shared albums**, as above.

If any of those matter to you, keep them in Photos, or note them before you delete.

## I've checked. Can I delete now?

If the counts agree year by year, a sample from every year opens, and a second copy matches the first, you have done more checking than most people ever do. Two things still decide whether a delete can be undone:

1. **Is your iCloud storage full?** If you are over the limit, "your device immediately removes any photos and videos you delete and they won't be available for recovery in your Recently Deleted album" ([support.apple.com/108922](https://support.apple.com/108922), read 20 November 2026). Get under the limit first if you can.
2. **Do you use iCloud Shared Photo Library?** A shared photo you delete is deleted for everyone. View your Personal Library before you select.

[How to delete photos from iCloud but keep them](https://gethardcopy.app/delete-photos-from-icloud-but-keep-them) walks through both, then the delete itself. [The iCloud storage calculator](https://gethardcopy.app/icloud-storage-calculator) shows which plan you'd fit afterwards and what it would save.

## Related guides

- [How to delete photos from iCloud but keep them](https://gethardcopy.app/delete-photos-from-icloud-but-keep-them)
- [Back up iCloud Photos to an external drive on a Mac](https://gethardcopy.app/back-up-icloud-photos-to-external-drive)
- [Back up iCloud Photos with Optimize Mac Storage on](https://gethardcopy.app/back-up-optimized-icloud-photos-library)
- [Why is iCloud storage still full after deleting photos?](https://gethardcopy.app/icloud-storage-full-after-deleting-photos)
- [The best ways to back up iCloud Photos on a Mac](https://gethardcopy.app/best-icloud-photos-backup-apps-mac)
- [How Hardcopy proves each copy and writes the receipt](https://gethardcopy.app/how-it-works)

## Questions people ask

### Why does my export have more files than Photos has photos?

Because one item in Photos can be several files. A Live Photo exports as two separate files, a still image and a video (Photos for Mac User Guide, read 20 November 2026). A RAW photo shot with a JPEG, or an export of both the edited and the original version, also gives two files for one item. More files than items is normal; fewer files than items means something is missing.

### Is opening a few photos enough to know the backup is good?

No. Opening a sample shows the files are real originals that open, but it can't show that every item reached the drive. You need a count for that, year by year, and a hash to show a second copy matches the first.

### Do I need Terminal to check a photo backup?

No. Counting with a Smart Album and Finder, and opening a sample in Quick Look, need no Terminal. Terminal adds the hash check, which proves a second copy is identical to the first, file by file.

### Can a hash prove my export matches what is in iCloud?

Only if the hash was taken from the bytes Photos handed over, at the moment of the copy. A hash you make afterwards from the export proves later copies match the export, not that the export matched your library. Hardcopy takes its hash while Photos hands each file over, and again from the drive.

### Does Time Machine prove my photos are backed up?

Not with Optimize Mac Storage on. Time Machine backs up what is on the Mac, and with that setting the Mac keeps smaller versions when space is limited while the full-size originals stay in iCloud. Choose Download Originals to this Mac first, or copy the originals to a drive another way.

### Are hidden photos included in a Smart Album count?

Check them separately. Hidden items don't show among your other photos; open the Hidden album and count it on its own. If Photos asks for Touch ID or your password to open it (Photos › Settings › General), unlock it before you export, or hidden items can be missed.

### How does Hardcopy check a backup?

Each file's SHA-256 hash is taken while Photos hands it over and again once it is on the drive; a copy that doesn't match is thrown away and copied again. Check Backup reads every file back later and names each problem: missing, wrong size, damaged, or no hash yet. Before it removes anything from iCloud, it reads back every file of every chosen item again.
