Hi Justin,
Thanks for the quick and good answer.
That made it work for me . I only had to put a path on the local side, and it seems to work.
rclone bisync onedrive: local:PathToLocal
Thanks for the help on this.
However when trying out if everything worked fine, i noticed the following.
If i make a file on the local side , its synced without any issue :
pi@pinas:~ $ rclone bisync onedrive: local:/srv/dev-disk-by-uuid-19cce74b-40d7-49e1-b824-6344e7ec3e80/Files -P
2022/07/14 16:49:14 NOTICE: bisync is EXPERIMENTAL. Don't use in production!
Transferred: 27 B / 27 B, 100%, 13 B/s, ETA 0s
Transferred: 1 / 1, 100%
Elapsed time: 4.6s
But if i then adjust the file on the OneDrive site, it seems to have a problem when syncing again :
pi@pinas:~ $ rclone bisync onedrive: local:/srv/dev-disk-by-uuid-19cce74b-40d7-49e1-b824-6344e7ec3e80/Files -P
2022/07/14 16:50:10 NOTICE: bisync is EXPERIMENTAL. Don't use in production!
2022-07-14 16:50:13 ERROR : TextFileMadeLocal.txt: Failed to copy: chtimes /srv/dev-disk-by-uuid-19cce74b-40d7-49e1-b824-6344e7ec3e80/Files/TextFileMadeLocal.txt: operation not permitted
2022-07-14 16:50:13 ERROR : Bisync critical error: chtimes /srv/dev-disk-by-uuid-19cce74b-40d7-49e1-b824-6344e7ec3e80/Files/TextFileMadeLocal.txt: operation not permitted
2022-07-14 16:50:13 ERROR : Bisync aborted. Must run --resync to recover.
Transferred: 67 B / 67 B, 100%, 0 B/s, ETA -
Errors: 1 (retrying may help)
Checks: 1 / 1, 100%
pi@pinas:~ $ rclone bisync onedrive: local:/srv/dev-disk-by-uuid-19cce74b-40d7-49e1-b824-6344e7ec3e80/Files -P --resync
2022/07/14 16:50:47 NOTICE: bisync is EXPERIMENTAL. Don't use in production!
2022-07-14 16:50:49 ERROR : TextFileMadeLocal.txt: Failed to set modification time: chtimes /srv/dev-disk-by-uuid-19cce74b-40d7-49e1-b824-6344e7ec3e80/Files/TextFileMadeLocal.txt: operation not permitted
2022-07-14 16:50:50 ERROR : Local file system at /srv/dev-disk-by-uuid-19cce74b-40d7-49e1-b824-6344e7ec3e80/Files: not deleting files as there were IO errors
2022-07-14 16:50:50 ERROR : Local file system at /srv/dev-disk-by-uuid-19cce74b-40d7-49e1-b824-6344e7ec3e80/Files: not deleting directories as there were IO errors
2022-07-14 16:50:50 ERROR : Bisync critical error: not deleting files as there were IO errors
2022-07-14 16:50:50 ERROR : Bisync aborted. Must run --resync to recover.
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Checks: 16 / 16, 100%
It looks like an error in the permissions or setting of the times.
I found a discussion on the forum about this, there a possible solution was to use --local-no-set-modtime
.
But this obvious other errors, since bisync complains it has no times..
I took a look at permissions using ls -l , but i am not sure if this is correct or not:
drwxr-sr-x 2 pi users 4096 Jul 14 15:45 Documents
drwxr-sr-x 4 pi users 4096 Jul 14 15:45 TestFolder
-rw-rw-r-- 1 nobody users 67 Jul 14 16:50 TextFileMadeLocal.txt
-rw-rw-r-- 1 nobody users 356135 Jan 5 2022 simpson.jpg
Should you also here see the solution immediately , your help would be much appreciated.
Thanks again for the help,