I want to setup Proxmox Backup Server 4 with the new S3 Backup functionality. Therefore i connected my pcloud storage and serve it as s3.
Backup works fine, chunks get created.
But garbage collection task is executing a ListObjectsV2 call to the api with a prefix of /<store-name>/.chunks, in order to list chunk objects only. This list api call has currently a timeout of 60 seconds but does deliver in my scenerio 65.000 folders with 1-3 files in each.
This does not finish within 60 secs, hence it quits.
Your data is only modified via S3 interface so you do not care about picking up changes made directly on your pcloud. Hence you can keep directories listing in cache all the time.
Also add --vfs-refresh flag to populate dir cache on rclone serve startup.
I wonder if --vfs-refresh finished populating cache. How long it takes depends on your network and pcloud seed mostly. Clearly it will be more than 60s …
You could use rc interface to query refresh status (it is async job).
PS. I would refrain from using cache mode full. It creates extra dependency which can lead to your data corruption in case of issues. minimal is what I would use. But this is secondary thing.
The delimiter leads to grouping of object keys being identical after the prefix up to the first encounter of the delimiter into a common prefix in the result. so this does not work as the PBS client needs the full chunk object list. That does also explains the significant speed difference in listing.