Skip to content

Encrypted RClone Union FS & Move

PhysK edited this page Jan 22, 2020 · 2 revisions

.


(Maintained By - Deiteq)

N

Configure RClone config as Root

Note: This bit can be ignored if using plexguide install

sudo su
rclone config

Configuring RClone

May change due to version | Currently for version 1.38

Part 1 of 3

  • N < For New remote
  • gdrive < for the name
  • 9 < For Google Drive (double check the number select incase)
  • Enter Your Google ID
  • Enter Your Google Secret
  • N < for headless machine #### NOTE: if you're on a VM or the actual machine with an interface (GUI), select Y.
  • Enter Your Verification Code
  • [Json Question] If you see this, leave it blank and press enter!
  • N < Configure this as a team drive?
  • Y < If asking all is ok?

Part 2 of 3

  • This encrypted mount will be used for the move-en.sh to upload stuff to your Google Drive
  • N < For New remote
  • gcrypt < for the name
  • 7 < For Encrypt/Decrypt (double check the number select in case)
  • gdrive:/encrypt (encrypt being the name of the rclone encrypted folder within your gdrive)
  • 2 < Encrypt standard
  • Y < type your own password (make up a secure one and write it down somewhere safe otherwise use the one from before if you already created it for whichever original encrypted folder you want to use)
  • Y < type your own salt password (make up a different secure one and write it down somewhere safe otherwise use the one from before if you already created it for whichever original encrypted folder you want to use)
  • Should see something like this:
[gcrypt]
remote = gdrive:/encrypt
filename_encryption = standard
password = *** ENCRYPTED ***
password2 = *** ENCRYPTED ***
  • Y < If asking all is ok?

Part 3 of 3

  • This encrypted mount will be for unionfs-encrypt.service to avoid bans as it will use plexdrive4
  • N < For New remote
  • crypt < for the name
  • 7 < For Encrypt/Decrypt (double check the number select incase)
  • /mnt/plexdrive4/encrypt (encrypt being the name of the rclone encrypted folder within your gdrive)
  • 2 < Encrypt standard
  • Y < type your own password (use the same password as above for gcrypt)
  • Y < type your own salt password (use the same SALT password as above for gcrypt)
  • Should see something like this:
[crypt]
remote = /mnt/plexdrive4/encrypt
filename_encryption = standard
password = *** ENCRYPTED ***
password2 = *** ENCRYPTED ***
  • Y < If asking all is ok?
  • Q < to quit

*********** It is recommended that you restart after this


For those that are curious:-

  • /mnt/gdrive = Direct link to your Google Drive
  • /mnt/.gcrypt = Direct link to your Encrypted folder on Google Drive
  • /mnt/plexdrive4 = Mount to your Google Drive but with Plexdrive to avoid bans (for use by apps like Plex ) - This is Read-Only
  • /mnt/encrypt = The Encrypted mount with Plexdrive (/mnt/plexdrive4/encrypt) - This is Read-Only
  • /mnt/move = This is the folder that will get it's contents uploaded to your Google Drive (apps like Sonarr & Radarr will place their completed files here)
  • /mnt/unionfs = This is a combination of /mnt/move & /mnt/plexdrive4 or /mnt/encrypt (most apps like Plex should point to this location)

Useful Starter Links

  1. Introduction
  2. G-Suite Signup
  3. Recommended NewsHosts
  4. Change Log

Prior Planning 101

  1. Recommended Pre-Reading
  2. Server - Storage Planning
  3. Usenet or BitTorrent
  4. PTS Editions
  5. PTS Folder Structure
  6. PTS-Repos
  7. Common Issues

Deploy & Config

PTS-Team
  1. SSH Server Access
  2. Install PTS
  3. WatchTower
  4. Remote Path Mappings

Data Transport
  1. PTS Clone
    1. Google OAuth Keys
    2. PTS Move
    3. PTS Blitz
    4. 2nd HD Option

Key Components

  1. Traefik
  2. Port Guard
  3. PTS Shield
  4. PTS Press
  5. Google Cloud - GCE
    1. Automated setup
  6. Hetzner Cloud
  7. PTS Fork
  8. Extra PTS Commands

Blitz App Info

  1. Accessing PTS Apps
  2. App Port Scheme

Tools & Services

Core Apps [Expand]
  1. Emby
  2. Jackett
  3. Jellyfin
  4. LazyLibrarian
  5. Lidarr
  6. Netdata
  7. NZBGet
  8. Ombi
  9. Plex
  10. Portainer
  11. qBittorrent
  12. Radarr
  13. Radarr4k
  14. RadarrHDR
  15. RuTorrent
  16. SABnzbd
  17. Sonarr
  18. Sonarr4k
  19. SonarrHDR
  20. Tautulli
  21. JDownloader2
Community Apps [Expand]
  1. AirSonic
  2. Bazarr
  3. Bitwarden
  4. BookSonic
  5. cAdvisor
  6. Cloud Commander
  7. Deluge
  8. DelugeVPN
  9. Dozzle
  10. Duplicati
  11. Filebrowser
  12. FlexGet
  13. Gazee
  14. Headphones
  15. Heimdall
  16. HomeAssistant
  17. jd2-openvpn
  18. Kitana
  19. Logarr
  20. MakeMKV
  21. MariaDB
  22. McMyadmin
  23. MEDUSA
  24. Mellow
  25. Miniflux
  26. Monitorr
  27. Muximux
  28. Mylar
  29. NextCloud
  30. NowShowing
  31. NZBHydra2
  32. Organizr
  33. plpp
  34. pyLoad
  35. qBittorrent
  36. QBittorrent VPN
  37. radarrsyncarr
  38. Resilio
  39. rflood-openvpn
  40. rutorrent-openvpn
  41. Shoko Anime Server
  42. SpeedTest
  43. SyncLounge
  44. Teamspeak3
  45. The Lounge
  46. Transmission
  47. Trakt.or
  48. Ubooquity
  49. Varken
  50. vnc-xfce
  51. vnstat
  52. ZeroTier

Misc Info & Articles

  1. Change Server Time
  2. Fail2Ban
  3. Custom Containers
  4. Deploying Varken, Influx, Telegraf, Grafana
  5. cloneclean commands
  6. Understanding htop
Scripts
  1. Scripting Area
    1. Auto Upload for Sonarr and Lidarr
    2. Auto Delete Log
    3. Plex Plugin DB Backup
    4. Plex fast BACKUP
    5. Delete All Unmonitored from Radarr
Clone this wiki locally