What is the problem you are having with rclone?
Before leaving the office I have two rclone jobs running. Same source directory, different destinations. One is a sync copy and the other one is a sync copy of only files with a 24h time difference, so basically a 1 day diff backup.
The first sync job works fine, but the second one does't respect the time difference and acts just as the first sync, copying over all the files modified or created within the day.
Run the command 'rclone version' and share the full output of the command.
rclone v1.68.1
- os/version: Microsoft Windows 11 Pro for Workstations 23H2 (64 bit)
- os/kernel: 10.0.22631.5472 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.23.1
- go/linking: static
- go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
Windows server on LAN
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
NB: this command is wrapped in a PowerShell script, that runs the jobs and then shuts down the PC
$mirrorArgs = 'sync "D:/02-WORK/" "/000.000.000.000/backup/MIRROR/" --update --use-server-modtime --copy-links --exclude sync.ffs_lock --exclude *.bak --exclude *.skb --exclude *.tmp --exclude thumbs.db --exclude *.dwl* --exclude "80-CORPORATE/NOTES EMAILS/Mailbox.pst" --log-file="' + $logFileMirror + '" --log-level INFO --progress --stats 0'
$backupArgs = 'sync "D:/02-WORK/" "//000.000.000.000/backup/BAK/" --modify-window=24h --copy-links --exclude sync.ffs_lock --exclude *.bak --exclude *.skb --exclude *.tmp --exclude thumbs.db --exclude *.dwl* --exclude "80-CORPORATE/NOTES EMAILS/Mailbox.pst" --log-file="' + $logFileBackup + '" --log-level INFO --progress --stats 0'
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[WORK MIRROR]
type = smb
host = XXX
user = XXX
port = 1021
idle_timeout = 1h0m0s
copy_links = true
case_insensitive = true
description = Mirror of work folder
[WORK BACKUP]
type = smb
host = XXX
user = XXX
port = 1021
idle_timeout = 1h0m0s
copy_links = true
case_insensitive = true
description = 24h difference backup of work folder
A log from the command that you were trying to run with the -vv
flag
Sync Log (Mirror Job)
2025/06/23 18:07:59 INFO : 12-FVSH3/90-PICS/IMG_4088.jpg: Copied (new)
2025/06/23 18:07:59 INFO : 12-FVSH3/90-PICS/IMG_4090.jpg: Copied (new)
2025/06/23 18:07:59 INFO : 02-FVSH/20-INTERIORS/2025.05.30 Public Toilet Block G/FVSH-INT-Public Toilet Block G Renovation 2025.06.23.dwg: Copied (new)
2025/06/23 18:08:28 INFO : 02-FVSH/20-INTERIORS/2025.05.30 Public Toilet Block G/10-NN: Set directory modification time (using SetModTime)
24h diff Sync Log (Backup Job)
2025/06/23 18:08:59 INFO : 12-FVSH3/90-PICS/IMG_4090.jpg: Copied (new)
2025/06/23 18:08:59 INFO : 12-FVSH3/90-PICS/IMG_4088.jpg: Copied (new)
2025/06/23 18:09:49 INFO : 02-FVSH/20-INTERIORS/2025.05.30 Public Toilet Block G/10-NN: Set directory modification time (using SetModTime)
2025/06/23 18:09:49 INFO : 02-FVSH/20-INTERIORS/2025.05.30 Public Toilet Block G: Set directory modification time (using SetModTime)