cairn icon indicating copy to clipboard operation
cairn copied to clipboard

Ability to mirror deletes only of photos not added to albums

Open dfberger opened this issue 5 months ago • 0 comments

What problem does this solve?

As a user, I desire that all photos are backed up to immich, that “important” photos remain on immich even if they’re removed from my device, but deletion of “unimportant” photos is mirrored to immich. Adding a photo to a named album marks it as important.

This is a hybrid between “backup” and “sync” - deletion of “unimportant” (transient) images are synchronized, while “important” images are preserved.

Example 1

  1. A user takes Photo1, it appears in the iOS Photos Library and Immich automatically backs it up, causing Photo1 to appear in the users immich timeline.

  2. Using the iOS Photos App, the user deletes Photo1.

  3. Cairn mirrors that delete to immich, and Photo1 moves to the immich trash for eventual deletion.

Example 2

  1. The user takes Photo2, it appears in the iOS Photos Library and Immich automatically backs it up, causing Photo2 to appear in the users immich timeline.

  2. Using the iOS Photos App, the user adds Photo2 to an album. If immich is configured to synchronize albums, the next immich sync puts that photo in the corresponding album on the server.

  3. Using the iOS Photos App, the user deletes Photo2 (which removes it from the iOS photo Library and from the album.)

  4. Because the photo is in a named album, Cairn does not mirror the delete to immich. Photo2 remains in the immich timeline (and in the corresponding immich album, if album synchronization is enabled).

This allows the user to use immich to preserve important photos while being free to delete those photos on device - using the native/familiar iOS workflow - and manage space.

Proposed solution

This could be a global behavior optionin cairn, or the user could mark specific albums for preservation.

Alternatives considered

This entire sync behavior could be incorporated into the immich app.

Anything else

I found your app in the immich discussion thread, thanks for writing and releasing it :)

dfberger avatar Jul 05 '26 10:07 dfberger