Cloud Setup

From Servarr
Revision as of 16:34, 2 September 2020 by Drazzilb (talk | contribs) (Created page with "== 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 wh...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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