Kopia repository sync-to filesystem

Tried to sync location1/repo1 to location2/repo1 after connecting to location1/repo1.
Destination location2/repo1 has no data created yet, but has policy set.

$ sudo kopia repository connect filesystem --path /location1/repo1
$ sudo kopia repository sync-to filesystem --path /location2/repo1

Got this error:
kopia: error: destination repository contains incompatible data, try --help

Both repos were initialised the same way with similar policies.

Sync only works with one repository. You simply make a replica of it. It’s not suitable for merging repositories.

In other words, target needs to be an un-initialized folder?

1 Like

yes, or it must have exactly the same kopia.repository file