My current media setup explained + question on how to handle upload in the best way.
Optimization of my current rclone mount command.
My current media setup looks like this:
When I get new content I copy my files from my computer to specific folders on my NAS.
The structure is the following
This is my folder where all my movies are in:
/share/CACHEDEV1_DATA/Multimedia/Video/Movies
This is my folder where all my tv shows are in:
/share/CACHEDEV1_DATA/Multimedia/Video/TVShows
I want to automatically have rclone copy any new contents which will come to those folders to my mounted gcrypt remote with the same folder structure.
How do I do that ?
My current rclone mount is still from when I first set rclone up and I never optimized it since then. I want to use rclone mainly for use with Plex so the loadtimes of my files should be blazingly fast. Also I read a lot about vfs instead of cache but I am not sure on how my command would need to look like.
Because of QNAP NAS I need to specify different locations then the default e.g. cache location because otherwise it tried to put the cache files into the extremly small qnap “root” partion.
You could use an rclone sync command to keep two areas in sync and just sync directly to the remote and the mount would pick it up in a 1 minute via normal polling.
When I want to use vfs can I set the location where it puts the buffered files ?
On qnap the problem is that rclone would normally put the buffered stuff into the root directory by default (where also the rclone.conf is stored) and the /root/ directory is on the RAMDISK so space there is very limited and also everything addionally added in the /root/ folder will be gone after reboot (according to qnap support)
Quote from the QNAP Support:
The system is installed on a RAM-disk, so anything added to your /root folder will disappear at reboot.
But I am not sure how my script would need to look like for nightly uploads. I think I need your help with that.
(Hope I could explain myself good enough. Just came home from traveling and I am very exhausted right now. Thats why I am not sure if what I wirte is understandable enough)
With VFS, there is nothing stored locally when a file is played. It’s all used in memory and mainly configured by your buffer-size that you have as that is per file.
Do you keep things locally on the QNAP and the goal is to copy/move them to the cloud?
Oh okay, thank you for the clarification, so my new rclone mount command could look like this ?
rclone mount gcrypt2: /share/CACHEDEV1_DATA/External --allow-other --allow-non-empty --vfs-cache-mode writes --buffer-size 1G --dir-cache-time 72h --drive-chunk-size 32M --log-level INFO --log-file /share/CACHEDEV1_DATA/rclone/rclone.log --umask 002 --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit off
Right now I want to keep things locally on the QNAP and also have them in the cloud. (Because right now I still have free space on the NAS.)
But I would be great to have an additional folder where I can put TV shows and movies in, which I only want to have in the cloud. (So they get deleted once they are on gdrive).