What is the problem you are having with rclone?
Not exactly a problem, but a confusion.
Took me some back and forth until got rclone working inside openmediavault and docker.
Finally got docker working and showing rclone through gui. All very nice.
I'm doing sync to google drive (config solved and working OK also).
So far, all good and no issues.
Have create a shell script to run the backup (planning to run via cron or some funtion in omv still to be worked on).
The shell script uses "rc" to connect to the gui:
docker exec rclone rclone rc sync/sync _filter={"IncludeFrom":["/rclone-sync/include_mycloud.txt"]} srcFs="local:/data/mycloud" dstFs="gdrive:/mycloud" --rc-user=xxxx --rc-pass=xxxx _async=true -vv --checksum --delete-before --delete-excluded --transfers=1 --checkers=4 --contimeout=60s --timeout=300s --retries=3 --low-level-retries=10 --stats=1s --stats-file-name-length=0 --fast-list
This is working OK with no issues, but my question (and sorry for all this rant) is the mix of underscore commands (such _filter) together with the more standard double dahs (--checksum). Combination of both seems to be working OK or at least I'm not seeing any error. Are both OK to use? Any preferred one?
Run the command 'rclone version' and share the full output of the command.
docker exec rclone rclone version
rclone v1.68.2
- os/version: alpine 3.20.3 (64 bit)
- os/kernel: 6.1.0-28-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.23.3
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
google drive (all OK. i can sync, mount, etc)
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
docker exec rclone rclone rc sync/sync _filter={\"IncludeFrom\":[\"/rclone-sync/include_mycloud.txt\"]} srcFs="local:/data/mycloud" dstFs="gdrive:/mycloud" --rc-user=xxxx --rc-pass=xxxx _async=true -vv --checksum --delete-before --delete-excluded --transfers=1 --checkers=4 --contimeout=60s --timeout=300s --retries=3 --low-level-retries=10 --stats=1s --stats-file-name-length=0 --fast-list