Migrating server and want to manually force whatever is in cache to upload ahead of time. I searched and didn't find the command, but assume this is probably available? Can I check what needs to be written and force it manually so that I can complete my server migration?
Run the command 'rclone version' and share the full output of the command.
rclone v1.59.2
os/version: ubuntu 22.04 (64 bit)
os/kernel: 5.15.0-52-generic (x86_64)
os/type: linux
os/arch: amd64
go/version: go1.18.6
go/linking: static
go/tags: none
Are you on the latest version of rclone? You can validate by checking the version listed here: Rclone downloads
-->
Which cloud storage system are you using? (eg Google Drive)
hi,
what cache? what command are you running, what is the redacted output of the config file?
by default, after five seconds, rclone mount uploads files from the vfs file cache to the remote --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
if you add a file to the mount, rclone uploads it to the remote.
take a look at the log file. 2022/11/04 11:23:29 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
uploading 0 - no files are in the process of being uploaded to upload 0 - no files need to be uploaded. in use 0 - no files are in use/locked, and thus not able to be uploaded.
not 5000 hours, 5 seconds
from the docs --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
once a file is in the cache, after 5 seconds, rclone starts to upload it or queues it for upload.
as rclone transfers four files per second, until there are no more files to transfer.
Thank you for the clarification. I think I had a switch prior that held it local for a longer period of time, but to your point, I do not have any files waiting to be written. You have been helpful. It's been a while since I've played with the config and understood all the variables.