How Stillkept checks every copy

By Stillkept. Published .

Stillkept counts a photo or video as backed up only when it can prove the copy matches the original. While it reads each original from the Photos app, it computes a SHA-256 checksum and checks that the file is whole. After the upload, it compares the checksum that Google Drive, OneDrive or Dropbox reports for the stored file, or, for a USB-C drive or a Mac or PC, it reads the copy back and compares SHA-256. Before anything is deleted from the iPhone, it downloads up to 3 copies from each backup place, checks them again and opens them. A copy that can't be checked never counts.

Key facts

Step 1: checking the original

Stillkept asks the Photos app for the full-size original of each photo and video. If the original is only in iCloud, because Optimize iPhone Storage is on, the iPhone downloads it first. While the file is read, Stillkept computes its SHA-256.

It also checks that what it read is the real, whole original:

A file that fails is not backed up as good. A file whose check can't run right now, for example because the video decoder isn't available while the app is in the background, is copied, but it can't be freed from the iPhone until a later check passes.

Step 2: checking the copy in each backup place

Each cloud service works out its own checksum from the bytes it actually stores. Stillkept compares that with the value it worked out from the original. Because the service computes it, a match shows the stored file has the same bytes that left the iPhone.

Backup placeWhat Stillkept compares
Google DriveSHA-256 reported by Google Drive, or MD5 and size
OneDriveQuickXorHash and size, plus SHA-1 or SHA-256 when given
DropboxDropbox content hash and size
USB-C driveSHA-256 of the copy, read back from the drive
Mac or PC network folderSHA-256 of the copy, read back over the network

If a service hasn't reported a checksum yet, Stillkept waits and asks again. If none comes, or the values differ, the copy does not count, and the photo stays on the iPhone.

Step 3: the check before delete

A matching checksum shows the copy has the right bytes. Before anything is deleted, Stillkept also proves it can get photos back. It downloads up to 3 backed-up copies from each backup place, preferring the photos you are about to delete and small files up to 50 MB, checks each one's checksum again, and opens it.

This check counts for 30 days. A backup place added later, or one whose last check failed, is checked again before anything else is deleted. If a place can't be reached, nothing that depends on it is deleted.

Step 4: the delete itself

The Free up tab offers only photos and videos that have a checked copy. One checked copy in one backup place is enough. Photos edited after their backup are kept until they are backed up again. You review the list and confirm, and iOS asks you again. Deleted items go to Recently Deleted in the Photos app for 30 days.

Records you can check without the app

Next to the backup, in a folder called Stillkept records, a file called manifest.csv lists every file with its path, kind, date taken, favorite and hidden status, albums, original name, size and SHA-256. Any spreadsheet app opens it. The photos themselves are ordinary files in folders by year and month, for example 2024/2024-05, with edited versions in an _edits folder. To check one file yourself, compute its SHA-256 (on a Mac, shasum -a 256 in Terminal) and compare it with the manifest.

Checking a whole backup place later

On Home, tap Backup places, then Check my backup. Stillkept checks every photo the place holds and shows what it found. A copy that is missing or changed is marked, and backed up again from the iPhone if the original is still there.

What these checks don't cover

A check proves a copy was complete when it was checked. It can't stop a drive from failing later, or a person from deleting the backup folder. That is why the Free up tab keeps the 30-day Recently Deleted safety net, why Check my backup exists, and why a second backup place is an option for photos you can't replace.

Questions

What is SHA-256?

A checksum: a 64-character value worked out from every byte of a file. If one byte changes, the value changes. Two files with the same SHA-256 are, in practice, identical.

Why does Stillkept use the cloud's own checksum?

Because the service computes it from the file it stores. A match proves the stored file has the same bytes as the original, without downloading every file again.

Does Stillkept check videos too?

Yes. Every photo and video gets the same checksum check. Videos are also checked for length and that they play.

Can I check my Stillkept backup without the app?

Yes. The manifest.csv file in the Stillkept records folder lists the SHA-256 of every file. Compute the SHA-256 of any file and compare.