"SYNC" need --download flag as "CHECK"

Although download and checksum will slow down the syncing, it is necessary to provide --download flag for slight changes.
When the remote storage can't provide hash and correct modified time, falling back to --size-only will ignore the slight changes.

What is the problem you are having with rclone?

rclone sync skip the slight changed size-only file. The --download flag maybe neccesarry for sync/copy.

Run the command 'rclone version' and share the full output of the command.

❯ rclone sync 123:/backup/Enpass infini:/backup/Enpass --config rclone.conf --combined - --checksum
2024/05/31 21:49:45 NOTICE: webdav root 'backup/Enpass': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only
= d065ac10-0d47-4115-9a3b-eac1a1554bac.enpassattach
= 79efc5f2-558d-4f51-b552-36a3bff55985.enpassattach
= vault.enpassdbsync
❯ rclone check 123:/backup/Enpass infini:/backup/Enpass --config rclone.conf --download --combined -
= 79efc5f2-558d-4f51-b552-36a3bff55985.enpassattach
= d065ac10-0d47-4115-9a3b-eac1a1554bac.enpassattach
* vault.enpassdbsync
2024/05/31 21:50:11 NOTICE: webdav root 'backup/Enpass': 1 differences found
2024/05/31 21:50:11 NOTICE: webdav root 'backup/Enpass': 1 errors while checking
2024/05/31 21:50:11 NOTICE: webdav root 'backup/Enpass': 2 matching files
2024/05/31 21:50:11 Failed to check: 1 differences found

Which cloud storage system are you using? (eg Google Drive)

other webdav

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone sync 123:/backup/Enpass infini:/backup/Enpass --combined - --checksum

A log from the command that you were trying to run with the -vv flag

2024/05/31 21:50:18 DEBUG : vault.enpassdbsync: Size of src and dst objects identical
= vault.enpassdbsync

rclone version

❯ rclone version
rclone v1.66.0
- os/version: debian 12.5 (64 bit)
- os/kernel: 6.8.4-3-pve (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.22.1
- go/linking: static
- go/tags: none

welcome to the forum,

take the output of rclone check and feed it to rclone copy and rclone delete

Thank you for the suggestion. Writing a script based on your idea is straightforward. However, the sync function should incorporate check , copy , and delete operations seamlessly. Additionally, a --download flag should be included as a basic feature.

that sounds like a good idea.
open an issue at github, post the link here in the forum.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.