Hi. I could really use some advice.
What I want to do is the following:
I want to mount a Rclone VFS folder, which contains both files stored on Gdrive and on my local NAS.
I want sonarr/radarr to write files to the mount directly, but not upload the files to gdrive until after they’ve been in the folder a month. I want the software to access the files in the same folder, regardless of the file has been uploaded or not.
Plex will be directed to the same folder as well.
So all my files would be stored in this folder, but only 1 month old files are actually uploaded and stored on gdrive. Basically merging the gdrive folders remotely and the local files in the same folder.
Is this possible?
I have my Rclone vfs configured with the options as follows:
Basically, I want this: https://github.com/ncw/rclone/issues/2327
Is this possible some other way yet?
I ended up solving it myself.
For future reference I ended up using Unionfs to merge the folders, with the local folders being the top branch.
An example of a mount command looks like this:
unionfs -o allow_other,cow /mnt/user/Movies=RW:/mnt/disks/gdrive/movies=RO /mnt/disks/moviesunion &
If anyone hits a similar problem, be free to asks questions.
A good solution. You could probably do this with rclone now too with the union backend
That looks really interesting. Is it possible to mount that union using the same variables as a crypt (or other) mount?
mkdir -p /mnt/disks/union
union: /mnt/disks/union &
Sure that should work fine.