I’m backing up to machines (1 Linux, 1 Windows) to the same repository on external HD. I’m synching the repository to a second external HD.
Firstly, a few snapshots have been written to repositor on HD1, and the repository is “sync-to” to HD2.
Now, I have taken snapshots to HD2 and want to “sync-to” to HD1, so reverse direction of the “sync-to”. But the “sync-to” wants to copy all blobs from HD2 to HD1, instead of only the new ones created by this snapshot.
Result of “sync-to” from HD1 to HD2
> kopia repository connect filesystem --path=/media/HD1/KopiaBackups
> kopia repository sync-to filesystem --path=/media/HD2/KopiaBackups/
Synchronizing repositories:
Source: Filesystem: /media/HD1/Backups/
Destination: Filesystem: /media/HD2/Backups/
NOTE: By default no BLOBs are deleted, pass --delete to allow it.
Looking for BLOBs to synchronize...
Found 17404 BLOBs in the destination repository (398 GB)
Found 17398 BLOBs (397.9 GB) in the source repository, 0 (0 B) to copy
Found 0 BLOBs to delete (0 B), 17398 in sync (397.9 GB)
Copying...
As expected, there are more blobs (6 to be precise) on HD2, so nothing is to be copied from HD1 to HD2
Next, “sync-to” from HD2 to HD1
> kopia repository connect filesystem --path=/media/HD2/KopiaBackups
> kopia repository sync-to filesystem --path=/media/HD1/KopiaBackups/
Synchronizing repositories:
Source: Filesystem: /media/HD2/KopiaBackups/
Destination: Filesystem: /media/HD1/KopiaBackups/
NOTE: By default no BLOBs are deleted, pass --delete to allow it.
Looking for BLOBs to synchronize...
Found 17398 BLOBs in the destination repository (397.9 GB)
Found 5776 BLOBs (130.9 GB) in the source repository, 5776 (130.9 GB) to copy^C
Command interrupted, since I don’t want top copy everything from HD2 back to HD1 adain. I had expected to see kopia copying the 6 blobs that are missing on HD1, only. Instead, is seems not to recognize, the majority of blobs are already on HD1.
- Am I doing something unsupported?
- Am I missing something?
> kopia --version
0.23.1 build: 72ec08fd8edb86c67ed27099bf1b955e1f308ffa from: kopia/kopia