Rclone storage gateway

Hi,
as aws storage gateway would be very nice a rclone service that sync all data from a local path to the cloud bucket and keep it sending to the bucket after each new insert. And after this local data get full delete the old files only from this local path keeping then only in the cloud bucket.

Is there something like that? Or any plans?

You could make something like that very easily with a few rclone scripts...

  • One to do the copying data
  • And another to delete old data

the problem is each inset sync all the folder. is too expensive.
the perfect world would be something listing and send to cloud only the new data.

You could use rclone mount with --vfs-cache-mode full and set --vfs-cache-max-age

1 Like

is there a way to disable --vfs-cache-max-age and use only --vfs-cache-max-size?
grow up the cache until 500gb ignoring the age. how?

You'd just remove that flag from your command.

(default 1h0m0s)
is not needed to set vfs-cache-max-age=off ?

The default is 1 hour.

--vfs-cache-max-age duration         Max age of objects in the cache. (default 1h0m0s)

If you want no age, you'd set it to off and it would work on the size.

Helpful to share the full command /version/ etc and you can get a complete answer :slight_smile:

1 Like