Mirrored repositories

By mirrored repository, I am referring to the ability to have a local and cloud repository and perform a snapshot to both destinations simultaneously.

It seems there could be significant opportunities for performance efficiencies and cache size if a single snapshot could be sent to multiple repositories. Kopia would only need to hash and compress the source files only once, before saving to both repositories, and there could be a shared cache.

I understand that there might be issues if the repositories diverge, so maybe there could be safeguards for that possibility. Maybe the repository configuration could reference a ‘mirrored’ pair and bring the repositories into sync before performing the snapshot.

if this is your concern than you could snapshot to one repository and then kopia repository sync-to from it to another one.

I wouldn’t say that is my only concern, the additional benefit would be a near simultaneous snapshot.

Correct me if I am wrong, but I presume it would be most efficient to perform the snapshot to the a local repository on an external drive followed by the sync-to the cloud one?