Cloud Setup
Rclone Mergerfs and Google Drive
So you want to become a 'cloud pirate'? You want to store your media in the cloud, but still be able to use the Arrs and Plex? For this guide you will use Google Suite Unlimited Storage or a similar Rclone compatible storage service.
Overview
The first two rules are:
- 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
.
Setup
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