Cifs module ignoring --local-no-set-modtime flag

What is the problem you are having with rclone?

Error smb://backuper@sql05.prodnt:445/Backup/ToAutoRestor: Connection failed, closing: stat : connection error: read tcp 10.31.233.34:43950->10.31.241.93:445: i/o timeout

while command cmd is rclone sync /mnt/storage/PRODNT/SQL/SQL04/mst sql05_autorestor:Backup/ToAutoRestor --max-age 2023-05-07 --filter="+ AG01\$S QLAG01_mst_*" --filter="- *" --local-no-check-updated --local-no-set-modtime --delete-excluded --stats-one-line --stats 10m --log-level=DEBUG

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

rclone v1.62.2

Full log:

2023/05/08 09:11:13 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "sync" "/mnt/storage/PRODNT/SQL/SQL04/mst" "sql05_autorestor:Backup/ToAutoRestor" "--max-age" "2023-05-07" "--filter=+ AG01$SQLAG01_mst_*" "--filter=- *" "--local-no-check-updated" "--local-no-set-modtime" "--delete-excluded" "--stats-one-line" "--stats" "10m" "--log-level=DEBUG"]
2023/05/08 09:11:13 DEBUG : Creating backend with remote "/mnt/storage/PRODNT/SQL/SQL04/mst"
2023/05/08 09:11:13 DEBUG : Using config file from "/home/backuser/.config/rclone/rclone.conf"
2023/05/08 09:11:13 DEBUG : local: detected overridden config - adding "{H0neI}" suffix to name
2023/05/08 09:11:13 DEBUG : fs cache: renaming cache item "/mnt/storage/PRODNT/SQL/SQL04/mst" to be canonical "local{H0neI}:/mnt/storage/PRODNT/SQL/SQL04/mst"
2023/05/08 09:11:13 DEBUG : Creating backend with remote "sql05_autorestor:Backup/ToAutoRestor"
2023/05/08 09:11:13 DEBUG : smb://backuper@sql05.prodnt:445/Backup/ToAutoRestor: Using root directory "Backup/ToAutoRestor"
...
2023/05/08 10:21:13 INFO  :   682.266 GiB / 722.753 GiB, 94%, 160.417 MiB/s, ETA 4m18s
2023/05/08 10:22:08 DEBUG : smb://backuper@sql05.prodnt:445/Backup/ToAutoRestor: Not closing 2 unused connections as 1 sessions active
2023/05/08 10:23:08 DEBUG : smb://backuper@sql05.prodnt:445/Backup/ToAutoRestor: Not closing 2 unused connections as 1 sessions active
2023/05/08 10:24:08 DEBUG : smb://backuper@sql05.prodnt:445/Backup/ToAutoRestor: Not closing 2 unused connections as 1 sessions active
2023/05/08 10:25:08 DEBUG : smb://backuper@sql05.prodnt:445/Backup/ToAutoRestor: Not closing 2 unused connections as 1 sessions active
2023/05/08 10:25:35 DEBUG : AG01$SQLAG01_mst_FULL_20230507_051022.bak: Received error: Update SetModTime failed: chtimes ToAutoRestor\AG01$SQLAG01_mst_FULL_202305
07_051022.bak: connection error: read tcp 10.31.233.34:43950->10.31.241.93:445: i/o timeout - low level retry 1/10
2023/05/08 11:39:35 DEBUG : smb://backuper@sql05.prodnt:445/Backup/ToAutoRestor: Not closing 0 unused connections as 1 sessions active
2023/05/08 11:39:36 INFO  : AG01$SQLAG01_mst_FULL_20230507_051022.bak: Copied (new)

This is a flag for the local backend not the smb backend.

Is setting modtime via SMB failing? Why do you think that is? The modtime syncs won't work properly unless rclone can set the modtime. You could use --size-only or --checksum instead?

Thx, i try this

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