Hi there,
I am replying to this older topic as I assume I got very similar problems. Feel free to remove my post.
I am using two really similar configured repositories on two different Ondrive accounts (1TB each). They both worked with no trouble for years now.
Duplicacy cmd line version 2.2.3 (58387C)
Account A gives HTTP Return Code 409 and retry messages during backup. Backup does not work at all anymore.
Account B still works like a charm and this is why I assume it is not rate limiting here but something else.
Official ondrive api documentation says status code 409 is “Conflict - The current state conflicts with what the request expects. For example, the specified parent folder might not exist.”
I cannot say I changed anything on Account A. Well, I logged in to the ondrive Account A recently and shared another folder to some people, that should not harm at all?!
My scheduled task (./duplicacy -log backup -threads 4 -stats) logs is
2025-04-30 15:52:13.744 INFO STORAGE_SET Storage set to one://<removedName>
2025-04-30 15:52:17.155 INFO ONEDRIVE_RETRY Response code: 409; retry after 804 milliseconds
2025-04-30 15:52:18.168 INFO ONEDRIVE_RETRY Response code: 409; retry after 954 milliseconds
2025-04-30 15:52:19.313 INFO ONEDRIVE_RETRY Response code: 409; retry after 1564 milliseconds
2025-04-30 15:52:21.057 INFO ONEDRIVE_RETRY Response code: 409; retry after 5739 milliseconds
2025-04-30 15:52:27.015 INFO ONEDRIVE_RETRY Response code: 409; retry after 133 milliseconds
2025-04-30 15:52:27.315 INFO ONEDRIVE_RETRY Response code: 409; retry after 25875 milliseconds
2025-04-30 15:52:53.395 INFO ONEDRIVE_RETRY Response code: 409; retry after 14931 milliseconds
2025-04-30 15:53:08.508 INFO ONEDRIVE_RETRY Response code: 409; retry after 87923 milliseconds
2025-04-30 15:54:36.431 ERROR SNAPSHOT_LIST Failed to list the revisions of the snapshot MySnap: Maximum number of retries reached
r
I used
./duplicacy -debug backup -stats
and got these logs:
Storage set to one://somebackup
Reading the environment variable DUPLICACY_ONE_TOKEN
Reading one_token from preferences
GET https://api.onedrive.com/v1.0/drive/root:/somebackup?select=id,name,size,folder
GET https://api.onedrive.com/v1.0/drive/root:/somebackup/chunks?select=id,name,size,folder
GET https://api.onedrive.com/v1.0/drive/root:/somebackup/fossils?select=id,name,size,folder
GET https://api.onedrive.com/v1.0/drive/root:/somebackup/snapshots?select=id,name,size,folder
Reading the environment variable DUPLICACY_ONE_TOKEN
Reading one_token from preferences
Reading the environment variable DUPLICACY_PASSWORD
Reading password from preferences
GET https://api.onedrive.com/v1.0/drive/root:/somebackup/config?select=id,name,size,folder
GET https://api.onedrive.com/v1.0/drive/items/root:/somebackup/config:/content
Using 16384 iterations for key derivation
GET https://api.onedrive.com/v1.0/drive/root:/somebackup/nesting?select=id,name,size,folder
Chunk read levels: [1], write level: 1
Compression level: 100
Average chunk size: 4194304
Maximum chunk size: 16777216
Minimum chunk size: 1048576
Chunk seed: <removedSeed>
Reading the environment variable DUPLICACY_PASSWORD
Reading password from preferences
top: /volume1/backups/duplicacy-repoA, quick: true, tag:
Downloading latest revision for snapshot MySnap
Listing revisions for snapshot MySnap
GET https://api.onedrive.com/v1.0/drive/root:/somebackup/snapshots?select=id,name,size,folder
POST https://api.onedrive.com/v1.0/drive/items/removedID!removedID/children
Response code: 409; retry after 63 milliseconds
POST https://api.onedrive.com/v1.0/drive/items/removedID!removedID/children
Response code: 409; retry after 13 milliseconds
POST https://api.onedrive.com/v1.0/drive/items/removedID!removedID/children
Response code: 409; retry after 98 milliseconds
POST https://api.onedrive.com/v1.0/drive/items/removedID!removedID/children
Response code: 409; retry after 3700 milliseconds
POST https://api.onedrive.com/v1.0/drive/items/removedID!removedID/children
Response code: 409; retry after 6415 milliseconds
POST https://api.onedrive.com/v1.0/drive/items/removedID!removedID/children
Response code: 409; retry after 18359 milliseconds
POST https://api.onedrive.com/v1.0/drive/items/removedID!removedID/children
Response code: 409; retry after 24929 milliseconds
POST https://api.onedrive.com/v1.0/drive/items/removedID!removedID/children
Response code: 409; retry after 14858 milliseconds
Failed to list the revisions of the snapshot MySnap: Maximum number of retries reached
I have no clue whats the matter. I already downloaded another tokenfile and replaced the original one with it. No difference. I reduced threads from 4 to 1, no difference.
Is there any advice? Would really appreciate to have it working again.
In case a newer version is needed to clarify - can I just replace the duplicacy file 2.2.3 with 2.7.2 ?
Manne