How to Prevent Cloud Photo Sidecars From Changing Capture Dates

Eva Wong is the Technical Writer and resident tinkerer at ZimaSpace. A lifelong geek with a passion for homelabs and open-source software, she specializes in translating complex technical concepts into accessible, hands-on guides. Eva believes that self-hosting should be fun, not intimidating. Through her tutorials, she empowers the community to demystify hardware setups, from building their first NAS to mastering Docker containers.

Prevent cloud photo sidecars from changing capture dates by treating the original embedded capture timestamp as the source of truth and testing any sidecar merge before it touches your main archive.

In a home NAS photo library, the danger usually appears after a cloud export, mobile sync, Lightroom sidecar write, or bulk metadata repair: the image still looks correct, but the timeline, folder sort, or backup comparison suddenly follows the export date, edit date, or JSON sidecar date instead of the moment the photo was taken.

Identify Which Date Your Photo Library Is Actually Using

The first safe step is to separate three different clocks: the embedded camera capture date, the file system modified or created date, and the date stored in a sidecar file. They can all describe the same picture, but photo apps do not always choose them in the same order.

For normal JPEG and many RAW workflows, embedded tags such as DateTimeOriginal, CreateDate, and ModifyDate are the fields most tools inspect when deciding when an image was captured; ExifTool documents these common date fields and also provides the AllDates shortcut for coordinated edits of those metadata timestamps.

Before you import a cloud export into your main gallery, sample a few files with a metadata reader and record which value matches the real capture moment. If the file system date says the export day while the embedded capture date is correct, do not let your organizer rebuild folders from the file system clock.

Keep Sidecars Beside Photos Without Letting Them Win Automatically

Sidecars are useful because they carry edits, cloud corrections, ratings, labels, or missing metadata without rewriting the original image. The risk is not their existence; the risk is allowing an importer to apply them blindly to every date field.

Adobe Lightroom Classic, for example, can automatically write changes into XMP, which means sidecars may be updated continuously as you work. That is helpful for portability, but it also means the sidecar timestamp and the photo capture timestamp should not be treated as interchangeable.

Move or back up each photo and its sidecar as a pair, but configure your import rule so sidecar edits do not override the capture date unless you have verified that the sidecar contains the corrected capture field you want. If the app offers a dry run, preview the date mapping before committing.

Test Cloud JSON Sidecars on a Copy Before Merging Dates

Cloud exports often add JSON files whose names resemble the photo filename. Those files may contain useful metadata, but they can also contain several dates with different meanings, so the correct action is to test a copy instead of merging the whole folder directly.

Google Photos Takeout repair guides commonly distinguish a photo-taken field from upload or creation fields; one explanation of Google Takeout JSON files notes that photoTakenTime represents the photo time while creationTime may represent when the item entered Google Photos. That distinction is exactly why a blind merge can move a whole archive to the wrong year.

Copy ten representative files into a test folder, merge only the intended capture field, then inspect the results in two places: a metadata reader and the actual gallery app you use on the NAS. Continue only if both agree with the expected capture date and the sidecar edits still appear.

-15% OFF
Single board computer zimaboard2

Preserve File Modification Dates When You Rewrite Metadata

Many metadata tools rewrite a file when they update embedded fields. That rewrite can update the file system modified time even when the embedded capture date is still correct, which matters if your backup software or gallery sort uses file modification time.

ExifTool includes a preserve file modification date option for workflows where metadata should change without moving the file-system timestamp. This does not prove every app behaves the same way, but it gives you a safer pattern for controlled repair.

When you must write corrected dates back into files, run the command on a copy first, preserve file modified time if your downstream tools depend on it, and export a before-and-after report. Stop if the image capture field is correct but the gallery still sorts by a different clock; that is an app configuration problem, not a reason to keep rewriting originals.

Verify the Archive With Folder Sorts, Gallery Sorts, and Backup Diffs

A date repair is not complete when the command finishes. It is complete when the same representative photos appear in the correct order in your NAS gallery, file browser, and backup comparison.

Community cases around cloud sidecars often show the same failure pattern: users merge JSON or XMP data, then discover that a library uses the wrong field after import. A PhotoStructure support thread about Google Takeout sidecar date confusion is a useful reminder that naming and date semantics must be verified in the destination app, not only in the export folder.

After the test batch passes, run the same checks on a larger copy before changing your production share. If the results differ between tools, freeze the workflow, keep the untouched backup, and document which date field each app is reading before you proceed.

FAQ

Should I delete JSON or XMP sidecars after importing photos?

No, not until you have confirmed that the edits or corrected metadata were safely embedded or imported. Keep the sidecars with the originals until a backup and a gallery check prove they are no longer needed.

Which date should be trusted when the file date and EXIF date disagree?

For camera originals, trust the embedded capture date first unless you know it was wrong in the camera. File dates are easy to change during download, export, sync, copy, and restore operations.

If this repair is part of a bigger home archive cleanup, pair it with a storage policy that keeps untouched originals separate from edited or repaired copies; the same separation logic also helps when you plan snapshot replication retention for a NAS photo share.

Support & Tips

More to Read

Get More Builds Like This

Stay in the Loop

Get updates from Zima - new products, exclusive deals, and real builds from the community.

Stay in the Loop preferences

We respect your inbox. Unsubscribe anytime.