Probably a simple syntax issue, but I have tried every format and combination I could think of and still can't figure out how to sync between two shares on my local network.
Setup: remote = Machine1 = unraid box with source media held in a SMB-shared user share "mc1media" local = Machine2 = unraid box running rclone, with disk share "mediasync"
I don't see any errors, but any files I put in "mc1media/test" don't sync to "mediasync/test".
Any help is GREATLY appreciated!
The most recent scripts and results below.
rclone.conf:
[mediasync]
type = local
copy_links = true
links = false
Rclone Mount Script:
#----------------------------------------------------------------------------
#!/bin/bash
localshare="/mnt/disks/mediasync/test"
remoteshare="//10.10.0.5/mnt/user/mc1media/test"
mkdir -p $localshare # create local folder
rclone mount -vv --max-read-ahead 1024k --allow-other $remoteshare $localshare &
#----------------------------------------------------------------------------
LOG FILE:
Script Starting Sun, 18 Aug 2019 15:36:33 -0400
Script Finished Sun, 18 Aug 2019 15:36:33 -0400
2019/08/18 15:36:33 DEBUG : rclone: Version "v1.48.0" starting with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone/.rclone.conf" "mount" "-vv" "--max-read-ahead" "1024k" "--allow-other" "//10.10.0.5/mnt/user/mc1media/test" "/mnt/disks/mediasync/test"]
2019/08/18 15:36:33 DEBUG : Using config file from "/boot/config/plugins/rclone/.rclone.conf"
2019/08/18 15:36:33 DEBUG : Local file system at /10.10.0.5/mnt/user/mc1media/test: Mounting on "/mnt/disks/mediasync/test"
2019/08/18 15:36:33 INFO : Local file system at /10.10.0.5/mnt/user/mc1media/test: poll-interval is not supported by this remote
2019/08/18 15:36:33 DEBUG : Adding path "vfs/forget" to remote control registry
2019/08/18 15:36:33 DEBUG : Adding path "vfs/refresh" to remote control registry
2019/08/18 15:36:33 DEBUG : Adding path "vfs/poll-interval" to remote control registry
2019/08/18 15:36:33 DEBUG : : Root:
2019/08/18 15:36:33 DEBUG : : >Root: node=/, err=<nil>
Rclone Sync Script:
#----------------------------------------------------------------------------
#!/bin/bash
localshare="/mnt/disks/mediasync/test"
remoteshare="//10.10.0.5/mnt/user/mc1media/test"
rclone sync -vv $localshare $remoteshare
#----------------------------------------------------------------------------
LOG FILE:
Script Starting Sun, 18 Aug 2019 15:43:08 -0400
2019/08/18 15:43:09 DEBUG : rclone: Version "v1.48.0" starting with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone/.rclone.conf" "sync" "-vv" "/mnt/disks/mediasync/test" "//10.10.0.5/mnt/user/mc1media/test"]
2019/08/18 15:43:09 DEBUG : Using config file from "/boot/config/plugins/rclone/.rclone.conf"
2019/08/18 15:43:09 INFO : Local file system at /10.10.0.5/mnt/user/mc1media/test: Waiting for checks to finish
2019/08/18 15:43:09 INFO : Local file system at /10.10.0.5/mnt/user/mc1media/test: Waiting for transfers to finish
2019/08/18 15:43:09 INFO : Waiting for deletions to finish
2019/08/18 15:43:09 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 0
Checks: 0 / 0, -
Transferred: 0 / 0, -
Elapsed time: 0s
2019/08/18 15:43:09 DEBUG : 3 go routines active
2019/08/18 15:43:09 DEBUG : rclone: Version "v1.48.0" finishing with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone/.rclone.conf" "sync" "-vv" "/mnt/disks/mediasync/test" "//10.10.0.5/mnt/user/mc1media/test"]
Script Finished Sun, 18 Aug 2019 15:43:09 -0400