Difference between revisions of "Cloud Setup"

From Servarr
Line 22: Line 22:
 
<code>/local/{usenet|torrents}/{tv/movies}</code> // this is where downloads should be dropped to
 
<code>/local/{usenet|torrents}/{tv/movies}</code> // this is where downloads should be dropped to
  
/cloud/ //this is your rclone crypt mount (if going cyprt) or GDrive Mount /cloud/media //this is your media folder in Gdrive
+
<code>/cloud/</code> //this is your rclone crypt mount (if going cyprt) or GDrive Mount /cloud/media //this is your media folder in Gdrive
  
 
<code>/merge/</code> //is /cloud merged into /local/ using mergerfs
 
<code>/merge/</code> //is /cloud merged into /local/ using mergerfs

Revision as of 16:44, 2 September 2020

Rclone/Mergerfs/Gdrive

Overview

  • Don't download into your gdrive.
  • Don't import to your gdrive.

Instead, setup a /merge w/ mergerfs that has some /local storage where downloads and imports will live, merge that with your /cloud and use the mergerfs create policy of ff or epff.

Set up

Set your download client to download to say /merge/usenet/{tv|movies} and your library to say /merge/media/{TV|Movies}. Then what happens is the download is local, the import is local. And it all looks like it is in the same place. In the background, you have a cron or systemd timer that does rsync move from your local storage to your cloud storage. You can rotate service accounts if needed. It is also way more efficient at uploading vs. just the rclone mount.

The cloud mount allows sonarr/radarr to delete, rename and read stuff, but big writes don't need to go right to cloud.

If you do get rate limited, it won't impact your imports because they're all local.

/local/media/{tv|movies} //this is where ARR imports to.
/local/{usenet|torrents}/{tv/movies} // this is where downloads should be dropped to

/cloud/ //this is your rclone crypt mount (if going cyprt) or GDrive Mount /cloud/media //this is your media folder in Gdrive

/merge/ //is /cloud merged into /local/ using mergerfs

/merge/media/{tv|movies} //point plex and ARRs here as library/root folder

and setup remote path in ARR to say remote /local/ is the same as remote /merge/

Files will be downloaded into local and then imported into /local/media/ on a scheduled basis an rclone job would be created to move from local to gdrive so they will then automatically appear in cloud and it'll be like they never left merge