I have a server at Contabo, the bandwidth is 200M, and I did the following, I have a Nextcloud running on a docker on my server, and the data directory where the files are, I want to leave them mounted on the Drive.
I did a test by sending a 2G file to the mounted Drive directory on my Contabo server and found it a little slow. I use Duplicati to do bkp on the same drive and it takes 15 minutes to send about 60G of data.
With the rclone it took a little more than 2 minutes to send 2G.
Do you have enough information now? I believe that you don't need all this, just optimize the part of the service where the command is executed in the assembly.
It's working, but I think it's a little slow, it took about 2 minutes for me to send a 2G file to the mounted drive. I want to drop that time to less than 1 minute.
One other thing .. I don't know if you understand, I'll do the following ..
the "data" directory of the nextcloud where the files are located i'm going to mount my docker in the drive folder that is on my server already mounted, so there are some options like this (--dir-cache-time = 12h) that I believe need a better configuration.
there is some wrong parameter that I did not find .. I changed the configuration a little for that ..
As part of the help template, we ask for a log file to help diagnose the issue and provide assistance. It explains to run the command with -vv and share the log file.
The log file in debug contains the details to show why something may or may not be working.
Stop the service.
Add -vv to the mount command.
Start the service.
Share the full log file.
An example log file with -vv will have all the info.
felix@gemini:~$ rclone copy /etc/hosts GD: -vv
2021/05/24 23:12:23 DEBUG : Using config file from "/opt/rclone/rclone.conf"
2021/05/24 23:12:23 DEBUG : rclone: Version "v1.55.1" starting with parameters ["rclone" "copy" "/etc/hosts" "GD:" "-vv"]
2021/05/24 23:12:23 DEBUG : Creating backend with remote "/etc/hosts"
2021/05/24 23:12:23 DEBUG : fs cache: adding new entry for parent of "/etc/hosts", "/etc"
2021/05/24 23:12:23 DEBUG : Creating backend with remote "GD:"
2021/05/24 23:12:23 DEBUG : hosts: Size and modification time the same (differ by -517.966µs, within tolerance 1ms)
2021/05/24 23:12:23 DEBUG : hosts: Unchanged skipping
2021/05/24 23:12:23 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Checks: 1 / 1, 100%
Elapsed time: 0.5s
2021/05/24 23:12:23 DEBUG : 4 go routines activefelix@gemini:~$ rclone copy /etc/hosts GD: -vv
2021/05/24 23:12:23 DEBUG : Using config file from "/opt/rclone/rclone.conf"
2021/05/24 23:12:23 DEBUG : rclone: Version "v1.55.1" starting with parameters ["rclone" "copy" "/etc/hosts" "GD:" "-vv"]
2021/05/24 23:12:23 DEBUG : Creating backend with remote "/etc/hosts"
2021/05/24 23:12:23 DEBUG : fs cache: adding new entry for parent of "/etc/hosts", "/etc"
2021/05/24 23:12:23 DEBUG : Creating backend with remote "GD:"
2021/05/24 23:12:23 DEBUG : hosts: Size and modification time the same (differ by -517.966µs, within tolerance 1ms)
2021/05/24 23:12:23 DEBUG : hosts: Unchanged skipping
2021/05/24 23:12:23 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Checks: 1 / 1, 100%
Elapsed time: 0.5s
2021/05/24 23:12:23 DEBUG : 4 go routines active
Yes, I updated after generating the log, but I am at 1.55 now. There are no errors, but I want to know if you can improve the transfer of files to the drive. As I said, I will mount the "data" directory of the nextcloud and all the files will be on the drive.
Nextcloud does a lot of synchronization, removing update files.
I am not sure what Nextcloud is/does as I am only here for rclone.
I have a rclone mount that I shared that maxes my gigabit line to my Google Drive with the defaults so there is not really much more optimization as rclone is generally very fast.
You may want to retest with the latest and validate your results are the same and share a new log with the updated testing.
There are many things that impact speed like geolocation and your ISP peering. I'm in the US, have fiber and have a lot of control of my bandwidth/QOS so I can be certain of a lot of things along the pipe so I get very consistent results.
Do you know Nextcloud?
I don't know how it will work with several files, when I mount the volume of the google drive, using it without any options is better? no flag?
I searched and I didn't find what the "-v" option is for, can you tell me?