Hi,
I have a restic repo with roughly 900 GB of data that I recently moved from a SFTP storage to OneDrive. While the restic repo was accessed directly via SFTP, taking an incremental backup of 300 GB of data took ~15 minutes (way less than 1 GB of the data actually changed). When accessing the repo on OneDrive via rclone, taking an incremental backup of the same 300 GB data now takes around 3 hours.
I use this command for taking the backup (restic version is 0.16.0):
restic -r rclone:onedrive-backup:restic --password-file /config/password.txt --host foo backup /mnt --verbose --verbose --ignore-inode --no-cache --no-scan
Looking into the verbose log I found that for OneDrive it seems to take restic way longer to find out wether a file has changed: For an example folder in the 300 GB data set, it took 5 seconds with SFTP, while it now takes 100 seconds with OneDrive via rclone to find out that none of the files in the folder have changed.
Is there any way to speed up backing up to OneDrive?