(OneDrive) Errors running maintenance

I am getting errors running maintenance for my OneDrive repository. I am not sure if it is related to throttling, as I am using my own API key.

I tried running:

kopia snapshot fix invalid-files --commit

and this is what I got:

WARN unable to persist sharding parameters: MOVE .shards-4928371624409470856: 403
ERROR error running maintenance: error running maintenance: error updating maintenance schedule: unable to complete PutBlob(kopia.maintenance) despite 10 retries: MOVE kopia.maintenance.f-671183362965974769: 403
WARN unable to write diagnostics blob: unable to complete PutBlob(_log_20240903115738_3dc1_1725389858_1725391608_1_f0f15928022898fb5055ac7cfacc7d2c) despite 10 retries: MOVE _lo/g_2/0240903115738_3dc1_1725389858_1725391608_1_f0f15928022898fb5055ac7cfacc7d2c.f-4525944653271274836: 403

I assume that you use rclone to access OneDrive. rclone support is experimental in kopia and should be treated as such… From my experience forget it unless for some small experiments - you will save yourself tones of frustration. Your repo will get corrupted - bigger it is and more you use it faster it will happen. It is not if but when.

If you have to use OneDrive look for some other tools like restic/rustic - they have very well performing rclone integration.

I always assume that encrypted data is going to get corrupted, which is why I backup everything to three clouds.

What I ended up doing is wiping my OneDrive backup and doing kopia snapshot migrate -all from my Google Drive backup.

Now I am back to where I started with no data loss.

1 Like