I have some big backend. I look for a solution to mount this backend to my local system, but I want that files that I use (read or write) will be cache forever in my disk even between computer restart.
In the documentation the --vfs-cache-* option is exactly what I am looking for expect that the cache is relevant only until rclone is restart.
I think that maybe it can be solved with hibernate the computer instead of shutdown but it is very inconvenient. (Also not sure it will work because network will be interrupt. did not try it yet, hope for a better solution).
Which cloud storage system are you using? (eg Google Drive)
Google drive and Mege.nz. Maybe also s3 in the future.
The command you were trying to run (eg rclone copy /tmp remote:tmp)
--vfs-cache-max-age=9999y
the files will stay in the cache for 9999 years. that should be close enough to infinity.
and might set --vfs-cache-poll-interval to a large value as compared to default value.
that will not solve your issue. files are purged from the cache based on time duration.
the good news is hibernation will not damage files already existing in the cache.